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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
↳ 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 | |
---|---|
Type | Description |
string |
setName
Required. The name of the schema to list revisions for.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPageSize
The maximum number of revisions to return per page.
Returns | |
---|---|
Type | Description |
int |
setPageSize
The maximum number of revisions to return per page.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPageToken
The page token, received from a previous ListSchemaRevisions call.
Provide this to retrieve the subsequent page.
Returns | |
---|---|
Type | Description |
string |
setPageToken
The page token, received from a previous ListSchemaRevisions call.
Provide this to retrieve the subsequent page.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. The name of the schema to list revisions for. Please see SchemaServiceClient::schemaName() for help formatting this field. |
Returns | |
---|---|
Type | Description |
ListSchemaRevisionsRequest |