# Certificate Manager V1 API - Class Google::Cloud::CertificateManager::V1::CreateCertificateRequest (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::CreateCertificateRequest.

Request for the `CreateCertificate` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #certificate

    def certificate() -> ::Google::Cloud::CertificateManager::V1::Certificate

**Returns**

- ([::Google::Cloud::CertificateManager::V1::Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-Certificate)) --- Required. A definition of the certificate to create.

### #certificate=

    def certificate=(value) -> ::Google::Cloud::CertificateManager::V1::Certificate

**Parameter**

- **value** ([::Google::Cloud::CertificateManager::V1::Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-Certificate)) --- Required. A definition of the certificate to create.
**Returns**

- ([::Google::Cloud::CertificateManager::V1::Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-Certificate)) --- Required. A definition of the certificate to create.

### #certificate_id

    def certificate_id() -> ::String

**Returns**

- (::String) --- Required. A user-provided name of the certificate.

### #certificate_id=

    def certificate_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. A user-provided name of the certificate.
**Returns**

- (::String) --- Required. A user-provided name of the certificate.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource of the certificate. Must be in the format `projects/*/locations/*`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource of the certificate. Must be in the format `projects/*/locations/*`.
**Returns**

- (::String) --- Required. The parent resource of the certificate. Must be in the format `projects/*/locations/*`.