Class FoldersResource.LocationsResource.ActivityTypesResource.ActivitiesResource.QueryRequest
Queries policy activities on Google Cloud resources.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.PolicyAnalyzer.v1
Assembly: Google.Apis.PolicyAnalyzer.v1.dll
Syntax
public class FoldersResource.LocationsResource.ActivityTypesResource.ActivitiesResource.QueryRequest : PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>, IClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>, 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. Filter expression to restrict the activities returned. For
serviceAccountLastAuthentication activities, supported filters are: -
activities.full_resource_name {=} [STRING]
- activities.fullResourceName {=} [STRING]
where [STRING]
is the full resource name of the service account. For
serviceAccountKeyLastAuthentication activities, supported filters are: -
activities.full_resource_name {=} [STRING]
- activities.fullResourceName {=} [STRING]
where [STRING]
is the full resource name of the service account key.
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 Google Cloud 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()