Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ActivityTypesResource.ActivitiesResource.QueryRequest

Queries policy activities on Google Cloud resources.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>
PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>
ProjectsResource.LocationsResource.ActivityTypesResource.ActivitiesResource.QueryRequest
Implements
IClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>
IClientServiceRequest
Inherited Members
PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.Xgafv
PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.AccessToken
PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.Alt
PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.Callback
PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.Fields
PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.Key
PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.OauthToken
PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.PrettyPrint
PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.QuotaUser
PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.UploadType
PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.Execute()
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.GetBody()
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.ETagAction
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.ApiVersion
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.RequestParameters
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PolicyAnalyzer.v1
Assembly: Google.Apis.PolicyAnalyzer.v1.dll
Syntax
public class ProjectsResource.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
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.MethodName

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
ClientServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.RestPath

Methods

InitParameters()

Initializes Query parameter list.

Declaration
protected override void InitParameters()
Overrides
PolicyAnalyzerBaseServiceRequest<GoogleCloudPolicyanalyzerV1QueryActivityResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX