Google Cloud Certificate Manager V1 Client - Class CreateCertificateRequest (1.0.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
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 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
Certificate|null

hasCertificate

clearCertificate

setCertificate

Required. A definition of the certificate to create.

Parameter
Name Description
var 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 CertificateManagerClient::locationName() for help formatting this field.

certificate Certificate

Required. A definition of the certificate to create.

certificateId string

Required. A user-provided name of the certificate.

Returns
Type Description
CreateCertificateRequest