{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-iam/json-schema/google-cloud-iam-google-cloud-policyanalyzer-v1-query-activity-response-schema.json",
  "title": "GoogleCloudPolicyanalyzerV1QueryActivityResponse",
  "description": "Response to the `QueryActivity` method.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-iam-policyanalyzer-folders-api-openapi.yml#/components/schemas/GoogleCloudPolicyanalyzerV1QueryActivityResponse",
  "properties": {
    "nextPageToken": {
      "description": "If there might be more results than those appearing in this response, then `nextPageToken` is included. To get the next set of results, call this method again using the value of `nextPageToken` as `pageToken`.",
      "type": "string"
    },
    "activities": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GoogleCloudPolicyanalyzerV1Activity"
      },
      "description": "The set of activities that match the filter included in the request."
    }
  },
  "type": "object",
  "$defs": {
    "GoogleCloudPolicyanalyzerV1Activity": {
      "description": "Represents Activity on a GCP resource over specific observation period.",
      "type": "object",
      "properties": {
        "activity": {
          "type": "object",
          "description": "A struct of custom fields to explain the activity.",
          "additionalProperties": {
            "description": "Properties of the object."
          }
        },
        "observationPeriod": {
          "$ref": "#/$defs/GoogleCloudPolicyanalyzerV1ObservationPeriod",
          "description": "The data observation period to build the activity."
        },
        "fullResourceName": {
          "type": "string",
          "description": "The full resource name that identifies the resource. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names."
        },
        "activityType": {
          "description": "The type of the activity.",
          "type": "string"
        }
      }
    },
    "GoogleCloudPolicyanalyzerV1ObservationPeriod": {
      "description": "Represents data observation period.",
      "properties": {
        "startTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "The observation start time. The time in this timestamp is always `07:00:00Z`."
        },
        "endTime": {
          "description": "The observation end time. The time in this timestamp is always `07:00:00Z`.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "type": "object"
    }
  }
}