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

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

Scan authentication configuration.

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

Namespace

Google \ Cloud \ WebSecurityScanner \ V1 \ ScanConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

Authentication using a Google account.

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

Authentication using a custom account.

↳ iap_credential Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\IapCredential

Authentication using Identity-Aware-Proxy (IAP).

getGoogleAccount

Authentication using a Google account.

Returns
TypeDescription
Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\GoogleAccount|null

hasGoogleAccount

setGoogleAccount

Authentication using a Google account.

Parameter
NameDescription
var Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\GoogleAccount
Returns
TypeDescription
$this

getCustomAccount

Authentication using a custom account.

Returns
TypeDescription
Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\CustomAccount|null

hasCustomAccount

setCustomAccount

Authentication using a custom account.

Parameter
NameDescription
var Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\CustomAccount
Returns
TypeDescription
$this

getIapCredential

Authentication using Identity-Aware-Proxy (IAP).

Returns
TypeDescription
Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\IapCredential|null

hasIapCredential

setIapCredential

Authentication using Identity-Aware-Proxy (IAP).

Parameter
NameDescription
var Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\IapCredential
Returns
TypeDescription
$this

getAuthentication

Returns
TypeDescription
string