Google Cloud Web Security Scanner V1 Client - Class CustomAccount (1.0.0)

Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class CustomAccount.

Describes authentication configuration that uses a custom account.

Generated from protobuf message google.cloud.websecurityscanner.v1.ScanConfig.Authentication.CustomAccount

Namespace

Google \ Cloud \ WebSecurityScanner \ V1 \ ScanConfig \ Authentication

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ username string

Required. The user name of the custom account.

↳ password string

Required. Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs.

↳ login_url string

Required. The login form URL of the website.

getUsername

Required. The user name of the custom account.

Returns
Type Description
string

setUsername

Required. The user name of the custom account.

Parameter
Name Description
var string
Returns
Type Description
$this

getPassword

Required. Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs.

Returns
Type Description
string

setPassword

Required. Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs.

Parameter
Name Description
var string
Returns
Type Description
$this

getLoginUrl

Required. The login form URL of the website.

Returns
Type Description
string

setLoginUrl

Required. The login form URL of the website.

Parameter
Name Description
var string
Returns
Type Description
$this