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

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.

Generated from protobuf field string name = 1;

Returns
TypeDescription
string

setName

Label name.

Generated from protobuf field string name = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Label value.

Generated from protobuf field string value = 2;

Returns
TypeDescription
string

setValue

Label value.

Generated from protobuf field string value = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this