Cloud PubSub V1 Client - Class ListSchemaRevisionsResponse (1.48.0)

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

Response for the ListSchemaRevisions method.

Generated from protobuf message google.pubsub.v1.ListSchemaRevisionsResponse

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 revisions of the schema.

↳ next_page_token string

A token that can be sent as page_token to retrieve the next page. If this field is empty, there are no subsequent pages.

getSchemas

The revisions of the schema.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSchemas

The revisions of the schema.

Parameter
NameDescription
var array<Google\Cloud\PubSub\V1\Schema>
Returns
TypeDescription
$this

getNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is empty, there are no subsequent pages.

Returns
TypeDescription
string

setNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is empty, there are no subsequent pages.

Parameter
NameDescription
var string
Returns
TypeDescription
$this