projects

Queries policy activities on Google Cloud resources.

get/v1/{+parent}/activities:query

Request

  • Base URL: https://policyanalyzer.googleapis.com
  • URL: https://policyanalyzer.googleapis.com/v1/{+parent}/activities:query
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

parentstring required

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/

Query parameters

filterstring

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.

pageSizeinteger

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.

pageTokenstring

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.

Response

Successful response

Changes

    • breaking

      removed the media type */* for the response with the status

    • info

      api operation id policyanalyzer.folders.locations.activityTypes.activities.query removed and replaced with policyanalyzer.projects.locations.activityTypes.activities.query

    • info

      api tag projects added

    • info

      api tag folders removed