public static enum Kubernetes.Subject.AuthType extends Enum<Kubernetes.Subject.AuthType> implements com.google.protobuf.ProtocolMessageEnum
Auth types that can be used for the subject's kind field.Protobuf enum
google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType| Enum Constant and Description |
|---|
AUTH_TYPE_UNSPECIFIED
Authentication is not specified.
|
GROUP
Collection of users.
|
SERVICEACCOUNT
Users managed by Kubernetes API with credentials stored as secrets.
|
UNRECOGNIZED |
USER
User with valid certificate.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTH_TYPE_UNSPECIFIED_VALUE
Authentication is not specified.
|
static int |
GROUP_VALUE
Collection of users.
|
static int |
SERVICEACCOUNT_VALUE
Users managed by Kubernetes API with credentials stored as secrets.
|
static int |
USER_VALUE
User with valid certificate.
|
| Modifier and Type | Method and Description |
|---|---|
static Kubernetes.Subject.AuthType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Kubernetes.Subject.AuthType> |
internalGetValueMap() |
static Kubernetes.Subject.AuthType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Kubernetes.Subject.AuthType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Kubernetes.Subject.AuthType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Kubernetes.Subject.AuthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Kubernetes.Subject.AuthType AUTH_TYPE_UNSPECIFIED
Authentication is not specified.
AUTH_TYPE_UNSPECIFIED = 0;public static final Kubernetes.Subject.AuthType USER
User with valid certificate.
USER = 1;public static final Kubernetes.Subject.AuthType SERVICEACCOUNT
Users managed by Kubernetes API with credentials stored as secrets.
SERVICEACCOUNT = 2;public static final Kubernetes.Subject.AuthType GROUP
Collection of users.
GROUP = 3;public static final Kubernetes.Subject.AuthType UNRECOGNIZED
public static final int AUTH_TYPE_UNSPECIFIED_VALUE
Authentication is not specified.
AUTH_TYPE_UNSPECIFIED = 0;public static final int USER_VALUE
User with valid certificate.
USER = 1;public static final int SERVICEACCOUNT_VALUE
Users managed by Kubernetes API with credentials stored as secrets.
SERVICEACCOUNT = 2;public static final int GROUP_VALUE
Collection of users.
GROUP = 3;public static Kubernetes.Subject.AuthType[] values()
for (Kubernetes.Subject.AuthType c : Kubernetes.Subject.AuthType.values()) System.out.println(c);
public static Kubernetes.Subject.AuthType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Kubernetes.Subject.AuthType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Kubernetes.Subject.AuthType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Kubernetes.Subject.AuthType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Kubernetes.Subject.AuthType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.