Google Cloud Network Services V1 Client - Class AgentGateway (0.10.0)

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.

Returns
Type Description
AgentGateway\GoogleManaged|null

hasGoogleManaged

setGoogleManaged

Optional. Proxy is orchestrated and managed by GoogleCloud in a tenant project.

Parameter
Name Description
var AgentGateway\GoogleManaged
Returns
Type Description
$this

getSelfManaged

Optional. Attach to existing Application Load Balancers or Secure Web Proxies.

Returns
Type Description
AgentGateway\SelfManaged|null

hasSelfManaged

setSelfManaged

Optional. Attach to existing Application Load Balancers or Secure Web Proxies.

Parameter
Name Description
var AgentGateway\SelfManaged
Returns
Type Description
$this

getName

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.

Returns
Type Description
AgentGateway\NetworkConfig|null

hasNetworkConfig

clearNetworkConfig

setNetworkConfig

Optional. Network configuration for the AgentGateway.

Parameter
Name Description
var AgentGateway\NetworkConfig
Returns
Type Description
$this

getAgentGatewayCard

Output only. Field for populated AgentGateway card.

Returns
Type Description
AgentGateway\AgentGatewayOutputCard|null

hasAgentGatewayCard

clearAgentGatewayCard

setAgentGatewayCard

Output only. Field for populated AgentGateway card.

Parameter
Name Description
var AgentGateway\AgentGatewayOutputCard
Returns
Type Description
$this

getDeploymentMode

Returns
Type Description
string