Google Cloud Web Security Scanner V1beta Client - Class GoogleAccount (0.8.5)

Reference documentation and code samples for the Google Cloud Web Security Scanner V1beta Client class GoogleAccount.

Describes authentication configuration that uses a Google account.

Generated from protobuf message google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount

Namespace

Google \ Cloud \ WebSecurityScanner \ V1beta \ 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 Google account.

↳ password string

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

getUsername

Required. The user name of the Google account.

Returns
Type Description
string

setUsername

Required. The user name of the Google account.

Parameter
Name Description
var string
Returns
Type Description
$this

getPassword

Required. Input only. The password of the Google 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 Google 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