Cloud PubSub V1 Client - Class ListSchemasResponse (1.49.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSchemas

The resulting schemas.

Parameter
NameDescription
var array<Google\Cloud\PubSub\V1\Schema>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this