Protobuf type google.cloud.security.privateca.v1.SubjectRequestMode
Namespace
Google \ Cloud \ Security \ PrivateCA \ V1
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
SUBJECT_REQUEST_MODE_UNSPECIFIED
Value: 0
Not specified.
Generated from protobuf enum SUBJECT_REQUEST_MODE_UNSPECIFIED = 0;
PBDEFAULT
Value: 1
The default mode used in most cases. Indicates that the certificate's
Subject and/or
SubjectAltNames are
specified in the certificate request. This mode requires the caller to have
the privateca.certificates.create permission.
Generated from protobuf enum DEFAULT = 1;
RDN_SEQUENCE
Value: 3
A mode used to get an accurate representation of the Subject
field's distinguished name. Indicates that the certificate's
Subject and/or
SubjectAltNames are
specified in the certificate request. When parsing a PEM CSR this mode will
maintain the sequence of RDNs found in the CSR's subject field in the
issued Certificate. This
mode requires the caller to have the privateca.certificates.create
permission.
Generated from protobuf enum RDN_SEQUENCE = 3;
REFLECTED_SPIFFE
Value: 2
A mode reserved for special cases. Indicates that the certificate should
have one SPIFFE
SubjectAltNames set
by the service based on the caller's identity. This mode will ignore any
explicitly specified Subject
and/or
SubjectAltNames in
the certificate request. This mode requires the caller to have the
privateca.certificates.createForSelf permission.
Generated from protobuf enum REFLECTED_SPIFFE = 2;
[[["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 Certificate Authority Service V1 Client - Class SubjectRequestMode (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-security-private-ca/latest/V1.SubjectRequestMode)\n- [2.1.0](/php/docs/reference/cloud-security-private-ca/2.1.0/V1.SubjectRequestMode)\n- [2.0.3](/php/docs/reference/cloud-security-private-ca/2.0.3/V1.SubjectRequestMode)\n- [1.7.3](/php/docs/reference/cloud-security-private-ca/1.7.3/V1.SubjectRequestMode)\n- [1.5.0](/php/docs/reference/cloud-security-private-ca/1.5.0/V1.SubjectRequestMode)\n- [1.4.2](/php/docs/reference/cloud-security-private-ca/1.4.2/V1.SubjectRequestMode)\n- [1.3.1](/php/docs/reference/cloud-security-private-ca/1.3.1/V1.SubjectRequestMode)\n- [1.2.2](/php/docs/reference/cloud-security-private-ca/1.2.2/V1.SubjectRequestMode)\n- [1.1.0](/php/docs/reference/cloud-security-private-ca/1.1.0/V1.SubjectRequestMode)\n- [1.0.3](/php/docs/reference/cloud-security-private-ca/1.0.3/V1.SubjectRequestMode) \nReference documentation and code samples for the Google Certificate Authority Service V1 Client class SubjectRequestMode.\n\nDescribes the way in which a\n[Certificate](/php/docs/reference/cloud-security-private-ca/latest/V1.Certificate)'s\n[Subject](/php/docs/reference/cloud-security-private-ca/latest/V1.Subject) and/or\n[SubjectAltNames](/php/docs/reference/cloud-security-private-ca/latest/V1.SubjectAltNames) will be\nresolved.\n\nProtobuf type `google.cloud.security.privateca.v1.SubjectRequestMode`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Security \\\\ PrivateCA \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### SUBJECT_REQUEST_MODE_UNSPECIFIED\n\n Value: 0\n\nNot specified.\n\nGenerated from protobuf enum `SUBJECT_REQUEST_MODE_UNSPECIFIED = 0;`\n\n### PBDEFAULT\n\n Value: 1\n\nThe default mode used in most cases. Indicates that the certificate's\n[Subject](/php/docs/reference/cloud-security-private-ca/latest/V1.Subject) and/or\n[SubjectAltNames](/php/docs/reference/cloud-security-private-ca/latest/V1.SubjectAltNames) are\nspecified in the certificate request. This mode requires the caller to have\nthe `privateca.certificates.create` permission.\n\nGenerated from protobuf enum `DEFAULT = 1;`\n\n### RDN_SEQUENCE\n\n Value: 3\n\nA mode used to get an accurate representation of the Subject\nfield's distinguished name. Indicates that the certificate's\n[Subject](/php/docs/reference/cloud-security-private-ca/latest/V1.Subject) and/or\n[SubjectAltNames](/php/docs/reference/cloud-security-private-ca/latest/V1.SubjectAltNames) are\nspecified in the certificate request. When parsing a PEM CSR this mode will\nmaintain the sequence of RDNs found in the CSR's subject field in the\nissued [Certificate](/php/docs/reference/cloud-security-private-ca/latest/V1.Certificate). This\nmode requires the caller to have the `privateca.certificates.create`\npermission.\n\nGenerated from protobuf enum `RDN_SEQUENCE = 3;`\n\n### REFLECTED_SPIFFE\n\n Value: 2\n\nA mode reserved for special cases. Indicates that the certificate should\nhave one SPIFFE\n[SubjectAltNames](/php/docs/reference/cloud-security-private-ca/latest/V1.SubjectAltNames) set\nby the service based on the caller's identity. This mode will ignore any\nexplicitly specified [Subject](/php/docs/reference/cloud-security-private-ca/latest/V1.Subject)\nand/or\n[SubjectAltNames](/php/docs/reference/cloud-security-private-ca/latest/V1.SubjectAltNames) in\nthe certificate request. This mode requires the caller to have the\n`privateca.certificates.createForSelf` permission.\n\nGenerated from protobuf enum `REFLECTED_SPIFFE = 2;`"]]