class ProjectsResources extends Resource (View source)

The "resources" collection of methods.

Typical usage is:

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

Methods

exportSBOM(string $name, ExportSBOMRequest $postBody, array $optParams = [])

Generates an SBOM for the given resource. (resources.exportSBOM)

Details

ExportSBOMResponse exportSBOM(string $name, ExportSBOMRequest $postBody, array $optParams = [])

Generates an SBOM for the given resource. (resources.exportSBOM)

Parameters

string $name

Required. The name of the resource in the form of projects/[PROJECT_ID]/resources/[RESOURCE_URL].

ExportSBOMRequest $postBody
array $optParams

Optional parameters.

Return Value

ExportSBOMResponse

Exceptions

Exception