Policy Analyzer API (policyanalyzer:v1)

2024-06-04

2 new methods

Additions

    Methods
  • policyanalyzer.organizations.locations.activityTypes.activities.query

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

      Flat Path: v1/organizations/{organizationsId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query

      HTTP Method: GET

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Queries policy activities on Google Cloud resources.

      Parameters:

        filter

          Location: query

          Type: string

          Description: 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.

        pageToken

          Type: string

          Location: query

          Description: 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.

        parent

          Required: Yes

          Description: 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/

          Pattern: ^organizations/[^/]+/locations/[^/]+/activityTypes/[^/]+$

          Location: path

          Type: string

        pageSize

          Description: 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.

          Location: query

          Format: int32

          Type: integer

      Parameter Order: parent

  • policyanalyzer.folders.locations.activityTypes.activities.query

      Description: Queries policy activities on Google Cloud resources.

      Scopes: https://www.googleapis.com/auth/cloud-platform

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

      HTTP Method: GET

      Parameter Order: parent

      Flat Path: v1/folders/{foldersId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query

      Parameters:

        parent

          Description: 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/

          Location: path

          Pattern: ^folders/[^/]+/locations/[^/]+/activityTypes/[^/]+$

          Required: Yes

          Type: string

        pageSize

          Location: query

          Type: integer

          Format: int32

          Description: 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.

        filter

          Description: 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.

          Location: query

          Type: string

        pageToken

          Location: query

          Type: string

          Description: 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.