# App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::CertificateRawData (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::CertificateRawData.

An SSL certificate obtained from a certificate authority.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #private_key

    def private_key() -> ::String

**Returns**

- (::String) --- Unencrypted PEM encoded RSA private key. This field is set once on
  certificate creation and then encrypted. The key size must be 2048
  bits or fewer. Must include the header and footer. Example:

  ```
  ---BEGIN RSA PRIVATE KEY---
  ```

### #private_key=

    def private_key=(value) -> ::String

**Parameter**

- **value** (::String) ---

  Unencrypted PEM encoded RSA private key. This field is set once on
  certificate creation and then encrypted. The key size must be 2048
  bits or fewer. Must include the header and footer. Example:

  ```
  ---BEGIN RSA PRIVATE KEY---
  ```
**Returns**

- (::String) --- Unencrypted PEM encoded RSA private key. This field is set once on
  certificate creation and then encrypted. The key size must be 2048
  bits or fewer. Must include the header and footer. Example:

  ```
  ---BEGIN RSA PRIVATE KEY---
  ```

### #public_certificate

    def public_certificate() -> ::String

**Returns**

- (::String) --- PEM encoded x.509 public key certificate. This field is set once on
  certificate creation. Must include the header and footer. Example:

  ```
  ---BEGIN CERTIFICATE---
  ```

### #public_certificate=

    def public_certificate=(value) -> ::String

**Parameter**

- **value** (::String) ---

  PEM encoded x.509 public key certificate. This field is set once on
  certificate creation. Must include the header and footer. Example:

  ```
  ---BEGIN CERTIFICATE---
  ```
**Returns**

- (::String) --- PEM encoded x.509 public key certificate. This field is set once on
  certificate creation. Must include the header and footer. Example:

  ```
  ---BEGIN CERTIFICATE---
  ```