Cloud PubSub V1 Client - Class ListSchemaRevisionsRequest (1.46.5)

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

Request for the ListSchemaRevisions method.

Generated from protobuf message google.pubsub.v1.ListSchemaRevisionsRequest

Namespace

Google \ Cloud \ PubSub \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the schema to list revisions for.

↳ view int

The set of Schema fields to return in the response. If not set, returns Schemas with name and type, but not definition. Set to FULL to retrieve all fields.

↳ page_size int

The maximum number of revisions to return per page.

↳ page_token string

The page token, received from a previous ListSchemaRevisions call. Provide this to retrieve the subsequent page.

getName

Required. The name of the schema to list revisions for.

Returns
TypeDescription
string

setName

Required. The name of the schema to list revisions for.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getView

The set of Schema fields to return in the response. If not set, returns Schemas with name and type, but not definition. Set to FULL to retrieve all fields.

Returns
TypeDescription
int

setView

The set of Schema fields to return in the response. If not set, returns Schemas with name and type, but not definition. Set to FULL to retrieve all fields.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageSize

The maximum number of revisions to return per page.

Returns
TypeDescription
int

setPageSize

The maximum number of revisions to return per page.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

The page token, received from a previous ListSchemaRevisions call.

Provide this to retrieve the subsequent page.

Returns
TypeDescription
string

setPageToken

The page token, received from a previous ListSchemaRevisions call.

Provide this to retrieve the subsequent page.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the schema to list revisions for. Please see Google\Cloud\PubSub\V1\SchemaServiceClient::schemaName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\PubSub\V1\ListSchemaRevisionsRequest