Cloud PubSub V1 Client - Class ListSchemasResponse (2.5.0)

Reference documentation and code samples for the Cloud PubSub V1 Client class ListSchemasResponse.

Response for the ListSchemas method.

Generated from protobuf message google.pubsub.v1.ListSchemasResponse

Namespace

Google \ Cloud \ PubSub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ schemas array<Google\Cloud\PubSub\V1\Schema>

The resulting schemas.

↳ next_page_token string

If not empty, indicates that there may be more schemas that match the request; this value should be passed in a new ListSchemasRequest.

getSchemas

The resulting schemas.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSchemas

The resulting schemas.

Parameter
Name Description
var array<Google\Cloud\PubSub\V1\Schema>
Returns
Type Description
$this

getNextPageToken

If not empty, indicates that there may be more schemas that match the request; this value should be passed in a new ListSchemasRequest.

Returns
Type Description
string

setNextPageToken

If not empty, indicates that there may be more schemas that match the request; this value should be passed in a new ListSchemasRequest.

Parameter
Name Description
var string
Returns
Type Description
$this