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

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

Namespace

Google \ Cloud \ SecurityCenter \ V1

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