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

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

setUsername

Required. The user name of the Google account.

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