Close httplib2 connections.
exportSBOM(name, body=None, x__xgafv=None)
Generates an SBOM for the given resource.
close()
Close httplib2 connections.
exportSBOM(name, body=None, x__xgafv=None)
Generates an SBOM for the given resource.
Args:
name: string, Required. The name of the resource in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. (required)
body: object, The request body.
The object takes the form of:
{ # The request to generate and export SBOM. Target must be specified for the request.
"cloudStorageLocation": { # Empty placeholder to denote that this is a Google Cloud Storage export request. # Optional. Empty placeholder to denote that this is a Google Cloud Storage export request.
},
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The response from a call to ExportSBOM.
"discoveryOccurrence": "A String", # The name of the discovery occurrence in the form "projects/{project_id}/occurrences/{OCCURRENCE_ID} It can be used to track the progress of the SBOM export.
}