class ProjectsScanConfigs extends Resource (View source)

The "scanConfigs" collection of methods.

Typical usage is:

 $containeranalysisService = new Google\Service\ContainerAnalysis(...);
 $scanConfigs = $containeranalysisService->scanConfigs;

Methods

get(string $name, array $optParams = [])

Gets the specified scan configuration. (scanConfigs.get)

listProjectsScanConfigs(string $parent, array $optParams = [])

Lists scan configurations for the specified project.

update(string $name, ScanConfig $postBody, array $optParams = [])

Updates the specified scan configuration. (scanConfigs.update)

Details

ScanConfig get(string $name, array $optParams = [])

Gets the specified scan configuration. (scanConfigs.get)

Parameters

string $name

Required. The name of the scan configuration in the form of projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID].

array $optParams

Optional parameters.

Return Value

ScanConfig

ListScanConfigsResponse listProjectsScanConfigs(string $parent, array $optParams = [])

Lists scan configurations for the specified project.

(scanConfigs.listProjectsScanConfigs)

Parameters

string $parent

Required. The name of the project to list scan configurations for in the form of projects/[PROJECT_ID].

array $optParams

Optional parameters.

Return Value

ListScanConfigsResponse

ScanConfig update(string $name, ScanConfig $postBody, array $optParams = [])

Updates the specified scan configuration. (scanConfigs.update)

Parameters

string $name

Required. The name of the scan configuration in the form of projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID].

ScanConfig $postBody
array $optParams

Optional parameters.

Return Value

ScanConfig