Class FoldersResource.LocationsResource.ActivityTypesResource.ActivitiesResource.QueryRequest
Queries policy activities on GCP resources.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.PolicyAnalyzer.v1beta1
Assembly: Google.Apis.PolicyAnalyzer.v1beta1.dll
Syntax
public class FoldersResource.LocationsResource.ActivityTypesResource.ActivitiesResource.QueryRequest : PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse>, IClientServiceRequest<GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse>, IClientServiceRequest
Constructors
QueryRequest(IClientService, string)
Constructs a new Query request.
Declaration
public QueryRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
Filter
Optional. Optional filter expression to restrict the activities returned. Supported filters are: - service_account_last_authn.full_resource_name {=} - service_account_key_last_authn.full_resource_name {=}
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 results to return from this request. Max limit is 1000.
Non-positive values are ignored. The presence of nextPageToken
in the response indicates
that more results might be available.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. If present, then retrieve the next batch of results from the preceding call to
this method. pageToken
must be the value of nextPageToken
from the previous response.
The values of other method parameters should be identical to those in the previous call.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The container resource on which to execute the request. Acceptable formats:
projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityTypes/[ACTIVITY_TYPE]
LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/
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 Query parameter list.
Declaration
protected override void InitParameters()