Google Cloud Certificate Manager V1 Client - Class CreateCertificateRequest (1.0.0)

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

Request for the CreateCertificate method.

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

Namespace

Google \ Cloud \ CertificateManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource of the certificate. Must be in the format projects/*/locations/*.

↳ certificate_id string

Required. A user-provided name of the certificate.

↳ certificate Google\Cloud\CertificateManager\V1\Certificate

Required. A definition of the certificate to create.

getParent

Required. The parent resource of the certificate. Must be in the format projects/*/locations/*.

Returns
Type Description
string

setParent

Required. The parent resource of the certificate. Must be in the format projects/*/locations/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getCertificateId

Required. A user-provided name of the certificate.

Returns
Type Description
string

setCertificateId

Required. A user-provided name of the certificate.

Parameter
Name Description
var string
Returns
Type Description
$this

getCertificate

Required. A definition of the certificate to create.

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

hasCertificate

clearCertificate

setCertificate

Required. A definition of the certificate to create.

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

static::build

Parameters
Name Description
parent string

Required. The parent resource of the certificate. Must be in the format projects/*/locations/*. Please see Google\Cloud\CertificateManager\V1\CertificateManagerClient::locationName() for help formatting this field.

certificate Google\Cloud\CertificateManager\V1\Certificate

Required. A definition of the certificate to create.

certificateId string

Required. A user-provided name of the certificate.

Returns
Type Description
Google\Cloud\CertificateManager\V1\CreateCertificateRequest