Google Cloud Certificate Manager V1 Client - Class CertificateIssuanceConfig (1.0.0-RC1)

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
Name Description
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
Type Description
string

setName

A user-defined name of the certificate issuance config.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The creation timestamp of a CertificateIssuanceConfig.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The creation timestamp of a CertificateIssuanceConfig.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The last update timestamp of a CertificateIssuanceConfig.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The last update timestamp of a CertificateIssuanceConfig.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLabels

Set of labels associated with a CertificateIssuanceConfig.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Set of labels associated with a CertificateIssuanceConfig.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getDescription

One or more paragraphs of text description of a CertificateIssuanceConfig.

Returns
Type Description
string

setDescription

One or more paragraphs of text description of a CertificateIssuanceConfig.

Parameter
Name Description
var string
Returns
Type Description
$this

getCertificateAuthorityConfig

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

Returns
Type Description
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
Name Description
var Google\Cloud\CertificateManager\V1\CertificateIssuanceConfig\CertificateAuthorityConfig
Returns
Type Description
$this

getLifetime

Required. Workload certificate lifetime requested.

Returns
Type Description
Google\Protobuf\Duration|null

hasLifetime

clearLifetime

setLifetime

Required. Workload certificate lifetime requested.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$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
Type Description
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
Name Description
var int
Returns
Type Description
$this

getKeyAlgorithm

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

Returns
Type Description
int

setKeyAlgorithm

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

Parameter
Name Description
var int
Returns
Type Description
$this