Google Cloud Apigee Registry V1 Client - Class ListApiSpecsRequest (0.2.7)

Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class ListApiSpecsRequest.

Request message for ListApiSpecs.

Generated from protobuf message google.cloud.apigeeregistry.v1.ListApiSpecsRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent, which owns this collection of specs. Format: projects/*/locations/*/apis/*/versions/*

↳ page_size int

The maximum number of specs to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.

↳ page_token string

A page token, received from a previous ListApiSpecs call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListApiSpecs must match the call that provided the page token.

↳ filter string

An expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields except contents.

getParent

Required. The parent, which owns this collection of specs.

Format: projects/*/locations/*/apis/*/versions/*

Returns
TypeDescription
string

setParent

Required. The parent, which owns this collection of specs.

Format: projects/*/locations/*/apis/*/versions/*

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of specs to return.

The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.

Returns
TypeDescription
int

setPageSize

The maximum number of specs to return.

The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A page token, received from a previous ListApiSpecs call.

Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListApiSpecs must match the call that provided the page token.

Returns
TypeDescription
string

setPageToken

A page token, received from a previous ListApiSpecs call.

Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListApiSpecs must match the call that provided the page token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

An expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields except contents.

Returns
TypeDescription
string

setFilter

An expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields except contents.

Parameter
NameDescription
var string
Returns
TypeDescription
$this