Class OrganizationsResource.LocationsResource.PosturesResource.ListRevisionsRequest
Lists all revisions of a single Posture.
Inheritance
OrganizationsResource.LocationsResource.PosturesResource.ListRevisionsRequest
Inherited Members
Namespace: Google.Apis.SecurityPosture.v1
Assembly: Google.Apis.SecurityPosture.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.PosturesResource.ListRevisionsRequest : SecurityPostureBaseServiceRequest<ListPostureRevisionsResponse>, IClientServiceRequest<ListPostureRevisionsResponse>, 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 Posture, in the format
organizations/{organization}/locations/global/postures/{posture_id}
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
PageSize
Optional. The maximum number of posture revisions to return. The default value is 500
. If you
exceed the maximum value of 1000
, then the service uses the maximum value.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. A pagination token from a previous request to list posture revisions. Provide this token to retrieve the next page of results.
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()