Google Cloud Certificate Manager V1 Client - Class CertificateIssuanceConfig (0.5.2)

Reference documentation and code samples for the Google Cloud Certificate Manager V1 Client class CertificateIssuanceConfig.

CertificateIssuanceConfig specifies how to issue and manage a certificate.

Generated from protobuf message google.cloud.certificatemanager.v1.CertificateIssuanceConfig

Namespace

Google \ Cloud \ CertificateManager \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern projects/*/locations/*/certificateIssuanceConfigs/*.

↳ create_time Google\Protobuf\Timestamp

Output only. The creation timestamp of a CertificateIssuanceConfig.

↳ update_time Google\Protobuf\Timestamp

Output only. The last update timestamp of a CertificateIssuanceConfig.

↳ labels array|Google\Protobuf\Internal\MapField

Set of labels associated with a CertificateIssuanceConfig.

↳ description string

One or more paragraphs of text description of a CertificateIssuanceConfig.

↳ certificate_authority_config Google\Cloud\CertificateManager\V1\CertificateIssuanceConfig\CertificateAuthorityConfig

Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.

↳ lifetime Google\Protobuf\Duration

Required. Workload certificate lifetime requested.

↳ rotation_window_percentage int

Required. Specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate. Must be a number between 1-99, inclusive.

↳ key_algorithm int

Required. The key algorithm to use when generating the private key.

getName

A user-defined name of the certificate issuance config.

CertificateIssuanceConfig names must be unique globally and match pattern projects/*/locations/*/certificateIssuanceConfigs/*.

Returns
TypeDescription
string

setName

A user-defined name of the certificate issuance config.

CertificateIssuanceConfig names must be unique globally and match pattern projects/*/locations/*/certificateIssuanceConfigs/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The creation timestamp of a CertificateIssuanceConfig.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The creation timestamp of a CertificateIssuanceConfig.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The last update timestamp of a CertificateIssuanceConfig.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The last update timestamp of a CertificateIssuanceConfig.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLabels

Set of labels associated with a CertificateIssuanceConfig.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Set of labels associated with a CertificateIssuanceConfig.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getDescription

One or more paragraphs of text description of a CertificateIssuanceConfig.

Returns
TypeDescription
string

setDescription

One or more paragraphs of text description of a CertificateIssuanceConfig.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCertificateAuthorityConfig

Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.

Returns
TypeDescription
Google\Cloud\CertificateManager\V1\CertificateIssuanceConfig\CertificateAuthorityConfig|null

hasCertificateAuthorityConfig

clearCertificateAuthorityConfig

setCertificateAuthorityConfig

Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.

Parameter
NameDescription
var Google\Cloud\CertificateManager\V1\CertificateIssuanceConfig\CertificateAuthorityConfig
Returns
TypeDescription
$this

getLifetime

Required. Workload certificate lifetime requested.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasLifetime

clearLifetime

setLifetime

Required. Workload certificate lifetime requested.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getRotationWindowPercentage

Required. Specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate. Must be a number between 1-99, inclusive.

Returns
TypeDescription
int

setRotationWindowPercentage

Required. Specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate. Must be a number between 1-99, inclusive.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getKeyAlgorithm

Required. The key algorithm to use when generating the private key.

Returns
TypeDescription
int

setKeyAlgorithm

Required. The key algorithm to use when generating the private key.

Parameter
NameDescription
var int
Returns
TypeDescription
$this