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

Configuration and state of a Managed Certificate.
Certificate Manager provisions and renews Managed Certificates
automatically, for as long as it's authorized to do so.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #authorization_attempt_info

    def authorization_attempt_info() -> ::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo>

**Returns**

- (::Array\<[::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-Certificate-ManagedCertificate-AuthorizationAttemptInfo)\>) --- Output only. Detailed state of the latest authorization attempt for each domain specified for managed certificate resource.

### #dns_authorizations

    def dns_authorizations() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Immutable. Authorizations that will be used for performing domain authorization.

### #dns_authorizations=

    def dns_authorizations=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Immutable. Authorizations that will be used for performing domain authorization.
**Returns**

- (::Array\<::String\>) --- Immutable. Authorizations that will be used for performing domain authorization.

### #domains

    def domains() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.

### #domains=

    def domains=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.
**Returns**

- (::Array\<::String\>) --- Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.

### #issuance_config

    def issuance_config() -> ::String

**Returns**

- (::String) --- Immutable. The resource name for a [CertificateIssuanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-CertificateIssuanceConfig "Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig (class)") used to configure private PKI certificates in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.

### #issuance_config=

    def issuance_config=(value) -> ::String

**Parameter**

- **value** (::String) --- Immutable. The resource name for a [CertificateIssuanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-CertificateIssuanceConfig "Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig (class)") used to configure private PKI certificates in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
**Returns**

- (::String) --- Immutable. The resource name for a [CertificateIssuanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-CertificateIssuanceConfig "Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig (class)") used to configure private PKI certificates in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.

### #provisioning_issue

    def provisioning_issue() -> ::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue

**Returns**

- ([::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-Certificate-ManagedCertificate-ProvisioningIssue)) --- Output only. Information about issues with provisioning a Managed Certificate.

### #state

    def state() -> ::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State

**Returns**

- ([::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-Certificate-ManagedCertificate-State)) --- Output only. State of the managed certificate resource.