Debian Codegraph @

googleapiclient/discovery_cache/documents/policyanalyzer.v1beta1.json

raw
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:v1beta1",
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 "folders": {
109 "resources": {
110 "locations": {
111 "resources": {
112 "activityTypes": {
113 "resources": {
114 "activities": {
115 "methods": {
116 "query": {
117 "description": "Queries policy activities on GCP resources.",
118 "flatPath": "v1beta1/folders/{foldersId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query",
119 "httpMethod": "GET",
120 "id": "policyanalyzer.folders.locations.activityTypes.activities.query",
121 "parameterOrder": [
122 "parent"
123 ],
124 "parameters": {
125 "filter": {
126 "description": "Optional. Optional filter expression to restrict the activities returned. Supported filters are: - service_account_last_authn.full_resource_name {=} - service_account_key_last_authn.full_resource_name {=} ",
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 GCP Locations: https://cloud.google.com/about/locations/",
143 "location": "path",
144 "pattern": "^folders/[^/]+/locations/[^/]+/activityTypes/[^/]+$",
145 "required": true,
146 "type": "string"
147 }
148 },
149 "path": "v1beta1/{+parent}/activities:query",
150 "response": {
151 "$ref": "GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse"
152 },
153 "scopes": [
154 "https://www.googleapis.com/auth/cloud-platform"
155 ]
156 }
157 }
158 }
159 }
160 }
161 }
162 }
163 }
164 },
165 "organizations": {
166 "resources": {
167 "locations": {
168 "resources": {
169 "activityTypes": {
170 "resources": {
171 "activities": {
172 "methods": {
173 "query": {
174 "description": "Queries policy activities on GCP resources.",
175 "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query",
176 "httpMethod": "GET",
177 "id": "policyanalyzer.organizations.locations.activityTypes.activities.query",
178 "parameterOrder": [
179 "parent"
180 ],
181 "parameters": {
182 "filter": {
183 "description": "Optional. Optional filter expression to restrict the activities returned. Supported filters are: - service_account_last_authn.full_resource_name {=} - service_account_key_last_authn.full_resource_name {=} ",
184 "location": "query",
185 "type": "string"
186 },
187 "pageSize": {
188 "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.",
189 "format": "int32",
190 "location": "query",
191 "type": "integer"
192 },
193 "pageToken": {
194 "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.",
195 "location": "query",
196 "type": "string"
197 },
198 "parent": {
199 "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 GCP Locations: https://cloud.google.com/about/locations/",
200 "location": "path",
201 "pattern": "^organizations/[^/]+/locations/[^/]+/activityTypes/[^/]+$",
202 "required": true,
203 "type": "string"
204 }
205 },
206 "path": "v1beta1/{+parent}/activities:query",
207 "response": {
208 "$ref": "GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse"
209 },
210 "scopes": [
211 "https://www.googleapis.com/auth/cloud-platform"
212 ]
213 }
214 }
215 }
216 }
217 }
218 }
219 }
220 }
221 },
222 "projects": {
223 "resources": {
224 "locations": {
225 "resources": {
226 "activityTypes": {
227 "resources": {
228 "activities": {
229 "methods": {
230 "query": {
231 "description": "Queries policy activities on GCP resources.",
232 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query",
233 "httpMethod": "GET",
234 "id": "policyanalyzer.projects.locations.activityTypes.activities.query",
235 "parameterOrder": [
236 "parent"
237 ],
238 "parameters": {
239 "filter": {
240 "description": "Optional. Optional filter expression to restrict the activities returned. Supported filters are: - service_account_last_authn.full_resource_name {=} - service_account_key_last_authn.full_resource_name {=} ",
241 "location": "query",
242 "type": "string"
243 },
244 "pageSize": {
245 "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.",
246 "format": "int32",
247 "location": "query",
248 "type": "integer"
249 },
250 "pageToken": {
251 "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.",
252 "location": "query",
253 "type": "string"
254 },
255 "parent": {
256 "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 GCP Locations: https://cloud.google.com/about/locations/",
257 "location": "path",
258 "pattern": "^projects/[^/]+/locations/[^/]+/activityTypes/[^/]+$",
259 "required": true,
260 "type": "string"
261 }
262 },
263 "path": "v1beta1/{+parent}/activities:query",
264 "response": {
265 "$ref": "GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse"
266 },
267 "scopes": [
268 "https://www.googleapis.com/auth/cloud-platform"
269 ]
270 }
271 }
272 }
273 }
274 }
275 }
276 }
277 }
278 }
279 },
280 "revision": "20240707",
281 "rootUrl": "https://policyanalyzer.googleapis.com/",
282 "schemas": {
283 "GoogleCloudPolicyanalyzerV1beta1Activity": {
284 "description": "Represents Activity on a GCP resource over specific observation period.",
285 "id": "GoogleCloudPolicyanalyzerV1beta1Activity",
286 "properties": {
287 "activity": {
288 "additionalProperties": {
289 "description": "Properties of the object.",
290 "type": "any"
291 },
292 "description": "A struct of custom fields to explain the activity.",
293 "type": "object"
294 },
295 "activityType": {
296 "description": "The type of the activity.",
297 "type": "string"
298 },
299 "fullResourceName": {
300 "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.",
301 "type": "string"
302 },
303 "observationPeriod": {
304 "$ref": "GoogleCloudPolicyanalyzerV1beta1ObservationPeriod",
305 "description": "The data observation period to build the activity."
306 }
307 },
308 "type": "object"
309 },
310 "GoogleCloudPolicyanalyzerV1beta1ObservationPeriod": {
311 "description": "Represents data observation period.",
312 "id": "GoogleCloudPolicyanalyzerV1beta1ObservationPeriod",
313 "properties": {
314 "endTime": {
315 "description": "The observation end time.",
316 "format": "google-datetime",
317 "type": "string"
318 },
319 "startTime": {
320 "description": "The observation start time.",
321 "format": "google-datetime",
322 "type": "string"
323 }
324 },
325 "type": "object"
326 },
327 "GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse": {
328 "description": "Response to the `QueryActivity` method.",
329 "id": "GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse",
330 "properties": {
331 "activities": {
332 "description": "The set of activities that match the filter included in the request.",
333 "items": {
334 "$ref": "GoogleCloudPolicyanalyzerV1beta1Activity"
335 },
336 "type": "array"
337 },
338 "nextPageToken": {
339 "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`.",
340 "type": "string"
341 }
342 },
343 "type": "object"
344 }
345 },
346 "servicePath": "",
347 "title": "Policy Analyzer API",
348 "version": "v1beta1",
349 "version_module": true
350 }