When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.
When an error is encountered this will contain a LocalizedMessage under
details to show to the user. The LocalizedMessage is output only and
populated by the API.
When an error is encountered this will contain a LocalizedMessage under
details to show to the user. The LocalizedMessage is output only and
populated by the API.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Grafeas V1 Client - Class DiscoveryOccurrence (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/grafeas/latest/V1.DiscoveryOccurrence)\n- [1.2.1](/php/docs/reference/grafeas/1.2.1/V1.DiscoveryOccurrence)\n- [1.1.3](/php/docs/reference/grafeas/1.1.3/V1.DiscoveryOccurrence)\n- [1.0.0](/php/docs/reference/grafeas/1.0.0/V1.DiscoveryOccurrence)\n- [0.10.3](/php/docs/reference/grafeas/0.10.3/V1.DiscoveryOccurrence)\n- [0.9.0](/php/docs/reference/grafeas/0.9.0/V1.DiscoveryOccurrence)\n- [0.8.3](/php/docs/reference/grafeas/0.8.3/V1.DiscoveryOccurrence)\n- [0.7.1](/php/docs/reference/grafeas/0.7.1/V1.DiscoveryOccurrence)\n- [0.6.0](/php/docs/reference/grafeas/0.6.0/V1.DiscoveryOccurrence)\n- [0.5.0](/php/docs/reference/grafeas/0.5.0/V1.DiscoveryOccurrence)\n- [0.4.4](/php/docs/reference/grafeas/0.4.4/V1.DiscoveryOccurrence) \nReference documentation and code samples for the Grafeas V1 Client class DiscoveryOccurrence.\n\nProvides information about the analysis status of a discovered resource.\n\nGenerated from protobuf message `grafeas.v1.DiscoveryOccurrence`\n\nNamespace\n---------\n\nGrafeas \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getContinuousAnalysis\n\nWhether the resource is continuously analyzed.\n\n### setContinuousAnalysis\n\nWhether the resource is continuously analyzed.\n\n### getAnalysisStatus\n\nThe status of discovery for the resource.\n\n### setAnalysisStatus\n\nThe status of discovery for the resource.\n\n### getAnalysisCompleted\n\nGenerated from protobuf field `.grafeas.v1.DiscoveryOccurrence.AnalysisCompleted analysis_completed = 7;`\n\n### hasAnalysisCompleted\n\n### clearAnalysisCompleted\n\n### setAnalysisCompleted\n\nGenerated from protobuf field `.grafeas.v1.DiscoveryOccurrence.AnalysisCompleted analysis_completed = 7;`\n\n### getAnalysisError\n\nIndicates any errors encountered during analysis of a resource. There\ncould be 0 or more of these errors.\n\n### setAnalysisError\n\nIndicates any errors encountered during analysis of a resource. There\ncould be 0 or more of these errors.\n\n### getAnalysisStatusError\n\nWhen an error is encountered this will contain a LocalizedMessage under\ndetails to show to the user. The LocalizedMessage is output only and\npopulated by the API.\n\n### hasAnalysisStatusError\n\n### clearAnalysisStatusError\n\n### setAnalysisStatusError\n\nWhen an error is encountered this will contain a LocalizedMessage under\ndetails to show to the user. The LocalizedMessage is output only and\npopulated by the API.\n\n### getCpe\n\nThe CPE of the resource being scanned.\n\n### setCpe\n\nThe CPE of the resource being scanned.\n\n### getLastScanTime\n\nThe last time this resource was scanned.\n\n### hasLastScanTime\n\n### clearLastScanTime\n\n### setLastScanTime\n\nThe last time this resource was scanned.\n\n### getArchiveTime\n\nThe time occurrences related to this discovery occurrence were archived.\n\n### hasArchiveTime\n\n### clearArchiveTime\n\n### setArchiveTime\n\nThe time occurrences related to this discovery occurrence were archived.\n\n### getSbomStatus\n\nThe status of an SBOM generation.\n\n### hasSbomStatus\n\n### clearSbomStatus\n\n### setSbomStatus\n\nThe status of an SBOM generation.\n\n### getVulnerabilityAttestation\n\nThe status of an vulnerability attestation generation.\n\n### hasVulnerabilityAttestation\n\n### clearVulnerabilityAttestation\n\n### setVulnerabilityAttestation\n\nThe status of an vulnerability attestation generation."]]