Google Cloud Network Services V1 Client - Class AgentGateway (0.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Network Services V1 Client class AgentGateway.
AgentGateway represents the agent gateway resource.
Generated from protobuf message google.cloud.networkservices.v1.AgentGateway
Namespace
Google \ Cloud \ NetworkServices \ V1
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getGoogleManaged
Optional. Proxy is orchestrated and managed by GoogleCloud in a tenant
project.
Identifier. Name of the AgentGateway resource. It matches pattern
projects/*/locations/*/agentGateways/<agent_gateway>.
Returns
Type
Description
string
setName
Identifier. Name of the AgentGateway resource. It matches pattern
projects/*/locations/*/agentGateways/<agent_gateway>.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCreateTime
Output only. The timestamp when the resource was created.
Returns
Type
Description
Google\Protobuf\Timestamp|null
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp when the resource was created.
Parameter
Name
Description
var
Google\Protobuf\Timestamp
Returns
Type
Description
$this
getUpdateTime
Output only. The timestamp when the resource was updated.
Returns
Type
Description
Google\Protobuf\Timestamp|null
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp when the resource was updated.
Parameter
Name
Description
var
Google\Protobuf\Timestamp
Returns
Type
Description
$this
getLabels
Optional. Set of label tags associated with the AgentGateway resource.
Returns
Type
Description
Google\Protobuf\Internal\MapField
setLabels
Optional. Set of label tags associated with the AgentGateway resource.
Parameter
Name
Description
var
array|Google\Protobuf\Internal\MapField
Returns
Type
Description
$this
getDescription
Optional. A free-text description of the resource. Max length 1024
characters.
Returns
Type
Description
string
setDescription
Optional. A free-text description of the resource. Max length 1024
characters.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEtag
Optional. Etag of the resource.
If this is provided, it must match the server's etag. If the provided etag
does not match the server's etag, the request will fail with a 409 ABORTED
error.
Returns
Type
Description
string
setEtag
Optional. Etag of the resource.
If this is provided, it must match the server's etag. If the provided etag
does not match the server's etag, the request will fail with a 409 ABORTED
error.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getProtocols
Optional. Deprecated.
Returns
Type
Description
Google\Protobuf\RepeatedField<int>
setProtocols
Optional. Deprecated.
Parameter
Name
Description
var
int[]
Returns
Type
Description
$this
getRegistries
Optional. A list of Agent registries containing the agents, MCP servers and
tools governed by the Agent Gateway. Note: Currently limited to
project-scoped registries Must be of format
//agentregistry.googleapis.com/projects/{project}/locations/{location}/
Returns
Type
Description
Google\Protobuf\RepeatedField<string>
setRegistries
Optional. A list of Agent registries containing the agents, MCP servers and
tools governed by the Agent Gateway. Note: Currently limited to
project-scoped registries Must be of format
//agentregistry.googleapis.com/projects/{project}/locations/{location}/
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getNetworkConfig
Optional. Network configuration for the AgentGateway.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-07-31 UTC."],[],[]]