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

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

Scan authentication configuration.

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

Namespace

Google \ Cloud \ WebSecurityScanner \ V1beta \ ScanConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ google_account Google\Cloud\WebSecurityScanner\V1beta\ScanConfig\Authentication\GoogleAccount

Authentication using a Google account.

↳ custom_account Google\Cloud\WebSecurityScanner\V1beta\ScanConfig\Authentication\CustomAccount

Authentication using a custom account.

getGoogleAccount

Authentication using a Google account.

Returns
Type Description
Google\Cloud\WebSecurityScanner\V1beta\ScanConfig\Authentication\GoogleAccount|null

hasGoogleAccount

setGoogleAccount

Authentication using a Google account.

Parameter
Name Description
var Google\Cloud\WebSecurityScanner\V1beta\ScanConfig\Authentication\GoogleAccount
Returns
Type Description
$this

getCustomAccount

Authentication using a custom account.

Returns
Type Description
Google\Cloud\WebSecurityScanner\V1beta\ScanConfig\Authentication\CustomAccount|null

hasCustomAccount

setCustomAccount

Authentication using a custom account.

Parameter
Name Description
var Google\Cloud\WebSecurityScanner\V1beta\ScanConfig\Authentication\CustomAccount
Returns
Type Description
$this

getAuthentication

Returns
Type Description
string