Class ProjectsResource.SchemasResource.ListRevisionsRequest
Lists all schema revisions for the named schema.
Inheritance
ProjectsResource.SchemasResource.ListRevisionsRequest
Inherited Members
Namespace: Google.Apis.Pubsub.v1
Assembly: Google.Apis.Pubsub.v1.dll
Syntax
public class ProjectsResource.SchemasResource.ListRevisionsRequest : PubsubBaseServiceRequest<ListSchemaRevisionsResponse>, IClientServiceRequest<ListSchemaRevisionsResponse>, IClientServiceRequest
Constructors
ListRevisionsRequest(IClientService, string)
Constructs a new ListRevisions request.
Declaration
public ListRevisionsRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the schema to list revisions for.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
PageSize
The maximum number of revisions to return per page.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The page token, received from a previous ListSchemaRevisions call. Provide this to retrieve the subsequent page.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
View
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.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual ProjectsResource.SchemasResource.ListRevisionsRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.SchemasResource.ListRevisionsRequest.ViewEnum? |
Methods
InitParameters()
Initializes ListRevisions parameter list.
Declaration
protected override void InitParameters()