/
model_v1beta1_note.go
52 lines (49 loc) · 2.33 KB
/
model_v1beta1_note.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
* grafeas.proto
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: version not set
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package grafeas
import (
"time"
)
// A type of analysis that can be done for a resource.
type V1beta1Note struct {
// Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Name string `json:"name,omitempty"`
// A one sentence description of this note.
ShortDescription string `json:"shortDescription,omitempty"`
// A detailed description of this note.
LongDescription string `json:"longDescription,omitempty"`
// Output only. The type of analysis. This field can be used as a filter in list requests.
Kind *V1beta1NoteKind `json:"kind,omitempty"`
// URLs associated with this note.
RelatedUrl []V1beta1RelatedUrl `json:"relatedUrl,omitempty"`
// Time of expiration for this note. Empty if note does not expire.
ExpirationTime time.Time `json:"expirationTime,omitempty"`
// Output only. The time this note was created. This field can be used as a filter in list requests.
CreateTime time.Time `json:"createTime,omitempty"`
// Output only. The time this note was last updated. This field can be used as a filter in list requests.
UpdateTime time.Time `json:"updateTime,omitempty"`
// Other notes related to this note.
RelatedNoteNames []string `json:"relatedNoteNames,omitempty"`
// A note describing a package vulnerability.
Vulnerability *VulnerabilityVulnerability `json:"vulnerability,omitempty"`
// A note describing build provenance for a verifiable build.
Build *BuildBuild `json:"build,omitempty"`
// A note describing a base image.
BaseImage *ImageBasis `json:"baseImage,omitempty"`
// A note describing a package hosted by various package managers.
Package_ *PackagePackage `json:"package,omitempty"`
// A note describing something that can be deployed.
Deployable *DeploymentDeployable `json:"deployable,omitempty"`
// A note describing the initial analysis of a resource.
Discovery *DiscoveryDiscovery `json:"discovery,omitempty"`
// A note describing an attestation role.
AttestationAuthority *AttestationAuthority `json:"attestationAuthority,omitempty"`
// A note describing an in-toto link.
Intoto *IntotoInToto `json:"intoto,omitempty"`
}