Reference documentation and code samples for the Grafeas V1 Client class Product.
Product contains information about a product and how to uniquely identify it.
(-- api-linter: core::0123::resource-annotation=disabled aip.dev/not-precedent: Product is not a separate resource. --)
Generated from protobuf message grafeas.v1.VulnerabilityAssessmentNote.Product
Namespace
Grafeas \ V1 \ VulnerabilityAssessmentNoteMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Name of the product.
↳ id
string
Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.
↳ generic_uri
string
Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
getName
Name of the product.
string
setName
Name of the product.
var
string
$this
getId
Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.
string
setId
Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.
var
string
$this
getGenericUri
Contains a URI which is vendor-specific.
Example: The artifact repository URL of an image.
string
hasGenericUri
setGenericUri
Contains a URI which is vendor-specific.
Example: The artifact repository URL of an image.
var
string
$this
getIdentifier
string