resources
Creates, updates, deletes, gets or lists a resources
resource.
Overview
Name | resources |
Type | Resource |
Id | google.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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_resources_export_sbom | exec | projectsId , locationsId , resourcesId | Generates an SBOM for the given resource. | |
projects_resources_export_sbom | exec | projectsId , resourcesId | Generates 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.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
projectsId | string | |
resourcesId | string |
Lifecycle Methods
- projects_locations_resources_export_sbom
- projects_resources_export_sbom
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 }}"
}';
Generates an SBOM for the given resource.
EXEC google.containeranalysis.resources.projects_resources_export_sbom
@projectsId='{{ projectsId }}' --required,
@resourcesId='{{ resourcesId }}' --required
@@json=
'{
"cloudStorageLocation": "{{ cloudStorageLocation }}"
}';