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 \ V1Methods
__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.
Returns | |
---|---|
Type | Description |
string |
setName
Label name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Label value.
Returns | |
---|---|
Type | Description |
string |
setValue
Label value.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |