Google Cloud Api Registry V1 Client - Class ListMcpToolsRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Api Registry V1 Client class ListMcpToolsRequest.

Message for requesting list of McpTools

Generated from protobuf message google.cloud.apiregistry.v1.ListMcpToolsRequest

Namespace

Google \ Cloud \ ApiRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent value for ListMcpToolsRequest

↳ page_size int

Optional. Requested page size. Server may return fewer items than requested. If unspecified, at most 50 items will be returned. The maximum value is 100; values above 100 will be coerced to 100.

↳ page_token string

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

↳ filter string

Optional. An expression that filters the results. For syntax, see https://google.aip.dev/160.

↳ order_by string

Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. For syntax, see https://google.aip.dev/132#ordering.

getParent

Required. Parent value for ListMcpToolsRequest

Returns
Type Description
string

setParent

Required. Parent value for ListMcpToolsRequest

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Requested page size. Server may return fewer items than requested. If unspecified, at most 50 items will be returned. The maximum value is 100; values above 100 will be coerced to 100.

Returns
Type Description
int

setPageSize

Optional. Requested page size. Server may return fewer items than requested. If unspecified, at most 50 items will be returned. The maximum value is 100; values above 100 will be coerced to 100.

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

getFilter

Optional. An expression that filters the results.

For syntax, see https://google.aip.dev/160.

Returns
Type Description
string

setFilter

Optional. An expression that filters the results.

For syntax, see https://google.aip.dev/160.

Parameter
Name Description
var string
Returns
Type Description
$this

getOrderBy

Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. For syntax, see https://google.aip.dev/132#ordering.

Returns
Type Description
string

setOrderBy

Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. For syntax, see https://google.aip.dev/132#ordering.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. Parent value for ListMcpToolsRequest Please see CloudApiRegistryClient::mcpServerName() for help formatting this field.

Returns
Type Description
ListMcpToolsRequest