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

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
NameDescription
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
TypeDescription
string

setUsername

Required. The user name of the custom account.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getLoginUrl

Required. The login form URL of the website.

Returns
TypeDescription
string

setLoginUrl

Required. The login form URL of the website.

Parameter
NameDescription
var string
Returns
TypeDescription
$this