Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class CertificateRawData.
An SSL certificate obtained from a certificate authority.
Generated from protobuf messagegoogle.appengine.v1.CertificateRawData
Namespace
Google \ Cloud \ AppEngine \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ public_certificate
string
PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example:
-----BEGIN CERTIFICATE-----
↳ private_key
string
Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example:
-----BEGIN RSA PRIVATE KEY-----
@InputOnly
getPublicCertificate
PEM encoded x.509 public key certificate. This field is set once on
certificate creation. Must include the header and footer. Example:
-----BEGIN CERTIFICATE-----
Returns
Type
Description
string
setPublicCertificate
PEM encoded x.509 public key certificate. This field is set once on
certificate creation. Must include the header and footer. Example:
-----BEGIN CERTIFICATE-----
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPrivateKey
Unencrypted PEM encoded RSA private key. This field is set once on
certificate creation and then encrypted. The key size must be 2048
bits or fewer. Must include the header and footer. Example:
-----BEGIN RSA PRIVATE KEY-----
@InputOnly
Returns
Type
Description
string
setPrivateKey
Unencrypted PEM encoded RSA private key. This field is set once on
certificate creation and then encrypted. The key size must be 2048
bits or fewer. Must include the header and footer. Example:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Appengine Admin V1 Client - Class CertificateRawData (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-appengine-admin/latest/V1.CertificateRawData)\n- [2.0.3](/php/docs/reference/cloud-appengine-admin/2.0.3/V1.CertificateRawData)\n- [1.3.5](/php/docs/reference/cloud-appengine-admin/1.3.5/V1.CertificateRawData)\n- [1.2.2](/php/docs/reference/cloud-appengine-admin/1.2.2/V1.CertificateRawData)\n- [1.1.1](/php/docs/reference/cloud-appengine-admin/1.1.1/V1.CertificateRawData)\n- [1.0.6](/php/docs/reference/cloud-appengine-admin/1.0.6/V1.CertificateRawData) \nReference documentation and code samples for the Google Cloud Appengine Admin V1 Client class CertificateRawData.\n\nAn SSL certificate obtained from a certificate authority.\n\nGenerated from protobuf message `google.appengine.v1.CertificateRawData`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AppEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPublicCertificate\n\nPEM encoded x.509 public key certificate. This field is set once on\ncertificate creation. Must include the header and footer. Example: \n\n```\n-----BEGIN CERTIFICATE-----\n```\n\n### setPublicCertificate\n\nPEM encoded x.509 public key certificate. This field is set once on\ncertificate creation. Must include the header and footer. Example: \n\n```\n-----BEGIN CERTIFICATE-----\n```\n\n### getPrivateKey\n\nUnencrypted PEM encoded RSA private key. This field is set once on\ncertificate creation and then encrypted. The key size must be 2048\nbits or fewer. Must include the header and footer. Example: \n\n```\n-----BEGIN RSA PRIVATE KEY-----\n```\n\n@InputOnly\n\n### setPrivateKey\n\nUnencrypted PEM encoded RSA private key. This field is set once on\ncertificate creation and then encrypted. The key size must be 2048\nbits or fewer. Must include the header and footer. Example: \n\n```\n-----BEGIN RSA PRIVATE KEY-----\n```\n\n@InputOnly"]]