# Certificate Authority Service V1beta1 API - Class Google::Cloud::Security::PrivateCA::V1beta1::KeyUsage::ExtendedKeyUsageOptions (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::KeyUsage::ExtendedKeyUsageOptions.

[KeyUsage.ExtendedKeyUsageOptions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-KeyUsage-ExtendedKeyUsageOptions "Google::Cloud::Security::PrivateCA::V1beta1::KeyUsage::ExtendedKeyUsageOptions (class)") has fields that correspond to
certain common OIDs that could be specified as an extended key usage value.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #client_auth

    def client_auth() -> ::Boolean

**Returns**

- (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.

### #client_auth=

    def client_auth=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.
**Returns**

- (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.

### #code_signing

    def code_signing() -> ::Boolean

**Returns**

- (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".

### #code_signing=

    def code_signing=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".
**Returns**

- (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".

### #email_protection

    def email_protection() -> ::Boolean

**Returns**

- (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".

### #email_protection=

    def email_protection=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".
**Returns**

- (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".

### #ocsp_signing

    def ocsp_signing() -> ::Boolean

**Returns**

- (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".

### #ocsp_signing=

    def ocsp_signing=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".
**Returns**

- (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".

### #server_auth

    def server_auth() -> ::Boolean

**Returns**

- (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.

### #server_auth=

    def server_auth=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.
**Returns**

- (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.

### #time_stamping

    def time_stamping() -> ::Boolean

**Returns**

- (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".

### #time_stamping=

    def time_stamping=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".
**Returns**

- (::Boolean) --- Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".