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

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

Message for response to searching Agents

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

Namespace

Google \ Cloud \ AgentRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ agents array<Agent>

A list of Agents that match the search_string.

↳ next_page_token string

If there are more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

getAgents

A list of Agents that match the search_string.

Returns
Type Description
Google\Protobuf\RepeatedField<Agent>

setAgents

A list of Agents that match the search_string.

Parameter
Name Description
var array<Agent>
Returns
Type Description
$this

getNextPageToken

If there are more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

Returns
Type Description
string

setNextPageToken

If there are more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

Parameter
Name Description
var string
Returns
Type Description
$this