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