Google Cloud Security Command Center V1 Client - Class Label (1.14.2)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Label.

Label represents a generic name=value label. Label has separate name and value fields to support filtering with contains().

Generated from protobuf message google.cloud.securitycenter.v1.Label

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Label name.

↳ value string

Label value.

getName

Label name.

Returns
TypeDescription
string

setName

Label name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Label value.

Returns
TypeDescription
string

setValue

Label value.

Parameter
NameDescription
var string
Returns
TypeDescription
$this