Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class Agent.
Represents a monitored AI Agent.
Generated from protobuf message google.cloud.securitycenter.v2.Agent
Namespace
Google \ Cloud \ SecurityCenter \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ id |
string
Identifier of the agent. |
↳ display_name |
string
The user friendly name of the specific agent instance where the finding was detected, for example, "Banking Agent". |
getId
Identifier of the agent.
| Returns | |
|---|---|
| Type | Description |
string |
|
setId
Identifier of the agent.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
The user friendly name of the specific agent instance where the finding was detected, for example, "Banking Agent".
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
The user friendly name of the specific agent instance where the finding was detected, for example, "Banking Agent".
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|