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
Parameter
#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
- ( ::Grafeas::V1::DiscoveryOccurrence::AnalysisStatus ) — The status of discovery for the resource.
#analysis_status=
def
analysis_status=
(
value
)
-
>
::
Grafeas
::
V1
::
DiscoveryOccurrence
::
AnalysisStatus
Parameter
- value( ::Grafeas::V1::DiscoveryOccurrence::AnalysisStatus ) — The status of discovery for the resource.
Returns
- ( ::Grafeas::V1::DiscoveryOccurrence::AnalysisStatus ) — The status of discovery for the resource.
#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
- ( ::Google::Protobuf::Timestamp ) — The time occurrences related to this discovery occurrence were archived.
#continuous_analysis
def
continuous_analysis
()
-
>
::
Grafeas
::
V1
::
DiscoveryOccurrence
::
ContinuousAnalysis
Returns
- ( ::Grafeas::V1::DiscoveryOccurrence::ContinuousAnalysis ) — Whether the resource is continuously analyzed.
#continuous_analysis=
def
continuous_analysis=
(
value
)
-
>
::
Grafeas
::
V1
::
DiscoveryOccurrence
::
ContinuousAnalysis
Parameter
- value( ::Grafeas::V1::DiscoveryOccurrence::ContinuousAnalysis ) — Whether the resource is continuously analyzed.
Returns
- ( ::Grafeas::V1::DiscoveryOccurrence::ContinuousAnalysis ) — Whether the resource is continuously analyzed.
#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
- ( ::Google::Protobuf::Timestamp ) — The last time this resource was scanned.
#last_scan_time=
def
last_scan_time=
(
value
)
-
>
::
Google
::
Protobuf
::
Timestamp
Parameter
- value( ::Google::Protobuf::Timestamp ) — The last time this resource was scanned.
Returns
- ( ::Google::Protobuf::Timestamp ) — The last time this resource was scanned.