Class OrganizationsResource.LocationsResource.PostureTemplatesResource.ListRequest
Lists every PostureTemplate in a given organization and location.
Inheritance
OrganizationsResource.LocationsResource.PostureTemplatesResource.ListRequest
Inherited Members
Namespace: Google.Apis.SecurityPosture.v1
Assembly: Google.Apis.SecurityPosture.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.PostureTemplatesResource.ListRequest : SecurityPostureBaseServiceRequest<ListPostureTemplatesResponse>, IClientServiceRequest<ListPostureTemplatesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | parent |
Properties
Filter
Optional. A filter to apply to the list of postures, in the format defined in AIP-160: Filtering.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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
PageSize
Optional. The maximum number of posture templates 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 returned from a previous request to list posture templates. 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 |
Parent
Required. The parent resource name, in the format
organizations/{organization}/locations/global.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
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 List parameter list.
Declaration
protected override void InitParameters()