Grafeas V1 Client - Class DiscoveryNote (0.6.0)

Reference documentation and code samples for the Grafeas V1 Client class DiscoveryNote.

A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A Discovery occurrence is created in a consumer's project at the start of analysis.

Generated from protobuf message grafeas.v1.DiscoveryNote

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ analysis_kind int

Required. Immutable. The kind of analysis that is handled by this discovery.

getAnalysisKind

Required. Immutable. The kind of analysis that is handled by this discovery.

Returns
TypeDescription
int

setAnalysisKind

Required. Immutable. The kind of analysis that is handled by this discovery.

Parameter
NameDescription
var int
Returns
TypeDescription
$this