Cloud PubSub V1 Client - Class ListSchemaRevisionsResponse (2.4.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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setSchemas

The revisions of the schema.

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