Cloud PubSub V1 Client - Class ListSchemasResponse (1.39.3)

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

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.

Generated from protobuf field repeated .google.pubsub.v1.Schema schemas = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSchemas

The resulting schemas.

Generated from protobuf field repeated .google.pubsub.v1.Schema schemas = 1;

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.

Generated from protobuf field string next_page_token = 2;

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.

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this