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

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
Name Description
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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this

getDnsAuthorizations

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDnsAuthorizations

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

Parameter
Name Description
var string[]
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getState

Output only. State of the managed certificate resource.

Returns
Type Description
int

setState

Output only. State of the managed certificate resource.

Parameter
Name Description
var int
Returns
Type Description
$this

getProvisioningIssue

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

Returns
Type Description
Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\ProvisioningIssue|null

hasProvisioningIssue

clearProvisioningIssue

setProvisioningIssue

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

Parameter
Name Description
var Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\ProvisioningIssue
Returns
Type Description
$this

getAuthorizationAttemptInfo

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAuthorizationAttemptInfo

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

Parameter
Name Description
var array<Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\AuthorizationAttemptInfo>
Returns
Type Description
$this