Enum ScanConfig.UserAgent (2.53.0)

public enum ScanConfig.UserAgent extends Enum<ScanConfig.UserAgent> implements ProtocolMessageEnum

Type of user agents used for scanning.

Protobuf enum google.cloud.websecurityscanner.v1.ScanConfig.UserAgent

Implements

ProtocolMessageEnum

Static Fields

Name Description
CHROME_ANDROID

Chrome on Android.

CHROME_ANDROID = 2;

CHROME_ANDROID_VALUE

Chrome on Android.

CHROME_ANDROID = 2;

CHROME_LINUX

Chrome on Linux. This is the service default if unspecified.

CHROME_LINUX = 1;

CHROME_LINUX_VALUE

Chrome on Linux. This is the service default if unspecified.

CHROME_LINUX = 1;

SAFARI_IPHONE

Safari on IPhone.

SAFARI_IPHONE = 3;

SAFARI_IPHONE_VALUE

Safari on IPhone.

SAFARI_IPHONE = 3;

UNRECOGNIZED
USER_AGENT_UNSPECIFIED

The user agent is unknown. Service will default to CHROME_LINUX.

USER_AGENT_UNSPECIFIED = 0;

USER_AGENT_UNSPECIFIED_VALUE

The user agent is unknown. Service will default to CHROME_LINUX.

USER_AGENT_UNSPECIFIED = 0;

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()