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

Reference documentation and code samples for the Google Cloud Security Command Center V1 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.v1.Label

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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.

Returns
Type Description
string

setName

Name of the label.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Value that corresponds to the label's name.

Returns
Type Description
string

setValue

Value that corresponds to the label's name.

Parameter
Name Description
var string
Returns
Type Description
$this