# Certificate Authority Service V1beta1 API - Class Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy (v0.18.0)

0.18.0 (latest) 0.17.1 0.16.0 0.15.1 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the Certificate Authority Service V1beta1 API class Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy.

The issuing policy for a [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)").
[Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") will not be successfully issued from this
[CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") if they violate the policy.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allowed_common_names

    def allowed_common_names() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Optional. If any value is specified here, then all [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") must match at least one listed value. If no value is specified, all values will be allowed for this fied. Glob patterns are also supported.

### #allowed_common_names=

    def allowed_common_names=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Optional. If any value is specified here, then all [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") must match at least one listed value. If no value is specified, all values will be allowed for this fied. Glob patterns are also supported.
**Returns**

- (::Array\<::String\>) --- Optional. If any value is specified here, then all [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") must match at least one listed value. If no value is specified, all values will be allowed for this fied. Glob patterns are also supported.

### #allowed_config_list

    def allowed_config_list() -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedConfigList

**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedConfigList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-AllowedConfigList)) --- Optional. All [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") must match at least one listed [ReusableConfigWrapper](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-ReusableConfigWrapper "Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper (class)") in the list.


  Note: The following fields are mutually exclusive: `allowed_config_list`, `overwrite_config_values`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #allowed_config_list=

    def allowed_config_list=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedConfigList

**Parameter**

- **value** ([::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedConfigList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-AllowedConfigList)) --- Optional. All [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") must match at least one listed [ReusableConfigWrapper](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-ReusableConfigWrapper "Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper (class)") in the list.


  Note: The following fields are mutually exclusive: `allowed_config_list`, `overwrite_config_values`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedConfigList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-AllowedConfigList)) --- Optional. All [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") must match at least one listed [ReusableConfigWrapper](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-ReusableConfigWrapper "Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper (class)") in the list.


  Note: The following fields are mutually exclusive: `allowed_config_list`, `overwrite_config_values`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #allowed_issuance_modes

    def allowed_issuance_modes() -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::IssuanceModes

**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::IssuanceModes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-IssuanceModes)) --- Optional. If specified, then only methods allowed in the [IssuanceModes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-IssuanceModes "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::IssuanceModes (class)") may be used to issue [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)").

### #allowed_issuance_modes=

    def allowed_issuance_modes=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::IssuanceModes

**Parameter**

- **value** ([::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::IssuanceModes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-IssuanceModes)) --- Optional. If specified, then only methods allowed in the [IssuanceModes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-IssuanceModes "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::IssuanceModes (class)") may be used to issue [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)").
**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::IssuanceModes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-IssuanceModes)) --- Optional. If specified, then only methods allowed in the [IssuanceModes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-IssuanceModes "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::IssuanceModes (class)") may be used to issue [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)").

### #allowed_locations_and_organizations

    def allowed_locations_and_organizations() -> ::Array<::Google::Cloud::Security::PrivateCA::V1beta1::Subject>

**Returns**

- (::Array\<[::Google::Cloud::Security::PrivateCA::V1beta1::Subject](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Subject)\>) --- Optional. If any [Subject](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Subject "Google::Cloud::Security::PrivateCA::V1beta1::Subject (class)") is specified here, then all [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") must match at least one listed [Subject](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Subject "Google::Cloud::Security::PrivateCA::V1beta1::Subject (class)"). If a [Subject](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Subject "Google::Cloud::Security::PrivateCA::V1beta1::Subject (class)") has an empty field, any value will be allowed for that field.

### #allowed_locations_and_organizations=

    def allowed_locations_and_organizations=(value) -> ::Array<::Google::Cloud::Security::PrivateCA::V1beta1::Subject>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Security::PrivateCA::V1beta1::Subject](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Subject)\>) --- Optional. If any [Subject](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Subject "Google::Cloud::Security::PrivateCA::V1beta1::Subject (class)") is specified here, then all [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") must match at least one listed [Subject](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Subject "Google::Cloud::Security::PrivateCA::V1beta1::Subject (class)"). If a [Subject](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Subject "Google::Cloud::Security::PrivateCA::V1beta1::Subject (class)") has an empty field, any value will be allowed for that field.
**Returns**

- (::Array\<[::Google::Cloud::Security::PrivateCA::V1beta1::Subject](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Subject)\>) --- Optional. If any [Subject](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Subject "Google::Cloud::Security::PrivateCA::V1beta1::Subject (class)") is specified here, then all [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") must match at least one listed [Subject](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Subject "Google::Cloud::Security::PrivateCA::V1beta1::Subject (class)"). If a [Subject](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Subject "Google::Cloud::Security::PrivateCA::V1beta1::Subject (class)") has an empty field, any value will be allowed for that field.

### #allowed_sans

    def allowed_sans() -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames

**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-AllowedSubjectAltNames)) --- Optional. If a [AllowedSubjectAltNames](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-AllowedSubjectAltNames "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames (class)") is specified here, then all [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") must match [AllowedSubjectAltNames](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-AllowedSubjectAltNames "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames (class)"). If no value or an empty value is specified, any value will be allowed for the [SubjectAltNames](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-SubjectAltNames "Google::Cloud::Security::PrivateCA::V1beta1::SubjectAltNames (class)") field.

### #allowed_sans=

    def allowed_sans=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames

**Parameter**

- **value** ([::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-AllowedSubjectAltNames)) --- Optional. If a [AllowedSubjectAltNames](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-AllowedSubjectAltNames "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames (class)") is specified here, then all [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") must match [AllowedSubjectAltNames](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-AllowedSubjectAltNames "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames (class)"). If no value or an empty value is specified, any value will be allowed for the [SubjectAltNames](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-SubjectAltNames "Google::Cloud::Security::PrivateCA::V1beta1::SubjectAltNames (class)") field.
**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-AllowedSubjectAltNames)) --- Optional. If a [AllowedSubjectAltNames](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-AllowedSubjectAltNames "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames (class)") is specified here, then all [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") must match [AllowedSubjectAltNames](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority-CertificateAuthorityPolicy-AllowedSubjectAltNames "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames (class)"). If no value or an empty value is specified, any value will be allowed for the [SubjectAltNames](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-SubjectAltNames "Google::Cloud::Security::PrivateCA::V1beta1::SubjectAltNames (class)") field.

### #maximum_lifetime

    def maximum_lifetime() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Protobuf-Duration)) --- Optional. The maximum lifetime allowed by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)"). Note that if the any part if the issuing chain expires before a [Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)")'s requested maximum_lifetime, the effective lifetime will be explicitly truncated.

### #maximum_lifetime=

    def maximum_lifetime=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Protobuf-Duration)) --- Optional. The maximum lifetime allowed by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)"). Note that if the any part if the issuing chain expires before a [Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)")'s requested maximum_lifetime, the effective lifetime will be explicitly truncated.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Protobuf-Duration)) --- Optional. The maximum lifetime allowed by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)"). Note that if the any part if the issuing chain expires before a [Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)")'s requested maximum_lifetime, the effective lifetime will be explicitly truncated.

### #overwrite_config_values

    def overwrite_config_values() -> ::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper

**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-ReusableConfigWrapper)) --- Optional. All [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") will use the provided configuration values, overwriting any requested configuration values.


  Note: The following fields are mutually exclusive: `overwrite_config_values`, `allowed_config_list`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #overwrite_config_values=

    def overwrite_config_values=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper

**Parameter**

- **value** ([::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-ReusableConfigWrapper)) --- Optional. All [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") will use the provided configuration values, overwriting any requested configuration values.


  Note: The following fields are mutually exclusive: `overwrite_config_values`, `allowed_config_list`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-ReusableConfigWrapper)) --- Optional. All [Certificates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") issued by the [CertificateAuthority](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateAuthority "Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (class)") will use the provided configuration values, overwriting any requested configuration values.


  Note: The following fields are mutually exclusive: `overwrite_config_values`, `allowed_config_list`. If a field in that set is populated, all other fields in the set will automatically be cleared.