Google Cloud Agent Registry V1 Client - Class Target (0.2.0)

Reference documentation and code samples for the Google Cloud Agent Registry V1 Client class Target.

The target of the Binding.

Generated from protobuf message google.cloud.agentregistry.v1.Binding.Target

Namespace

Google \ Cloud \ AgentRegistry \ V1 \ Binding

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ identifier string

The identifier of the target Agent, MCP Server, or Endpoint. Format: * * urn:agent:{publisher}:{namespace}:{name} * * urn:mcp:{publisher}:{namespace}:{name} * * urn:endpoint:{publisher}:{namespace}:{name}

getIdentifier

The identifier of the target Agent, MCP Server, or Endpoint.

Format:

  • urn:agent:{publisher}:{namespace}:{name}
  • urn:mcp:{publisher}:{namespace}:{name}
  • urn:endpoint:{publisher}:{namespace}:{name}
Returns
Type Description
string

hasIdentifier

setIdentifier

The identifier of the target Agent, MCP Server, or Endpoint.

Format:

  • urn:agent:{publisher}:{namespace}:{name}
  • urn:mcp:{publisher}:{namespace}:{name}
  • urn:endpoint:{publisher}:{namespace}:{name}
Parameter
Name Description
var string
Returns
Type Description
$this

getTargetType

Returns
Type Description
string