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

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
NameDescription
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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCertificateId

Required. A user-provided name of the certificate.

Returns
TypeDescription
string

setCertificateId

Required. A user-provided name of the certificate.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCertificate

Required. A definition of the certificate to create.

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

hasCertificate

clearCertificate

setCertificate

Required. A definition of the certificate to create.

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

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\CertificateManager\V1\CreateCertificateRequest