Class ProjectsResource.LocationsResource.OsPolicyAssignmentsResource.ListRevisionsRequest
List the OS policy assignment revisions for a given OS policy assignment.
Inheritance
ProjectsResource.LocationsResource.OsPolicyAssignmentsResource.ListRevisionsRequest
Inherited Members
Namespace: Google.Apis.OSConfig.v1
Assembly: Google.Apis.OSConfig.v1.dll
Syntax
public class ProjectsResource.LocationsResource.OsPolicyAssignmentsResource.ListRevisionsRequest : OSConfigBaseServiceRequest<ListOSPolicyAssignmentRevisionsResponse>, IClientServiceRequest<ListOSPolicyAssignmentRevisionsResponse>, 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 OS policy assignment 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.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A pagination token returned from a previous call to ListOSPolicyAssignmentRevisions
that
indicates where this listing should continue from.
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
Methods
InitParameters()
Initializes ListRevisions parameter list.
Declaration
protected override void InitParameters()