Grafeas V1 API - Class Grafeas::V1::DiscoveryOccurrence (v0.12.0)

Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::DiscoveryOccurrence.

Provides information about the analysis status of a discovered resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#analysis_completed

def analysis_completed() -> ::Grafeas::V1::DiscoveryOccurrence::AnalysisCompleted

#analysis_completed=

def analysis_completed=(value) -> ::Grafeas::V1::DiscoveryOccurrence::AnalysisCompleted

#analysis_error

def analysis_error() -> ::Array<::Google::Rpc::Status>
Returns
  • (::Array<::Google::Rpc::Status>) — Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.

#analysis_error=

def analysis_error=(value) -> ::Array<::Google::Rpc::Status>
Parameter
  • value (::Array<::Google::Rpc::Status>) — Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
Returns
  • (::Array<::Google::Rpc::Status>) — Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.

#analysis_status

def analysis_status() -> ::Grafeas::V1::DiscoveryOccurrence::AnalysisStatus
Returns

#analysis_status=

def analysis_status=(value) -> ::Grafeas::V1::DiscoveryOccurrence::AnalysisStatus
Parameter
Returns

#analysis_status_error

def analysis_status_error() -> ::Google::Rpc::Status
Returns
  • (::Google::Rpc::Status) — 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.

#analysis_status_error=

def analysis_status_error=(value) -> ::Google::Rpc::Status
Parameter
  • value (::Google::Rpc::Status) — 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.
Returns
  • (::Google::Rpc::Status) — 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.

#archive_time

def archive_time() -> ::Google::Protobuf::Timestamp
Returns

#continuous_analysis

def continuous_analysis() -> ::Grafeas::V1::DiscoveryOccurrence::ContinuousAnalysis
Returns

#continuous_analysis=

def continuous_analysis=(value) -> ::Grafeas::V1::DiscoveryOccurrence::ContinuousAnalysis
Parameter
Returns

#cpe

def cpe() -> ::String
Returns
  • (::String) — The CPE of the resource being scanned.

#cpe=

def cpe=(value) -> ::String
Parameter
  • value (::String) — The CPE of the resource being scanned.
Returns
  • (::String) — The CPE of the resource being scanned.

#last_scan_time

def last_scan_time() -> ::Google::Protobuf::Timestamp
Returns

#last_scan_time=

def last_scan_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns