Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class Label.
Represents a generic name-value label. A label has separate name and value
fields to support filtering with the contains()
function. For more
information, see Filtering on array-type
fields
.
Generated from protobuf message google.cloud.securitycenter.v2.Label
Namespace
Google \ Cloud \ SecurityCenter \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Name of the label.
↳ value
string
Value that corresponds to the label's name.
getName
Name of the label.
string
setName
Name of the label.
var
string
$this
getValue
Value that corresponds to the label's name.
string
setValue
Value that corresponds to the label's name.
var
string
$this