Enum SubjectRequestMode (2.5.0)

public enum SubjectRequestMode extends Enum<SubjectRequestMode> implements ProtocolMessageEnum

Describes the way in which a Certificate's Subject and/or SubjectAltNames will be resolved.

Protobuf enum google.cloud.security.privateca.v1.SubjectRequestMode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DEFAULT

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.

DEFAULT = 1;

DEFAULT_VALUE

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.

DEFAULT = 1;

REFLECTED_SPIFFE

A mode reserved for special cases. Indicates that the certificate should have one or more 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.

REFLECTED_SPIFFE = 2;

REFLECTED_SPIFFE_VALUE

A mode reserved for special cases. Indicates that the certificate should have one or more 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.

REFLECTED_SPIFFE = 2;

SUBJECT_REQUEST_MODE_UNSPECIFIED

Not specified.

SUBJECT_REQUEST_MODE_UNSPECIFIED = 0;

SUBJECT_REQUEST_MODE_UNSPECIFIED_VALUE

Not specified.

SUBJECT_REQUEST_MODE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()