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

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

Message for fetching available Bindings.

Generated from protobuf message google.cloud.agentregistry.v1.FetchAvailableBindingsRequest

Namespace

Google \ Cloud \ AgentRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ source_identifier string

The identifier of the source Agent. Format: * * urn:agent:{publisher}:{namespace}:{name}

↳ target_identifier string

Optional. 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}

↳ parent string

Required. The parent, in the format projects/{project}/locations/{location}.

↳ page_size int

Optional. Requested page size. Server may return fewer items than requested. Page size is 500 if unspecified and is capped at 500 even if a larger value is given.

↳ page_token string

Optional. A token identifying a page of results the server should return.

getSourceIdentifier

The identifier of the source Agent.

Format:

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

hasSourceIdentifier

setSourceIdentifier

The identifier of the source Agent.

Format:

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

getTargetIdentifier

Optional. 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

hasTargetIdentifier

setTargetIdentifier

Optional. 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

getParent

Required. The parent, in the format projects/{project}/locations/{location}.

Returns
Type Description
string

setParent

Required. The parent, in the format projects/{project}/locations/{location}.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Requested page size. Server may return fewer items than requested. Page size is 500 if unspecified and is capped at 500 even if a larger value is given.

Returns
Type Description
int

setPageSize

Optional. Requested page size. Server may return fewer items than requested. Page size is 500 if unspecified and is capped at 500 even if a larger value is given.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. A token identifying a page of results the server should return.

Returns
Type Description
string

setPageToken

Optional. A token identifying a page of results the server should return.

Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Returns
Type Description
string

getTarget

Returns
Type Description
string

static::build

Parameter
Name Description
parent string

Required. The parent, in the format projects/{project}/locations/{location}. Please see AgentRegistryClient::locationName() for help formatting this field.

Returns
Type Description
FetchAvailableBindingsRequest