Skip to main content

resources

Creates, updates, deletes, gets or lists a resources resource.

Overview

Nameresources
TypeResource
Idgoogle.containeranalysis.resources

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_resources_export_sbomexecprojectsId, locationsId, resourcesIdGenerates an SBOM for the given resource.
projects_resources_export_sbomexecprojectsId, resourcesIdGenerates an SBOM for the given resource.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
resourcesIdstring

Lifecycle Methods

Generates an SBOM for the given resource.

EXEC google.containeranalysis.resources.projects_locations_resources_export_sbom 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@resourcesId='{{ resourcesId }}' --required
@@json=
'{
"cloudStorageLocation": "{{ cloudStorageLocation }}"
}';