• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "auth": {
3    "oauth2": {
4      "scopes": {
5        "https://www.googleapis.com/auth/cloud-platform": {
6          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
7        }
8      }
9    }
10  },
11  "basePath": "",
12  "baseUrl": "https://policyanalyzer.googleapis.com/",
13  "batchPath": "batch",
14  "canonicalName": "Policy Analyzer",
15  "description": "",
16  "discoveryVersion": "v1",
17  "documentationLink": "https://www.google.com",
18  "fullyEncodeReservedExpansion": true,
19  "icons": {
20    "x16": "http://www.google.com/images/icons/product/search-16.gif",
21    "x32": "http://www.google.com/images/icons/product/search-32.gif"
22  },
23  "id": "policyanalyzer:v1",
24  "kind": "discovery#restDescription",
25  "mtlsRootUrl": "https://policyanalyzer.mtls.googleapis.com/",
26  "name": "policyanalyzer",
27  "ownerDomain": "google.com",
28  "ownerName": "Google",
29  "parameters": {
30    "$.xgafv": {
31      "description": "V1 error format.",
32      "enum": [
33        "1",
34        "2"
35      ],
36      "enumDescriptions": [
37        "v1 error format",
38        "v2 error format"
39      ],
40      "location": "query",
41      "type": "string"
42    },
43    "access_token": {
44      "description": "OAuth access token.",
45      "location": "query",
46      "type": "string"
47    },
48    "alt": {
49      "default": "json",
50      "description": "Data format for response.",
51      "enum": [
52        "json",
53        "media",
54        "proto"
55      ],
56      "enumDescriptions": [
57        "Responses with Content-Type of application/json",
58        "Media download with context-dependent Content-Type",
59        "Responses with Content-Type of application/x-protobuf"
60      ],
61      "location": "query",
62      "type": "string"
63    },
64    "callback": {
65      "description": "JSONP",
66      "location": "query",
67      "type": "string"
68    },
69    "fields": {
70      "description": "Selector specifying which fields to include in a partial response.",
71      "location": "query",
72      "type": "string"
73    },
74    "key": {
75      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
76      "location": "query",
77      "type": "string"
78    },
79    "oauth_token": {
80      "description": "OAuth 2.0 token for the current user.",
81      "location": "query",
82      "type": "string"
83    },
84    "prettyPrint": {
85      "default": "true",
86      "description": "Returns response with indentations and line breaks.",
87      "location": "query",
88      "type": "boolean"
89    },
90    "quotaUser": {
91      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
92      "location": "query",
93      "type": "string"
94    },
95    "uploadType": {
96      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
97      "location": "query",
98      "type": "string"
99    },
100    "upload_protocol": {
101      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
102      "location": "query",
103      "type": "string"
104    }
105  },
106  "protocol": "rest",
107  "resources": {
108    "projects": {
109      "resources": {
110        "locations": {
111          "resources": {
112            "activityTypes": {
113              "resources": {
114                "activities": {
115                  "methods": {
116                    "query": {
117                      "description": "Queries policy activities on Google Cloud resources.",
118                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query",
119                      "httpMethod": "GET",
120                      "id": "policyanalyzer.projects.locations.activityTypes.activities.query",
121                      "parameterOrder": [
122                        "parent"
123                      ],
124                      "parameters": {
125                        "filter": {
126                          "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.",
127                          "location": "query",
128                          "type": "string"
129                        },
130                        "pageSize": {
131                          "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.",
132                          "format": "int32",
133                          "location": "query",
134                          "type": "integer"
135                        },
136                        "pageToken": {
137                          "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.",
138                          "location": "query",
139                          "type": "string"
140                        },
141                        "parent": {
142                          "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/",
143                          "location": "path",
144                          "pattern": "^projects/[^/]+/locations/[^/]+/activityTypes/[^/]+$",
145                          "required": true,
146                          "type": "string"
147                        }
148                      },
149                      "path": "v1/{+parent}/activities:query",
150                      "response": {
151                        "$ref": "GoogleCloudPolicyanalyzerV1QueryActivityResponse"
152                      },
153                      "scopes": [
154                        "https://www.googleapis.com/auth/cloud-platform"
155                      ]
156                    }
157                  }
158                }
159              }
160            }
161          }
162        }
163      }
164    }
165  },
166  "revision": "20211211",
167  "rootUrl": "https://policyanalyzer.googleapis.com/",
168  "schemas": {
169    "GoogleCloudPolicyanalyzerV1Activity": {
170      "id": "GoogleCloudPolicyanalyzerV1Activity",
171      "properties": {
172        "activity": {
173          "additionalProperties": {
174            "description": "Properties of the object.",
175            "type": "any"
176          },
177          "description": "A struct of custom fields to explain the activity.",
178          "type": "object"
179        },
180        "activityType": {
181          "description": "The type of the activity.",
182          "type": "string"
183        },
184        "fullResourceName": {
185          "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.",
186          "type": "string"
187        },
188        "observationPeriod": {
189          "$ref": "GoogleCloudPolicyanalyzerV1ObservationPeriod",
190          "description": "The data observation period to build the activity."
191        }
192      },
193      "type": "object"
194    },
195    "GoogleCloudPolicyanalyzerV1ObservationPeriod": {
196      "description": "Represents data observation period.",
197      "id": "GoogleCloudPolicyanalyzerV1ObservationPeriod",
198      "properties": {
199        "endTime": {
200          "description": "The observation end time. The time in this timestamp is always `07:00:00Z`.",
201          "format": "google-datetime",
202          "type": "string"
203        },
204        "startTime": {
205          "description": "The observation start time. The time in this timestamp is always `07:00:00Z`.",
206          "format": "google-datetime",
207          "type": "string"
208        }
209      },
210      "type": "object"
211    },
212    "GoogleCloudPolicyanalyzerV1QueryActivityResponse": {
213      "description": "Response to the `QueryActivity` method.",
214      "id": "GoogleCloudPolicyanalyzerV1QueryActivityResponse",
215      "properties": {
216        "activities": {
217          "description": "The set of activities that match the filter included in the request.",
218          "items": {
219            "$ref": "GoogleCloudPolicyanalyzerV1Activity"
220          },
221          "type": "array"
222        },
223        "nextPageToken": {
224          "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`.",
225          "type": "string"
226        }
227      },
228      "type": "object"
229    }
230  },
231  "servicePath": "",
232  "title": "Policy Analyzer API",
233  "version": "v1",
234  "version_module": true
235}