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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setName
Label name.
Generated from protobuf field string name = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Label value.
Generated from protobuf field string value = 2;
Returns | |
---|---|
Type | Description |
string |
setValue
Label value.
Generated from protobuf field string value = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |