# Certificate Authority Service V1 API - Class Google::Cloud::Security::PrivateCA::V1::X509Parameters::CaOptions (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.1 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.6 Reference documentation and code samples for the Certificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::X509Parameters::CaOptions.

Describes the X.509 basic constraints extension, per [RFC 5280
section 4.2.1.9](https://tools.ietf.org/html/rfc5280#section-4.2.1.9)

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #is_ca

    def is_ca() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Refers to the "CA" boolean field in the X.509 extension. When this value is missing, the basic constraints extension will be omitted from the certificate.

### #is_ca=

    def is_ca=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Refers to the "CA" boolean field in the X.509 extension. When this value is missing, the basic constraints extension will be omitted from the certificate.
**Returns**

- (::Boolean) --- Optional. Refers to the "CA" boolean field in the X.509 extension. When this value is missing, the basic constraints extension will be omitted from the certificate.

### #max_issuer_path_length

    def max_issuer_path_length() -> ::Integer

**Returns**

- (::Integer) --- Optional. Refers to the path length constraint field in the X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the certificate.

### #max_issuer_path_length=

    def max_issuer_path_length=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. Refers to the path length constraint field in the X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the certificate.
**Returns**

- (::Integer) --- Optional. Refers to the path length constraint field in the X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the certificate.