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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int |
setAnalysisKind
Required. Immutable. The kind of analysis that is handled by this discovery.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |