v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13183862.0 KB
projects

Creates a new Certificate in a given project and location.

post/v1/{+parent}/certificates

Path parameters

parentstring required

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

Query parameters

certificateIdstring

Required. A user-provided name of the certificate.

Request body

sanDnsnamesstring[]

Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.

expireTimestring google-datetime

Output only. The expiry timestamp of a Certificate.

labelsobject

Optional. Set of labels associated with a Certificate.

createTimestring google-datetime

Output only. The creation timestamp of a Certificate.

updateTimestring google-datetime

Output only. The last update timestamp of a Certificate.

pemCertificatestring

Output only. The PEM-encoded certificate chain.

scope'DEFAULT' | 'EDGE_CACHE' | 'ALL_REGIONS' | 'CLIENT_AUTH'

Optional. Immutable. The scope of the certificate.

descriptionstring

Optional. One or more paragraphs of text description of a certificate.

tagsobject

Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"

namestring

Identifier. A user-defined name of the certificate. Certificate names must be unique globally and match pattern projects/*/locations/*/certificates/*.

Response

Successful response