# Google Cloud Web Security Scanner V1 Client - Class UserAgent (1.2.0)

1.2.0 (latest) 1.1.2 1.0.5 0.8.5 0.7.18 Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class UserAgent.

Type of user agents used for scanning.

Protobuf type `google.cloud.websecurityscanner.v1.ScanConfig.UserAgent`

## Namespace

Google \\ Cloud \\ WebSecurityScanner \\ V1 \\ ScanConfig

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### USER_AGENT_UNSPECIFIED

    Value: 0

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

Generated from protobuf enum `USER_AGENT_UNSPECIFIED = 0;`

### CHROME_LINUX

    Value: 1

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

Generated from protobuf enum `CHROME_LINUX = 1;`

### CHROME_ANDROID

    Value: 2

Chrome on Android.

Generated from protobuf enum `CHROME_ANDROID = 2;`

### SAFARI_IPHONE

    Value: 3

Safari on IPhone.

Generated from protobuf enum `SAFARI_IPHONE = 3;`