# Certificate Manager V1 API - Class Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate (v1.5.0)

1.5.0 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.12.0 0.11.0 0.10.1 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.2 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Certificate Manager V1 API class Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate.

Certificate data for a SelfManaged Certificate.
SelfManaged Certificates are uploaded by the user. Updating such
certificates before they expire remains the user's responsibility.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #pem_certificate

    def pem_certificate() -> ::String

**Returns**

- (::String) --- Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any.

### #pem_certificate=

    def pem_certificate=(value) -> ::String

**Parameter**

- **value** (::String) --- Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any.
**Returns**

- (::String) --- Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any.

### #pem_private_key

    def pem_private_key() -> ::String

**Returns**

- (::String) --- Input only. The PEM-encoded private key of the leaf certificate.

### #pem_private_key=

    def pem_private_key=(value) -> ::String

**Parameter**

- **value** (::String) --- Input only. The PEM-encoded private key of the leaf certificate.
**Returns**

- (::String) --- Input only. The PEM-encoded private key of the leaf certificate.