Google Cloud Certificate Manager V1 Client - Class ManagedCertificate (0.4.2)

Reference documentation and code samples for the Google Cloud Certificate Manager V1 Client class 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.

Generated from protobuf message google.cloud.certificatemanager.v1.Certificate.ManagedCertificate

Namespace

Google \ Cloud \ CertificateManager \ V1 \ Certificate

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ domains array

Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.

↳ dns_authorizations array

Immutable. Authorizations that will be used for performing domain authorization.

↳ issuance_config string

Immutable. The resource name for a CertificateIssuanceConfig 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.

↳ state int

Output only. State of the managed certificate resource.

↳ provisioning_issue Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\ProvisioningIssue

Output only. Information about issues with provisioning a Managed Certificate.

↳ authorization_attempt_info array<Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\AuthorizationAttemptInfo>

Output only. Detailed state of the latest authorization attempt for each domain specified for managed certificate resource.

getDomains

Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDomains

Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getDnsAuthorizations

Immutable. Authorizations that will be used for performing domain authorization.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDnsAuthorizations

Immutable. Authorizations that will be used for performing domain authorization.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getIssuanceConfig

Immutable. The resource name for a CertificateIssuanceConfig 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
TypeDescription
string

setIssuanceConfig

Immutable. The resource name for a CertificateIssuanceConfig 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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Output only. State of the managed certificate resource.

Returns
TypeDescription
int

setState

Output only. State of the managed certificate resource.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getProvisioningIssue

Output only. Information about issues with provisioning a Managed Certificate.

Returns
TypeDescription
Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\ProvisioningIssue|null

hasProvisioningIssue

clearProvisioningIssue

setProvisioningIssue

Output only. Information about issues with provisioning a Managed Certificate.

Parameter
NameDescription
var Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\ProvisioningIssue
Returns
TypeDescription
$this

getAuthorizationAttemptInfo

Output only. Detailed state of the latest authorization attempt for each domain specified for managed certificate resource.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAuthorizationAttemptInfo

Output only. Detailed state of the latest authorization attempt for each domain specified for managed certificate resource.

Parameter
NameDescription
var array<Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\AuthorizationAttemptInfo>
Returns
TypeDescription
$this