@maxim_mazurok/gapi.client.securitycenter-v1 0.0.20230713 → 0.0.20230727
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1627 -299
- package/package.json +1 -1
- package/tests.ts +186 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://securitycenter.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230727
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -144,6 +144,88 @@ declare namespace gapi.client {
|
|
|
144
144
|
projectIds?:
|
|
145
145
|
string[];
|
|
146
146
|
}
|
|
147
|
+
interface AttackExposure {
|
|
148
|
+
/** The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/attackExposureResults/456 */
|
|
149
|
+
attackExposureResult?:
|
|
150
|
+
string;
|
|
151
|
+
/** The number of high value resources that are exposed as a result of this finding. */
|
|
152
|
+
exposedHighValueResourcesCount?:
|
|
153
|
+
number;
|
|
154
|
+
/** The number of high value resources that are exposed as a result of this finding. */
|
|
155
|
+
exposedLowValueResourcesCount?:
|
|
156
|
+
number;
|
|
157
|
+
/** The number of medium value resources that are exposed as a result of this finding. */
|
|
158
|
+
exposedMediumValueResourcesCount?:
|
|
159
|
+
number;
|
|
160
|
+
/** The most recent time the attack exposure was updated on this finding. */
|
|
161
|
+
latestCalculationTime?:
|
|
162
|
+
string;
|
|
163
|
+
/** A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate. */
|
|
164
|
+
score?:
|
|
165
|
+
number;
|
|
166
|
+
/** What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not. */
|
|
167
|
+
state?:
|
|
168
|
+
string;
|
|
169
|
+
}
|
|
170
|
+
interface AttackPath {
|
|
171
|
+
/** A list of the edges between nodes in this attack path. */
|
|
172
|
+
edges?:
|
|
173
|
+
AttackPathEdge[];
|
|
174
|
+
/** The attack path name, for example, `organizations/12/simulation/34/valuedResources/56/attackPaths/78` */
|
|
175
|
+
name?:
|
|
176
|
+
string;
|
|
177
|
+
/** A list of nodes that exist in this attack path. */
|
|
178
|
+
pathNodes?:
|
|
179
|
+
AttackPathNode[];
|
|
180
|
+
}
|
|
181
|
+
interface AttackPathEdge {
|
|
182
|
+
/** The attack node uuid of the destination node. */
|
|
183
|
+
destination?:
|
|
184
|
+
string;
|
|
185
|
+
/** The attack node uuid of the source node. */
|
|
186
|
+
source?:
|
|
187
|
+
string;
|
|
188
|
+
}
|
|
189
|
+
interface AttackPathNode {
|
|
190
|
+
/** The findings associated with this node in the attack path. */
|
|
191
|
+
associatedFindings?:
|
|
192
|
+
PathNodeAssociatedFinding[];
|
|
193
|
+
/** A list of attack step nodes that exist in this attack path node. */
|
|
194
|
+
attackSteps?:
|
|
195
|
+
AttackStepNode[];
|
|
196
|
+
/** Human-readable name of this resource. */
|
|
197
|
+
displayName?:
|
|
198
|
+
string;
|
|
199
|
+
/**
|
|
200
|
+
* The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory [resource name
|
|
201
|
+
* format]("https://cloud.google.com/asset-inventory/docs/resource-name-format")
|
|
202
|
+
*/
|
|
203
|
+
resource?:
|
|
204
|
+
string;
|
|
205
|
+
/** The [supported resource type](http://cloud/asset-inventory/docs/supported-asset-types") */
|
|
206
|
+
resourceType?:
|
|
207
|
+
string;
|
|
208
|
+
/** Unique id of the attack path node. */
|
|
209
|
+
uuid?:
|
|
210
|
+
string;
|
|
211
|
+
}
|
|
212
|
+
interface AttackStepNode {
|
|
213
|
+
/** Attack step description */
|
|
214
|
+
description?:
|
|
215
|
+
string;
|
|
216
|
+
/** User friendly name of the attack step */
|
|
217
|
+
displayName?:
|
|
218
|
+
string;
|
|
219
|
+
/** Attack step labels for metadata */
|
|
220
|
+
labels?:
|
|
221
|
+
{ [P in string]: string };
|
|
222
|
+
/** Attack step type. Can be either AND, OR or DEFENSE */
|
|
223
|
+
type?:
|
|
224
|
+
string;
|
|
225
|
+
/** Unique ID for one Node */
|
|
226
|
+
uuid?:
|
|
227
|
+
string;
|
|
228
|
+
}
|
|
147
229
|
interface AuditConfig {
|
|
148
230
|
/** The configuration for logging of each type of permission. */
|
|
149
231
|
auditLogConfigs?:
|
|
@@ -163,6 +245,16 @@ declare namespace gapi.client {
|
|
|
163
245
|
logType?:
|
|
164
246
|
string;
|
|
165
247
|
}
|
|
248
|
+
interface BatchCreateResourceValueConfigsRequest {
|
|
249
|
+
/** Required. The resource value configs to be created. */
|
|
250
|
+
requests?:
|
|
251
|
+
CreateResourceValueConfigRequest[];
|
|
252
|
+
}
|
|
253
|
+
interface BatchCreateResourceValueConfigsResponse {
|
|
254
|
+
/** The resource value configs created */
|
|
255
|
+
resourceValueConfigs?:
|
|
256
|
+
GoogleCloudSecuritycenterV1ResourceValueConfig[];
|
|
257
|
+
}
|
|
166
258
|
interface Binding {
|
|
167
259
|
/**
|
|
168
260
|
* The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`,
|
|
@@ -283,6 +375,32 @@ declare namespace gapi.client {
|
|
|
283
375
|
uri?:
|
|
284
376
|
string;
|
|
285
377
|
}
|
|
378
|
+
interface CreateResourceValueConfigRequest {
|
|
379
|
+
/** Required. Resource name of the new ResourceValueConfig's parent. */
|
|
380
|
+
parent?:
|
|
381
|
+
string;
|
|
382
|
+
/** Required. The resource value config being created. */
|
|
383
|
+
resourceValueConfig?:
|
|
384
|
+
GoogleCloudSecuritycenterV1ResourceValueConfig;
|
|
385
|
+
}
|
|
386
|
+
interface CustomModuleValidationError {
|
|
387
|
+
/** A description of the error, suitable for human consumption. Required. */
|
|
388
|
+
description?:
|
|
389
|
+
string;
|
|
390
|
+
/** The end position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed.. */
|
|
391
|
+
end?:
|
|
392
|
+
Position;
|
|
393
|
+
/** The path, in RFC 8901 JSON Pointer format, to the field that failed validation. This may be left empty if no specific field is affected. */
|
|
394
|
+
fieldPath?:
|
|
395
|
+
string;
|
|
396
|
+
/** The initial position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed. */
|
|
397
|
+
start?:
|
|
398
|
+
Position;
|
|
399
|
+
}
|
|
400
|
+
interface CustomModuleValidationErrors {
|
|
401
|
+
errors?:
|
|
402
|
+
CustomModuleValidationError[];
|
|
403
|
+
}
|
|
286
404
|
interface Cve {
|
|
287
405
|
/** Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document */
|
|
288
406
|
cvssv3?:
|
|
@@ -372,6 +490,35 @@ declare namespace gapi.client {
|
|
|
372
490
|
val?:
|
|
373
491
|
string;
|
|
374
492
|
}
|
|
493
|
+
interface EventThreatDetectionCustomModule {
|
|
494
|
+
/** Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module. */
|
|
495
|
+
config?:
|
|
496
|
+
{ [P in string]: any };
|
|
497
|
+
/** The description for the module. */
|
|
498
|
+
description?:
|
|
499
|
+
string;
|
|
500
|
+
/** The human readable name to be displayed for the module. */
|
|
501
|
+
displayName?:
|
|
502
|
+
string;
|
|
503
|
+
/** The state of enablement for the module at the given level of the hierarchy. */
|
|
504
|
+
enablementState?:
|
|
505
|
+
string;
|
|
506
|
+
/** Output only. The editor the module was last updated by. */
|
|
507
|
+
lastEditor?:
|
|
508
|
+
string;
|
|
509
|
+
/**
|
|
510
|
+
* Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". *
|
|
511
|
+
* "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * "projects/{project}/eventThreatDetectionSettings/customModules/{module}".
|
|
512
|
+
*/
|
|
513
|
+
name?:
|
|
514
|
+
string;
|
|
515
|
+
/** Type for the module. e.g. CONFIGURABLE_BAD_IP. */
|
|
516
|
+
type?:
|
|
517
|
+
string;
|
|
518
|
+
/** Output only. The time the module was last updated. */
|
|
519
|
+
updateTime?:
|
|
520
|
+
string;
|
|
521
|
+
}
|
|
375
522
|
interface ExfilResource {
|
|
376
523
|
/**
|
|
377
524
|
* Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated
|
|
@@ -429,6 +576,9 @@ declare namespace gapi.client {
|
|
|
429
576
|
/** Access details associated with the finding, such as more information on the caller, which method was accessed, and from where. */
|
|
430
577
|
access?:
|
|
431
578
|
Access;
|
|
579
|
+
/** The results of an attack path simulation relevant to this finding. */
|
|
580
|
+
attackExposure?:
|
|
581
|
+
AttackExposure;
|
|
432
582
|
/**
|
|
433
583
|
* The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
|
|
434
584
|
* "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of
|
|
@@ -959,6 +1109,44 @@ declare namespace gapi.client {
|
|
|
959
1109
|
resourceTypes?:
|
|
960
1110
|
string[];
|
|
961
1111
|
}
|
|
1112
|
+
interface GoogleCloudSecuritycenterV1ResourceValueConfig {
|
|
1113
|
+
/** Output only. Timestamp this resource value config was created. */
|
|
1114
|
+
createTime?:
|
|
1115
|
+
string;
|
|
1116
|
+
/** Description of the resource value config. */
|
|
1117
|
+
description?:
|
|
1118
|
+
string;
|
|
1119
|
+
/** Name for the resource value config */
|
|
1120
|
+
name?:
|
|
1121
|
+
string;
|
|
1122
|
+
/**
|
|
1123
|
+
* List of resource labels to search for, evaluated with AND. E.g. "resource_labels_selector": {"key": "value", "env": "prod"} will match resources with labels "key": "value" AND
|
|
1124
|
+
* "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels
|
|
1125
|
+
*/
|
|
1126
|
+
resourceLabelsSelector?:
|
|
1127
|
+
{ [P in string]: string };
|
|
1128
|
+
/**
|
|
1129
|
+
* Apply resource_value only to resources that match resource_type. resource_type will be checked with "AND" of other resources. E.g. "storage.googleapis.com/Bucket" with
|
|
1130
|
+
* resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
|
|
1131
|
+
*/
|
|
1132
|
+
resourceType?:
|
|
1133
|
+
string;
|
|
1134
|
+
/** Required. Resource value level this expression represents */
|
|
1135
|
+
resourceValue?:
|
|
1136
|
+
string;
|
|
1137
|
+
/** Project or folder to scope this config to. For example, "project/456" would apply this config only to resources in "project/456" scope will be checked with "AND" of other resources. */
|
|
1138
|
+
scope?:
|
|
1139
|
+
string;
|
|
1140
|
+
/**
|
|
1141
|
+
* Required. Tag values combined with AND to check against. Values in the form "tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
|
|
1142
|
+
* https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
|
|
1143
|
+
*/
|
|
1144
|
+
tagValues?:
|
|
1145
|
+
string[];
|
|
1146
|
+
/** Output only. Timestamp this resource value config was last updated. */
|
|
1147
|
+
updateTime?:
|
|
1148
|
+
string;
|
|
1149
|
+
}
|
|
962
1150
|
interface GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse {
|
|
963
1151
|
/** The duration between asset discovery run start and end */
|
|
964
1152
|
duration?:
|
|
@@ -1262,6 +1450,14 @@ declare namespace gapi.client {
|
|
|
1262
1450
|
stateChange?:
|
|
1263
1451
|
string;
|
|
1264
1452
|
}
|
|
1453
|
+
interface ListAttackPathsResponse {
|
|
1454
|
+
/** The attack paths that the attack path simulation identified. */
|
|
1455
|
+
attackPaths?:
|
|
1456
|
+
AttackPath[];
|
|
1457
|
+
/** Token to retrieve the next page of results, or empty if there are no more results. */
|
|
1458
|
+
nextPageToken?:
|
|
1459
|
+
string;
|
|
1460
|
+
}
|
|
1265
1461
|
interface ListBigQueryExportsResponse {
|
|
1266
1462
|
/** The BigQuery exports from the specified parent. */
|
|
1267
1463
|
bigQueryExports?:
|
|
@@ -1286,6 +1482,14 @@ declare namespace gapi.client {
|
|
|
1286
1482
|
nextPageToken?:
|
|
1287
1483
|
string;
|
|
1288
1484
|
}
|
|
1485
|
+
interface ListEventThreatDetectionCustomModulesResponse {
|
|
1486
|
+
/** Custom modules belonging to the requested parent. */
|
|
1487
|
+
eventThreatDetectionCustomModules?:
|
|
1488
|
+
EventThreatDetectionCustomModule[];
|
|
1489
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
1490
|
+
nextPageToken?:
|
|
1491
|
+
string;
|
|
1492
|
+
}
|
|
1289
1493
|
interface ListFindingsResponse {
|
|
1290
1494
|
/** Findings matching the list request. */
|
|
1291
1495
|
listFindingsResults?:
|
|
@@ -1335,6 +1539,14 @@ declare namespace gapi.client {
|
|
|
1335
1539
|
operations?:
|
|
1336
1540
|
Operation[];
|
|
1337
1541
|
}
|
|
1542
|
+
interface ListResourceValueConfigsResponse {
|
|
1543
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. */
|
|
1544
|
+
nextPageToken?:
|
|
1545
|
+
string;
|
|
1546
|
+
/** The resource value configs from the specified parent. */
|
|
1547
|
+
resourceValueConfigs?:
|
|
1548
|
+
GoogleCloudSecuritycenterV1ResourceValueConfig[];
|
|
1549
|
+
}
|
|
1338
1550
|
interface ListSecurityHealthAnalyticsCustomModulesResponse {
|
|
1339
1551
|
/** If not empty, indicates that there may be more custom modules to be returned. */
|
|
1340
1552
|
nextPageToken?:
|
|
@@ -1351,6 +1563,17 @@ declare namespace gapi.client {
|
|
|
1351
1563
|
sources?:
|
|
1352
1564
|
Source[];
|
|
1353
1565
|
}
|
|
1566
|
+
interface ListValuedResourcesResponse {
|
|
1567
|
+
/** Token to retrieve the next page of results, or empty if there are no more results. */
|
|
1568
|
+
nextPageToken?:
|
|
1569
|
+
string;
|
|
1570
|
+
/** The estimated total number of results matching the query. */
|
|
1571
|
+
totalSize?:
|
|
1572
|
+
number;
|
|
1573
|
+
/** The valued resources that the attack path simulation identified. */
|
|
1574
|
+
valuedResources?:
|
|
1575
|
+
ValuedResource[];
|
|
1576
|
+
}
|
|
1354
1577
|
interface MemoryHashSignature {
|
|
1355
1578
|
/** The binary family. */
|
|
1356
1579
|
binaryFamily?:
|
|
@@ -1458,6 +1681,17 @@ declare namespace gapi.client {
|
|
|
1458
1681
|
name?:
|
|
1459
1682
|
string;
|
|
1460
1683
|
}
|
|
1684
|
+
interface PathNodeAssociatedFinding {
|
|
1685
|
+
/** Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789 */
|
|
1686
|
+
canonicalFinding?:
|
|
1687
|
+
string;
|
|
1688
|
+
/** The additional taxonomy group within findings from a given source. */
|
|
1689
|
+
findingCategory?:
|
|
1690
|
+
string;
|
|
1691
|
+
/** Full resource name of the finding. */
|
|
1692
|
+
name?:
|
|
1693
|
+
string;
|
|
1694
|
+
}
|
|
1461
1695
|
interface Pod {
|
|
1462
1696
|
/** Pod containers associated with this finding, if any. */
|
|
1463
1697
|
containers?:
|
|
@@ -1504,6 +1738,12 @@ declare namespace gapi.client {
|
|
|
1504
1738
|
version?:
|
|
1505
1739
|
number;
|
|
1506
1740
|
}
|
|
1741
|
+
interface Position {
|
|
1742
|
+
columnNumber?:
|
|
1743
|
+
number;
|
|
1744
|
+
lineNumber?:
|
|
1745
|
+
number;
|
|
1746
|
+
}
|
|
1507
1747
|
interface Process {
|
|
1508
1748
|
/** Process arguments as JSON encoded strings. */
|
|
1509
1749
|
args?:
|
|
@@ -1581,6 +1821,11 @@ declare namespace gapi.client {
|
|
|
1581
1821
|
type?:
|
|
1582
1822
|
string;
|
|
1583
1823
|
}
|
|
1824
|
+
interface ResourceValueConfigMetadata {
|
|
1825
|
+
/** Resource value config name */
|
|
1826
|
+
name?:
|
|
1827
|
+
string;
|
|
1828
|
+
}
|
|
1584
1829
|
interface Role {
|
|
1585
1830
|
/** Role type. */
|
|
1586
1831
|
kind?:
|
|
@@ -1691,6 +1936,17 @@ declare namespace gapi.client {
|
|
|
1691
1936
|
mute?:
|
|
1692
1937
|
string;
|
|
1693
1938
|
}
|
|
1939
|
+
interface Simulation {
|
|
1940
|
+
/** Output only. Time simulation was created */
|
|
1941
|
+
createTime?:
|
|
1942
|
+
string;
|
|
1943
|
+
/** Full resource name of the Simulation: organizations/123/simulations/456 */
|
|
1944
|
+
name?:
|
|
1945
|
+
string;
|
|
1946
|
+
/** Resource value configurations' metadata used in this simulation. Maximum of 100. */
|
|
1947
|
+
resourceValueConfigsMetadata?:
|
|
1948
|
+
ResourceValueConfigMetadata[];
|
|
1949
|
+
}
|
|
1694
1950
|
interface Source {
|
|
1695
1951
|
/**
|
|
1696
1952
|
* The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}", "folders/{folder_id}/sources/{source_id}" or
|
|
@@ -1766,6 +2022,42 @@ declare namespace gapi.client {
|
|
|
1766
2022
|
permissions?:
|
|
1767
2023
|
string[];
|
|
1768
2024
|
}
|
|
2025
|
+
interface ValidateEventThreatDetectionCustomModuleRequest {
|
|
2026
|
+
/** Required. The raw text of the module's contents. Used to generate error messages. */
|
|
2027
|
+
rawText?:
|
|
2028
|
+
string;
|
|
2029
|
+
/** Required. The type of the module (e.g. CONFIGURABLE_BAD_IP). */
|
|
2030
|
+
type?:
|
|
2031
|
+
string;
|
|
2032
|
+
}
|
|
2033
|
+
interface ValidateEventThreatDetectionCustomModuleResponse {
|
|
2034
|
+
/** A list of errors returned by the validator. If the list is empty, there were no errors. */
|
|
2035
|
+
errors?:
|
|
2036
|
+
CustomModuleValidationErrors;
|
|
2037
|
+
}
|
|
2038
|
+
interface ValuedResource {
|
|
2039
|
+
/** Human-readable name of the valued resource. */
|
|
2040
|
+
displayName?:
|
|
2041
|
+
string;
|
|
2042
|
+
/** Exposed score for this valued resource. A value of 0 means no exposure was detected exposure. */
|
|
2043
|
+
exposedScore?:
|
|
2044
|
+
number;
|
|
2045
|
+
/** Valued resource name, for example, e.g.: `organizations/123/simulations/456/valuedResources/789` */
|
|
2046
|
+
name?:
|
|
2047
|
+
string;
|
|
2048
|
+
/** The [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) of the valued resource. */
|
|
2049
|
+
resource?:
|
|
2050
|
+
string;
|
|
2051
|
+
/** The [resource type](https://cloud.google.com/asset-inventory/docs/supported-asset-types) of the valued resource. */
|
|
2052
|
+
resourceType?:
|
|
2053
|
+
string;
|
|
2054
|
+
/** How valuable this resource is. */
|
|
2055
|
+
resourceValue?:
|
|
2056
|
+
string;
|
|
2057
|
+
/** List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100. */
|
|
2058
|
+
resourceValueConfigsUsed?:
|
|
2059
|
+
ResourceValueConfigMetadata[];
|
|
2060
|
+
}
|
|
1769
2061
|
interface Vulnerability {
|
|
1770
2062
|
/** CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
|
|
1771
2063
|
cve?:
|
|
@@ -5051,12 +5343,9 @@ declare namespace gapi.client {
|
|
|
5051
5343
|
},
|
|
5052
5344
|
body: GoogleCloudSecuritycenterV1BigQueryExport): Request<GoogleCloudSecuritycenterV1BigQueryExport>;
|
|
5053
5345
|
}
|
|
5054
|
-
interface
|
|
5055
|
-
/**
|
|
5056
|
-
|
|
5057
|
-
* after the LRO is done.
|
|
5058
|
-
*/
|
|
5059
|
-
bulkMute(request: {
|
|
5346
|
+
interface CustomModulesResource {
|
|
5347
|
+
/** Creates an Event Threat Detection custom module. */
|
|
5348
|
+
create(request: {
|
|
5060
5349
|
/** V1 error format. */
|
|
5061
5350
|
"$.xgafv"?:
|
|
5062
5351
|
string;
|
|
@@ -5078,7 +5367,7 @@ declare namespace gapi.client {
|
|
|
5078
5367
|
/** OAuth 2.0 token for the current user. */
|
|
5079
5368
|
oauth_token?:
|
|
5080
5369
|
string;
|
|
5081
|
-
/** Required. The
|
|
5370
|
+
/** Required. The new custom module's parent. Its format is: * "organizations/{organization}/eventThreatDetectionSettings". */
|
|
5082
5371
|
parent:
|
|
5083
5372
|
string;
|
|
5084
5373
|
/** Returns response with indentations and line breaks. */
|
|
@@ -5095,9 +5384,9 @@ declare namespace gapi.client {
|
|
|
5095
5384
|
string;
|
|
5096
5385
|
/** Request body */
|
|
5097
5386
|
resource:
|
|
5098
|
-
|
|
5099
|
-
}): Request<
|
|
5100
|
-
|
|
5387
|
+
EventThreatDetectionCustomModule;
|
|
5388
|
+
}): Request<EventThreatDetectionCustomModule>;
|
|
5389
|
+
create(request: {
|
|
5101
5390
|
/** V1 error format. */
|
|
5102
5391
|
"$.xgafv"?:
|
|
5103
5392
|
string;
|
|
@@ -5119,7 +5408,7 @@ declare namespace gapi.client {
|
|
|
5119
5408
|
/** OAuth 2.0 token for the current user. */
|
|
5120
5409
|
oauth_token?:
|
|
5121
5410
|
string;
|
|
5122
|
-
/** Required. The
|
|
5411
|
+
/** Required. The new custom module's parent. Its format is: * "organizations/{organization}/eventThreatDetectionSettings". */
|
|
5123
5412
|
parent:
|
|
5124
5413
|
string;
|
|
5125
5414
|
/** Returns response with indentations and line breaks. */
|
|
@@ -5135,11 +5424,9 @@ declare namespace gapi.client {
|
|
|
5135
5424
|
uploadType?:
|
|
5136
5425
|
string;
|
|
5137
5426
|
},
|
|
5138
|
-
body:
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
/** Creates a mute config. */
|
|
5142
|
-
create(request: {
|
|
5427
|
+
body: EventThreatDetectionCustomModule): Request<EventThreatDetectionCustomModule>;
|
|
5428
|
+
/** Deletes an Event Threat Detection custom module. */
|
|
5429
|
+
delete(request?: {
|
|
5143
5430
|
/** V1 error format. */
|
|
5144
5431
|
"$.xgafv"?:
|
|
5145
5432
|
string;
|
|
@@ -5158,18 +5445,12 @@ declare namespace gapi.client {
|
|
|
5158
5445
|
/** 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. */
|
|
5159
5446
|
key?:
|
|
5160
5447
|
string;
|
|
5161
|
-
/**
|
|
5162
|
-
|
|
5163
|
-
* with either a letter or a number, and must be 63 characters or less.
|
|
5164
|
-
*/
|
|
5165
|
-
muteConfigId?:
|
|
5448
|
+
/** Required. Name of the custom module to delete. Its format is: * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". */
|
|
5449
|
+
name:
|
|
5166
5450
|
string;
|
|
5167
5451
|
/** OAuth 2.0 token for the current user. */
|
|
5168
5452
|
oauth_token?:
|
|
5169
5453
|
string;
|
|
5170
|
-
/** Required. Resource name of the new mute configs's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". */
|
|
5171
|
-
parent:
|
|
5172
|
-
string;
|
|
5173
5454
|
/** Returns response with indentations and line breaks. */
|
|
5174
5455
|
prettyPrint?:
|
|
5175
5456
|
boolean;
|
|
@@ -5182,11 +5463,9 @@ declare namespace gapi.client {
|
|
|
5182
5463
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5183
5464
|
uploadType?:
|
|
5184
5465
|
string;
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
}): Request<GoogleCloudSecuritycenterV1MuteConfig>;
|
|
5189
|
-
create(request: {
|
|
5466
|
+
}): Request<{}>;
|
|
5467
|
+
/** Gets an Event Threat Detection custom module. */
|
|
5468
|
+
get(request?: {
|
|
5190
5469
|
/** V1 error format. */
|
|
5191
5470
|
"$.xgafv"?:
|
|
5192
5471
|
string;
|
|
@@ -5205,18 +5484,12 @@ declare namespace gapi.client {
|
|
|
5205
5484
|
/** 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. */
|
|
5206
5485
|
key?:
|
|
5207
5486
|
string;
|
|
5208
|
-
/**
|
|
5209
|
-
|
|
5210
|
-
* with either a letter or a number, and must be 63 characters or less.
|
|
5211
|
-
*/
|
|
5212
|
-
muteConfigId?:
|
|
5487
|
+
/** Required. Name of the custom module to get. Its format is: * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". */
|
|
5488
|
+
name:
|
|
5213
5489
|
string;
|
|
5214
5490
|
/** OAuth 2.0 token for the current user. */
|
|
5215
5491
|
oauth_token?:
|
|
5216
5492
|
string;
|
|
5217
|
-
/** Required. Resource name of the new mute configs's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". */
|
|
5218
|
-
parent:
|
|
5219
|
-
string;
|
|
5220
5493
|
/** Returns response with indentations and line breaks. */
|
|
5221
5494
|
prettyPrint?:
|
|
5222
5495
|
boolean;
|
|
@@ -5229,10 +5502,9 @@ declare namespace gapi.client {
|
|
|
5229
5502
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5230
5503
|
uploadType?:
|
|
5231
5504
|
string;
|
|
5232
|
-
}
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
delete(request?: {
|
|
5505
|
+
}): Request<EventThreatDetectionCustomModule>;
|
|
5506
|
+
/** Lists Event Threat Detection custom modules. */
|
|
5507
|
+
list(request?: {
|
|
5236
5508
|
/** V1 error format. */
|
|
5237
5509
|
"$.xgafv"?:
|
|
5238
5510
|
string;
|
|
@@ -5251,14 +5523,23 @@ declare namespace gapi.client {
|
|
|
5251
5523
|
/** 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. */
|
|
5252
5524
|
key?:
|
|
5253
5525
|
string;
|
|
5526
|
+
/** OAuth 2.0 token for the current user. */
|
|
5527
|
+
oauth_token?:
|
|
5528
|
+
string;
|
|
5254
5529
|
/**
|
|
5255
|
-
*
|
|
5256
|
-
*
|
|
5530
|
+
* The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values
|
|
5531
|
+
* above 1000 will be coerced to 1000.
|
|
5257
5532
|
*/
|
|
5258
|
-
|
|
5533
|
+
pageSize?:
|
|
5534
|
+
number;
|
|
5535
|
+
/**
|
|
5536
|
+
* A page token, received from a previous `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided
|
|
5537
|
+
* to `ListEventThreatDetectionCustomModules` must match the call that provided the page token.
|
|
5538
|
+
*/
|
|
5539
|
+
pageToken?:
|
|
5259
5540
|
string;
|
|
5260
|
-
/**
|
|
5261
|
-
|
|
5541
|
+
/** Required. Name of the parent to list custom modules under. Its format is: * "organizations/{organization}/eventThreatDetectionSettings". */
|
|
5542
|
+
parent:
|
|
5262
5543
|
string;
|
|
5263
5544
|
/** Returns response with indentations and line breaks. */
|
|
5264
5545
|
prettyPrint?:
|
|
@@ -5272,9 +5553,9 @@ declare namespace gapi.client {
|
|
|
5272
5553
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5273
5554
|
uploadType?:
|
|
5274
5555
|
string;
|
|
5275
|
-
}): Request<
|
|
5276
|
-
/**
|
|
5277
|
-
|
|
5556
|
+
}): Request<ListEventThreatDetectionCustomModulesResponse>;
|
|
5557
|
+
/** Updates an Event Threat Detection custom module. */
|
|
5558
|
+
patch(request: {
|
|
5278
5559
|
/** V1 error format. */
|
|
5279
5560
|
"$.xgafv"?:
|
|
5280
5561
|
string;
|
|
@@ -5294,8 +5575,8 @@ declare namespace gapi.client {
|
|
|
5294
5575
|
key?:
|
|
5295
5576
|
string;
|
|
5296
5577
|
/**
|
|
5297
|
-
*
|
|
5298
|
-
* projects/{project}/
|
|
5578
|
+
* Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". *
|
|
5579
|
+
* "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * "projects/{project}/eventThreatDetectionSettings/customModules/{module}".
|
|
5299
5580
|
*/
|
|
5300
5581
|
name:
|
|
5301
5582
|
string;
|
|
@@ -5308,15 +5589,20 @@ declare namespace gapi.client {
|
|
|
5308
5589
|
/** 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. */
|
|
5309
5590
|
quotaUser?:
|
|
5310
5591
|
string;
|
|
5592
|
+
/** The list of fields to be updated. If empty all mutable fields will be updated. */
|
|
5593
|
+
updateMask?:
|
|
5594
|
+
string;
|
|
5311
5595
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5312
5596
|
upload_protocol?:
|
|
5313
5597
|
string;
|
|
5314
5598
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5315
5599
|
uploadType?:
|
|
5316
5600
|
string;
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5601
|
+
/** Request body */
|
|
5602
|
+
resource:
|
|
5603
|
+
EventThreatDetectionCustomModule;
|
|
5604
|
+
}): Request<EventThreatDetectionCustomModule>;
|
|
5605
|
+
patch(request: {
|
|
5320
5606
|
/** V1 error format. */
|
|
5321
5607
|
"$.xgafv"?:
|
|
5322
5608
|
string;
|
|
@@ -5335,23 +5621,14 @@ declare namespace gapi.client {
|
|
|
5335
5621
|
/** 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. */
|
|
5336
5622
|
key?:
|
|
5337
5623
|
string;
|
|
5338
|
-
/** OAuth 2.0 token for the current user. */
|
|
5339
|
-
oauth_token?:
|
|
5340
|
-
string;
|
|
5341
|
-
/**
|
|
5342
|
-
* The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values
|
|
5343
|
-
* above 1000 will be coerced to 1000.
|
|
5344
|
-
*/
|
|
5345
|
-
pageSize?:
|
|
5346
|
-
number;
|
|
5347
5624
|
/**
|
|
5348
|
-
*
|
|
5349
|
-
*
|
|
5625
|
+
* Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". *
|
|
5626
|
+
* "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * "projects/{project}/eventThreatDetectionSettings/customModules/{module}".
|
|
5350
5627
|
*/
|
|
5351
|
-
|
|
5628
|
+
name:
|
|
5352
5629
|
string;
|
|
5353
|
-
/**
|
|
5354
|
-
|
|
5630
|
+
/** OAuth 2.0 token for the current user. */
|
|
5631
|
+
oauth_token?:
|
|
5355
5632
|
string;
|
|
5356
5633
|
/** Returns response with indentations and line breaks. */
|
|
5357
5634
|
prettyPrint?:
|
|
@@ -5359,15 +5636,21 @@ declare namespace gapi.client {
|
|
|
5359
5636
|
/** 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. */
|
|
5360
5637
|
quotaUser?:
|
|
5361
5638
|
string;
|
|
5639
|
+
/** The list of fields to be updated. If empty all mutable fields will be updated. */
|
|
5640
|
+
updateMask?:
|
|
5641
|
+
string;
|
|
5362
5642
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5363
5643
|
upload_protocol?:
|
|
5364
5644
|
string;
|
|
5365
5645
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5366
5646
|
uploadType?:
|
|
5367
5647
|
string;
|
|
5368
|
-
}
|
|
5369
|
-
|
|
5370
|
-
|
|
5648
|
+
},
|
|
5649
|
+
body: EventThreatDetectionCustomModule): Request<EventThreatDetectionCustomModule>;
|
|
5650
|
+
}
|
|
5651
|
+
interface EventThreatDetectionSettingsResource {
|
|
5652
|
+
/** Validates the given Event Threat Detection custom module. */
|
|
5653
|
+
validateCustomModule(request: {
|
|
5371
5654
|
/** V1 error format. */
|
|
5372
5655
|
"$.xgafv"?:
|
|
5373
5656
|
string;
|
|
@@ -5386,24 +5669,18 @@ declare namespace gapi.client {
|
|
|
5386
5669
|
/** 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. */
|
|
5387
5670
|
key?:
|
|
5388
5671
|
string;
|
|
5389
|
-
/**
|
|
5390
|
-
* This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}"
|
|
5391
|
-
* "projects/{project}/muteConfigs/{mute_config}"
|
|
5392
|
-
*/
|
|
5393
|
-
name:
|
|
5394
|
-
string;
|
|
5395
5672
|
/** OAuth 2.0 token for the current user. */
|
|
5396
5673
|
oauth_token?:
|
|
5397
5674
|
string;
|
|
5675
|
+
/** Required. Resource name of the parent to validate the Custom Module under. Its format is: * "organizations/{organization}/eventThreatDetectionSettings". */
|
|
5676
|
+
parent:
|
|
5677
|
+
string;
|
|
5398
5678
|
/** Returns response with indentations and line breaks. */
|
|
5399
5679
|
prettyPrint?:
|
|
5400
5680
|
boolean;
|
|
5401
5681
|
/** 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. */
|
|
5402
5682
|
quotaUser?:
|
|
5403
5683
|
string;
|
|
5404
|
-
/** The list of fields to be updated. If empty all mutable fields will be updated. */
|
|
5405
|
-
updateMask?:
|
|
5406
|
-
string;
|
|
5407
5684
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5408
5685
|
upload_protocol?:
|
|
5409
5686
|
string;
|
|
@@ -5412,9 +5689,9 @@ declare namespace gapi.client {
|
|
|
5412
5689
|
string;
|
|
5413
5690
|
/** Request body */
|
|
5414
5691
|
resource:
|
|
5415
|
-
|
|
5416
|
-
}): Request<
|
|
5417
|
-
|
|
5692
|
+
ValidateEventThreatDetectionCustomModuleRequest;
|
|
5693
|
+
}): Request<ValidateEventThreatDetectionCustomModuleResponse>;
|
|
5694
|
+
validateCustomModule(request: {
|
|
5418
5695
|
/** V1 error format. */
|
|
5419
5696
|
"$.xgafv"?:
|
|
5420
5697
|
string;
|
|
@@ -5433,24 +5710,18 @@ declare namespace gapi.client {
|
|
|
5433
5710
|
/** 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. */
|
|
5434
5711
|
key?:
|
|
5435
5712
|
string;
|
|
5436
|
-
/**
|
|
5437
|
-
* This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}"
|
|
5438
|
-
* "projects/{project}/muteConfigs/{mute_config}"
|
|
5439
|
-
*/
|
|
5440
|
-
name:
|
|
5441
|
-
string;
|
|
5442
5713
|
/** OAuth 2.0 token for the current user. */
|
|
5443
5714
|
oauth_token?:
|
|
5444
5715
|
string;
|
|
5716
|
+
/** Required. Resource name of the parent to validate the Custom Module under. Its format is: * "organizations/{organization}/eventThreatDetectionSettings". */
|
|
5717
|
+
parent:
|
|
5718
|
+
string;
|
|
5445
5719
|
/** Returns response with indentations and line breaks. */
|
|
5446
5720
|
prettyPrint?:
|
|
5447
5721
|
boolean;
|
|
5448
5722
|
/** 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. */
|
|
5449
5723
|
quotaUser?:
|
|
5450
5724
|
string;
|
|
5451
|
-
/** The list of fields to be updated. If empty all mutable fields will be updated. */
|
|
5452
|
-
updateMask?:
|
|
5453
|
-
string;
|
|
5454
5725
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5455
5726
|
upload_protocol?:
|
|
5456
5727
|
string;
|
|
@@ -5458,11 +5729,16 @@ declare namespace gapi.client {
|
|
|
5458
5729
|
uploadType?:
|
|
5459
5730
|
string;
|
|
5460
5731
|
},
|
|
5461
|
-
body:
|
|
5732
|
+
body: ValidateEventThreatDetectionCustomModuleRequest): Request<ValidateEventThreatDetectionCustomModuleResponse>;
|
|
5733
|
+
customModules:
|
|
5734
|
+
CustomModulesResource;
|
|
5462
5735
|
}
|
|
5463
|
-
interface
|
|
5464
|
-
/**
|
|
5465
|
-
|
|
5736
|
+
interface FindingsResource {
|
|
5737
|
+
/**
|
|
5738
|
+
* Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an organization, folder or project. The findings matched by the filter will be muted
|
|
5739
|
+
* after the LRO is done.
|
|
5740
|
+
*/
|
|
5741
|
+
bulkMute(request: {
|
|
5466
5742
|
/** V1 error format. */
|
|
5467
5743
|
"$.xgafv"?:
|
|
5468
5744
|
string;
|
|
@@ -5475,12 +5751,6 @@ declare namespace gapi.client {
|
|
|
5475
5751
|
/** JSONP */
|
|
5476
5752
|
callback?:
|
|
5477
5753
|
string;
|
|
5478
|
-
/**
|
|
5479
|
-
* Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens
|
|
5480
|
-
* only.
|
|
5481
|
-
*/
|
|
5482
|
-
configId?:
|
|
5483
|
-
string;
|
|
5484
5754
|
/** Selector specifying which fields to include in a partial response. */
|
|
5485
5755
|
fields?:
|
|
5486
5756
|
string;
|
|
@@ -5490,7 +5760,7 @@ declare namespace gapi.client {
|
|
|
5490
5760
|
/** OAuth 2.0 token for the current user. */
|
|
5491
5761
|
oauth_token?:
|
|
5492
5762
|
string;
|
|
5493
|
-
/** Required.
|
|
5763
|
+
/** Required. The parent, at which bulk action needs to be applied. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". */
|
|
5494
5764
|
parent:
|
|
5495
5765
|
string;
|
|
5496
5766
|
/** Returns response with indentations and line breaks. */
|
|
@@ -5507,9 +5777,9 @@ declare namespace gapi.client {
|
|
|
5507
5777
|
string;
|
|
5508
5778
|
/** Request body */
|
|
5509
5779
|
resource:
|
|
5510
|
-
|
|
5511
|
-
}): Request<
|
|
5512
|
-
|
|
5780
|
+
BulkMuteFindingsRequest;
|
|
5781
|
+
}): Request<Operation>;
|
|
5782
|
+
bulkMute(request: {
|
|
5513
5783
|
/** V1 error format. */
|
|
5514
5784
|
"$.xgafv"?:
|
|
5515
5785
|
string;
|
|
@@ -5522,12 +5792,6 @@ declare namespace gapi.client {
|
|
|
5522
5792
|
/** JSONP */
|
|
5523
5793
|
callback?:
|
|
5524
5794
|
string;
|
|
5525
|
-
/**
|
|
5526
|
-
* Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens
|
|
5527
|
-
* only.
|
|
5528
|
-
*/
|
|
5529
|
-
configId?:
|
|
5530
|
-
string;
|
|
5531
5795
|
/** Selector specifying which fields to include in a partial response. */
|
|
5532
5796
|
fields?:
|
|
5533
5797
|
string;
|
|
@@ -5537,7 +5801,7 @@ declare namespace gapi.client {
|
|
|
5537
5801
|
/** OAuth 2.0 token for the current user. */
|
|
5538
5802
|
oauth_token?:
|
|
5539
5803
|
string;
|
|
5540
|
-
/** Required.
|
|
5804
|
+
/** Required. The parent, at which bulk action needs to be applied. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". */
|
|
5541
5805
|
parent:
|
|
5542
5806
|
string;
|
|
5543
5807
|
/** Returns response with indentations and line breaks. */
|
|
@@ -5553,9 +5817,11 @@ declare namespace gapi.client {
|
|
|
5553
5817
|
uploadType?:
|
|
5554
5818
|
string;
|
|
5555
5819
|
},
|
|
5556
|
-
body:
|
|
5557
|
-
|
|
5558
|
-
|
|
5820
|
+
body: BulkMuteFindingsRequest): Request<Operation>;
|
|
5821
|
+
}
|
|
5822
|
+
interface MuteConfigsResource {
|
|
5823
|
+
/** Creates a mute config. */
|
|
5824
|
+
create(request: {
|
|
5559
5825
|
/** V1 error format. */
|
|
5560
5826
|
"$.xgafv"?:
|
|
5561
5827
|
string;
|
|
@@ -5575,14 +5841,17 @@ declare namespace gapi.client {
|
|
|
5575
5841
|
key?:
|
|
5576
5842
|
string;
|
|
5577
5843
|
/**
|
|
5578
|
-
* Required.
|
|
5579
|
-
*
|
|
5844
|
+
* Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end
|
|
5845
|
+
* with either a letter or a number, and must be 63 characters or less.
|
|
5580
5846
|
*/
|
|
5581
|
-
|
|
5847
|
+
muteConfigId?:
|
|
5582
5848
|
string;
|
|
5583
5849
|
/** OAuth 2.0 token for the current user. */
|
|
5584
5850
|
oauth_token?:
|
|
5585
5851
|
string;
|
|
5852
|
+
/** Required. Resource name of the new mute configs's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". */
|
|
5853
|
+
parent:
|
|
5854
|
+
string;
|
|
5586
5855
|
/** Returns response with indentations and line breaks. */
|
|
5587
5856
|
prettyPrint?:
|
|
5588
5857
|
boolean;
|
|
@@ -5595,9 +5864,11 @@ declare namespace gapi.client {
|
|
|
5595
5864
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5596
5865
|
uploadType?:
|
|
5597
5866
|
string;
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5867
|
+
/** Request body */
|
|
5868
|
+
resource:
|
|
5869
|
+
GoogleCloudSecuritycenterV1MuteConfig;
|
|
5870
|
+
}): Request<GoogleCloudSecuritycenterV1MuteConfig>;
|
|
5871
|
+
create(request: {
|
|
5601
5872
|
/** V1 error format. */
|
|
5602
5873
|
"$.xgafv"?:
|
|
5603
5874
|
string;
|
|
@@ -5617,14 +5888,17 @@ declare namespace gapi.client {
|
|
|
5617
5888
|
key?:
|
|
5618
5889
|
string;
|
|
5619
5890
|
/**
|
|
5620
|
-
* Required.
|
|
5621
|
-
*
|
|
5891
|
+
* Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end
|
|
5892
|
+
* with either a letter or a number, and must be 63 characters or less.
|
|
5622
5893
|
*/
|
|
5623
|
-
|
|
5894
|
+
muteConfigId?:
|
|
5624
5895
|
string;
|
|
5625
5896
|
/** OAuth 2.0 token for the current user. */
|
|
5626
5897
|
oauth_token?:
|
|
5627
5898
|
string;
|
|
5899
|
+
/** Required. Resource name of the new mute configs's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". */
|
|
5900
|
+
parent:
|
|
5901
|
+
string;
|
|
5628
5902
|
/** Returns response with indentations and line breaks. */
|
|
5629
5903
|
prettyPrint?:
|
|
5630
5904
|
boolean;
|
|
@@ -5637,9 +5911,10 @@ declare namespace gapi.client {
|
|
|
5637
5911
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5638
5912
|
uploadType?:
|
|
5639
5913
|
string;
|
|
5640
|
-
}
|
|
5641
|
-
|
|
5642
|
-
|
|
5914
|
+
},
|
|
5915
|
+
body: GoogleCloudSecuritycenterV1MuteConfig): Request<GoogleCloudSecuritycenterV1MuteConfig>;
|
|
5916
|
+
/** Deletes an existing mute config. */
|
|
5917
|
+
delete(request?: {
|
|
5643
5918
|
/** V1 error format. */
|
|
5644
5919
|
"$.xgafv"?:
|
|
5645
5920
|
string;
|
|
@@ -5658,23 +5933,14 @@ declare namespace gapi.client {
|
|
|
5658
5933
|
/** 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. */
|
|
5659
5934
|
key?:
|
|
5660
5935
|
string;
|
|
5661
|
-
/** OAuth 2.0 token for the current user. */
|
|
5662
|
-
oauth_token?:
|
|
5663
|
-
string;
|
|
5664
|
-
/** The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000. */
|
|
5665
|
-
pageSize?:
|
|
5666
|
-
number;
|
|
5667
5936
|
/**
|
|
5668
|
-
*
|
|
5669
|
-
*
|
|
5937
|
+
* Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or
|
|
5938
|
+
* projects/{project}/muteConfigs/{config_id}
|
|
5670
5939
|
*/
|
|
5671
|
-
|
|
5940
|
+
name:
|
|
5672
5941
|
string;
|
|
5673
|
-
/**
|
|
5674
|
-
|
|
5675
|
-
* "projects/[project_id]".
|
|
5676
|
-
*/
|
|
5677
|
-
parent:
|
|
5942
|
+
/** OAuth 2.0 token for the current user. */
|
|
5943
|
+
oauth_token?:
|
|
5678
5944
|
string;
|
|
5679
5945
|
/** Returns response with indentations and line breaks. */
|
|
5680
5946
|
prettyPrint?:
|
|
@@ -5688,9 +5954,9 @@ declare namespace gapi.client {
|
|
|
5688
5954
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5689
5955
|
uploadType?:
|
|
5690
5956
|
string;
|
|
5691
|
-
}): Request<
|
|
5692
|
-
/**
|
|
5693
|
-
|
|
5957
|
+
}): Request<{}>;
|
|
5958
|
+
/** Gets a mute config. */
|
|
5959
|
+
get(request?: {
|
|
5694
5960
|
/** V1 error format. */
|
|
5695
5961
|
"$.xgafv"?:
|
|
5696
5962
|
string;
|
|
@@ -5710,9 +5976,8 @@ declare namespace gapi.client {
|
|
|
5710
5976
|
key?:
|
|
5711
5977
|
string;
|
|
5712
5978
|
/**
|
|
5713
|
-
*
|
|
5714
|
-
*
|
|
5715
|
-
* "projects/{project_id}/notificationConfigs/notify_public_bucket".
|
|
5979
|
+
* Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or
|
|
5980
|
+
* projects/{project}/muteConfigs/{config_id}
|
|
5716
5981
|
*/
|
|
5717
5982
|
name:
|
|
5718
5983
|
string;
|
|
@@ -5725,20 +5990,15 @@ declare namespace gapi.client {
|
|
|
5725
5990
|
/** 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. */
|
|
5726
5991
|
quotaUser?:
|
|
5727
5992
|
string;
|
|
5728
|
-
/** The FieldMask to use when updating the notification config. If empty all mutable fields will be updated. */
|
|
5729
|
-
updateMask?:
|
|
5730
|
-
string;
|
|
5731
5993
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5732
5994
|
upload_protocol?:
|
|
5733
5995
|
string;
|
|
5734
5996
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5735
5997
|
uploadType?:
|
|
5736
5998
|
string;
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
}): Request<NotificationConfig>;
|
|
5741
|
-
patch(request: {
|
|
5999
|
+
}): Request<GoogleCloudSecuritycenterV1MuteConfig>;
|
|
6000
|
+
/** Lists mute configs. */
|
|
6001
|
+
list(request?: {
|
|
5742
6002
|
/** V1 error format. */
|
|
5743
6003
|
"$.xgafv"?:
|
|
5744
6004
|
string;
|
|
@@ -5757,15 +6017,23 @@ declare namespace gapi.client {
|
|
|
5757
6017
|
/** 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. */
|
|
5758
6018
|
key?:
|
|
5759
6019
|
string;
|
|
6020
|
+
/** OAuth 2.0 token for the current user. */
|
|
6021
|
+
oauth_token?:
|
|
6022
|
+
string;
|
|
5760
6023
|
/**
|
|
5761
|
-
* The
|
|
5762
|
-
*
|
|
5763
|
-
* "projects/{project_id}/notificationConfigs/notify_public_bucket".
|
|
6024
|
+
* The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values
|
|
6025
|
+
* above 1000 will be coerced to 1000.
|
|
5764
6026
|
*/
|
|
5765
|
-
|
|
6027
|
+
pageSize?:
|
|
6028
|
+
number;
|
|
6029
|
+
/**
|
|
6030
|
+
* A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs`
|
|
6031
|
+
* must match the call that provided the page token.
|
|
6032
|
+
*/
|
|
6033
|
+
pageToken?:
|
|
5766
6034
|
string;
|
|
5767
|
-
/**
|
|
5768
|
-
|
|
6035
|
+
/** Required. The parent, which owns the collection of mute configs. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". */
|
|
6036
|
+
parent:
|
|
5769
6037
|
string;
|
|
5770
6038
|
/** Returns response with indentations and line breaks. */
|
|
5771
6039
|
prettyPrint?:
|
|
@@ -5773,26 +6041,15 @@ declare namespace gapi.client {
|
|
|
5773
6041
|
/** 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. */
|
|
5774
6042
|
quotaUser?:
|
|
5775
6043
|
string;
|
|
5776
|
-
/** The FieldMask to use when updating the notification config. If empty all mutable fields will be updated. */
|
|
5777
|
-
updateMask?:
|
|
5778
|
-
string;
|
|
5779
6044
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5780
6045
|
upload_protocol?:
|
|
5781
6046
|
string;
|
|
5782
6047
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5783
6048
|
uploadType?:
|
|
5784
6049
|
string;
|
|
5785
|
-
}
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
interface OperationsResource {
|
|
5789
|
-
/**
|
|
5790
|
-
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
|
|
5791
|
-
* this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the
|
|
5792
|
-
* operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
|
|
5793
|
-
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
5794
|
-
*/
|
|
5795
|
-
cancel(request?: {
|
|
6050
|
+
}): Request<ListMuteConfigsResponse>;
|
|
6051
|
+
/** Updates a mute config. */
|
|
6052
|
+
patch(request: {
|
|
5796
6053
|
/** V1 error format. */
|
|
5797
6054
|
"$.xgafv"?:
|
|
5798
6055
|
string;
|
|
@@ -5811,7 +6068,10 @@ declare namespace gapi.client {
|
|
|
5811
6068
|
/** 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. */
|
|
5812
6069
|
key?:
|
|
5813
6070
|
string;
|
|
5814
|
-
/**
|
|
6071
|
+
/**
|
|
6072
|
+
* This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}"
|
|
6073
|
+
* "projects/{project}/muteConfigs/{mute_config}"
|
|
6074
|
+
*/
|
|
5815
6075
|
name:
|
|
5816
6076
|
string;
|
|
5817
6077
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -5823,18 +6083,20 @@ declare namespace gapi.client {
|
|
|
5823
6083
|
/** 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. */
|
|
5824
6084
|
quotaUser?:
|
|
5825
6085
|
string;
|
|
6086
|
+
/** The list of fields to be updated. If empty all mutable fields will be updated. */
|
|
6087
|
+
updateMask?:
|
|
6088
|
+
string;
|
|
5826
6089
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5827
6090
|
upload_protocol?:
|
|
5828
6091
|
string;
|
|
5829
6092
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5830
6093
|
uploadType?:
|
|
5831
6094
|
string;
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
delete(request?: {
|
|
6095
|
+
/** Request body */
|
|
6096
|
+
resource:
|
|
6097
|
+
GoogleCloudSecuritycenterV1MuteConfig;
|
|
6098
|
+
}): Request<GoogleCloudSecuritycenterV1MuteConfig>;
|
|
6099
|
+
patch(request: {
|
|
5838
6100
|
/** V1 error format. */
|
|
5839
6101
|
"$.xgafv"?:
|
|
5840
6102
|
string;
|
|
@@ -5853,7 +6115,10 @@ declare namespace gapi.client {
|
|
|
5853
6115
|
/** 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. */
|
|
5854
6116
|
key?:
|
|
5855
6117
|
string;
|
|
5856
|
-
/**
|
|
6118
|
+
/**
|
|
6119
|
+
* This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}"
|
|
6120
|
+
* "projects/{project}/muteConfigs/{mute_config}"
|
|
6121
|
+
*/
|
|
5857
6122
|
name:
|
|
5858
6123
|
string;
|
|
5859
6124
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -5865,15 +6130,21 @@ declare namespace gapi.client {
|
|
|
5865
6130
|
/** 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. */
|
|
5866
6131
|
quotaUser?:
|
|
5867
6132
|
string;
|
|
6133
|
+
/** The list of fields to be updated. If empty all mutable fields will be updated. */
|
|
6134
|
+
updateMask?:
|
|
6135
|
+
string;
|
|
5868
6136
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5869
6137
|
upload_protocol?:
|
|
5870
6138
|
string;
|
|
5871
6139
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5872
6140
|
uploadType?:
|
|
5873
6141
|
string;
|
|
5874
|
-
}
|
|
5875
|
-
|
|
5876
|
-
|
|
6142
|
+
},
|
|
6143
|
+
body: GoogleCloudSecuritycenterV1MuteConfig): Request<GoogleCloudSecuritycenterV1MuteConfig>;
|
|
6144
|
+
}
|
|
6145
|
+
interface NotificationConfigsResource {
|
|
6146
|
+
/** Creates a notification config. */
|
|
6147
|
+
create(request: {
|
|
5877
6148
|
/** V1 error format. */
|
|
5878
6149
|
"$.xgafv"?:
|
|
5879
6150
|
string;
|
|
@@ -5886,18 +6157,24 @@ declare namespace gapi.client {
|
|
|
5886
6157
|
/** JSONP */
|
|
5887
6158
|
callback?:
|
|
5888
6159
|
string;
|
|
6160
|
+
/**
|
|
6161
|
+
* Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens
|
|
6162
|
+
* only.
|
|
6163
|
+
*/
|
|
6164
|
+
configId?:
|
|
6165
|
+
string;
|
|
5889
6166
|
/** Selector specifying which fields to include in a partial response. */
|
|
5890
6167
|
fields?:
|
|
5891
6168
|
string;
|
|
5892
6169
|
/** 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. */
|
|
5893
6170
|
key?:
|
|
5894
6171
|
string;
|
|
5895
|
-
/** The name of the operation resource. */
|
|
5896
|
-
name:
|
|
5897
|
-
string;
|
|
5898
6172
|
/** OAuth 2.0 token for the current user. */
|
|
5899
6173
|
oauth_token?:
|
|
5900
6174
|
string;
|
|
6175
|
+
/** Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". */
|
|
6176
|
+
parent:
|
|
6177
|
+
string;
|
|
5901
6178
|
/** Returns response with indentations and line breaks. */
|
|
5902
6179
|
prettyPrint?:
|
|
5903
6180
|
boolean;
|
|
@@ -5910,9 +6187,11 @@ declare namespace gapi.client {
|
|
|
5910
6187
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5911
6188
|
uploadType?:
|
|
5912
6189
|
string;
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
6190
|
+
/** Request body */
|
|
6191
|
+
resource:
|
|
6192
|
+
NotificationConfig;
|
|
6193
|
+
}): Request<NotificationConfig>;
|
|
6194
|
+
create(request: {
|
|
5916
6195
|
/** V1 error format. */
|
|
5917
6196
|
"$.xgafv"?:
|
|
5918
6197
|
string;
|
|
@@ -5925,26 +6204,23 @@ declare namespace gapi.client {
|
|
|
5925
6204
|
/** JSONP */
|
|
5926
6205
|
callback?:
|
|
5927
6206
|
string;
|
|
6207
|
+
/**
|
|
6208
|
+
* Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens
|
|
6209
|
+
* only.
|
|
6210
|
+
*/
|
|
6211
|
+
configId?:
|
|
6212
|
+
string;
|
|
5928
6213
|
/** Selector specifying which fields to include in a partial response. */
|
|
5929
6214
|
fields?:
|
|
5930
6215
|
string;
|
|
5931
|
-
/** The standard list filter. */
|
|
5932
|
-
filter?:
|
|
5933
|
-
string;
|
|
5934
6216
|
/** 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. */
|
|
5935
6217
|
key?:
|
|
5936
6218
|
string;
|
|
5937
|
-
/** The name of the operation's parent resource. */
|
|
5938
|
-
name:
|
|
5939
|
-
string;
|
|
5940
6219
|
/** OAuth 2.0 token for the current user. */
|
|
5941
6220
|
oauth_token?:
|
|
5942
6221
|
string;
|
|
5943
|
-
/**
|
|
5944
|
-
|
|
5945
|
-
number;
|
|
5946
|
-
/** The standard list page token. */
|
|
5947
|
-
pageToken?:
|
|
6222
|
+
/** Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". */
|
|
6223
|
+
parent:
|
|
5948
6224
|
string;
|
|
5949
6225
|
/** Returns response with indentations and line breaks. */
|
|
5950
6226
|
prettyPrint?:
|
|
@@ -5958,14 +6234,10 @@ declare namespace gapi.client {
|
|
|
5958
6234
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5959
6235
|
uploadType?:
|
|
5960
6236
|
string;
|
|
5961
|
-
}
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
* Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants
|
|
5966
|
-
* of the given parent. These modules are enabled by default.
|
|
5967
|
-
*/
|
|
5968
|
-
create(request: {
|
|
6237
|
+
},
|
|
6238
|
+
body: NotificationConfig): Request<NotificationConfig>;
|
|
6239
|
+
/** Deletes a notification config. */
|
|
6240
|
+
delete(request?: {
|
|
5969
6241
|
/** V1 error format. */
|
|
5970
6242
|
"$.xgafv"?:
|
|
5971
6243
|
string;
|
|
@@ -5984,11 +6256,948 @@ declare namespace gapi.client {
|
|
|
5984
6256
|
/** 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. */
|
|
5985
6257
|
key?:
|
|
5986
6258
|
string;
|
|
6259
|
+
/**
|
|
6260
|
+
* Required. Name of the notification config to delete. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]",
|
|
6261
|
+
* "folders/[folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/notificationConfigs/[config_id]".
|
|
6262
|
+
*/
|
|
6263
|
+
name:
|
|
6264
|
+
string;
|
|
5987
6265
|
/** OAuth 2.0 token for the current user. */
|
|
5988
6266
|
oauth_token?:
|
|
5989
6267
|
string;
|
|
6268
|
+
/** Returns response with indentations and line breaks. */
|
|
6269
|
+
prettyPrint?:
|
|
6270
|
+
boolean;
|
|
6271
|
+
/** 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. */
|
|
6272
|
+
quotaUser?:
|
|
6273
|
+
string;
|
|
6274
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6275
|
+
upload_protocol?:
|
|
6276
|
+
string;
|
|
6277
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6278
|
+
uploadType?:
|
|
6279
|
+
string;
|
|
6280
|
+
}): Request<{}>;
|
|
6281
|
+
/** Gets a notification config. */
|
|
6282
|
+
get(request?: {
|
|
6283
|
+
/** V1 error format. */
|
|
6284
|
+
"$.xgafv"?:
|
|
6285
|
+
string;
|
|
6286
|
+
/** OAuth access token. */
|
|
6287
|
+
access_token?:
|
|
6288
|
+
string;
|
|
6289
|
+
/** Data format for response. */
|
|
6290
|
+
alt?:
|
|
6291
|
+
string;
|
|
6292
|
+
/** JSONP */
|
|
6293
|
+
callback?:
|
|
6294
|
+
string;
|
|
6295
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6296
|
+
fields?:
|
|
6297
|
+
string;
|
|
6298
|
+
/** 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. */
|
|
6299
|
+
key?:
|
|
6300
|
+
string;
|
|
6301
|
+
/**
|
|
6302
|
+
* Required. Name of the notification config to get. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]",
|
|
6303
|
+
* "folders/[folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/notificationConfigs/[config_id]".
|
|
6304
|
+
*/
|
|
6305
|
+
name:
|
|
6306
|
+
string;
|
|
6307
|
+
/** OAuth 2.0 token for the current user. */
|
|
6308
|
+
oauth_token?:
|
|
6309
|
+
string;
|
|
6310
|
+
/** Returns response with indentations and line breaks. */
|
|
6311
|
+
prettyPrint?:
|
|
6312
|
+
boolean;
|
|
6313
|
+
/** 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. */
|
|
6314
|
+
quotaUser?:
|
|
6315
|
+
string;
|
|
6316
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6317
|
+
upload_protocol?:
|
|
6318
|
+
string;
|
|
6319
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6320
|
+
uploadType?:
|
|
6321
|
+
string;
|
|
6322
|
+
}): Request<NotificationConfig>;
|
|
6323
|
+
/** Lists notification configs. */
|
|
6324
|
+
list(request?: {
|
|
6325
|
+
/** V1 error format. */
|
|
6326
|
+
"$.xgafv"?:
|
|
6327
|
+
string;
|
|
6328
|
+
/** OAuth access token. */
|
|
6329
|
+
access_token?:
|
|
6330
|
+
string;
|
|
6331
|
+
/** Data format for response. */
|
|
6332
|
+
alt?:
|
|
6333
|
+
string;
|
|
6334
|
+
/** JSONP */
|
|
6335
|
+
callback?:
|
|
6336
|
+
string;
|
|
6337
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6338
|
+
fields?:
|
|
6339
|
+
string;
|
|
6340
|
+
/** 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. */
|
|
6341
|
+
key?:
|
|
6342
|
+
string;
|
|
6343
|
+
/** OAuth 2.0 token for the current user. */
|
|
6344
|
+
oauth_token?:
|
|
6345
|
+
string;
|
|
6346
|
+
/** The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000. */
|
|
6347
|
+
pageSize?:
|
|
6348
|
+
number;
|
|
6349
|
+
/**
|
|
6350
|
+
* The value returned by the last `ListNotificationConfigsResponse`; indicates that this is a continuation of a prior `ListNotificationConfigs` call, and that the system should
|
|
6351
|
+
* return the next page of data.
|
|
6352
|
+
*/
|
|
6353
|
+
pageToken?:
|
|
6354
|
+
string;
|
|
6355
|
+
/**
|
|
6356
|
+
* Required. The name of the parent in which to list the notification configurations. Its format is "organizations/[organization_id]", "folders/[folder_id]", or
|
|
6357
|
+
* "projects/[project_id]".
|
|
6358
|
+
*/
|
|
6359
|
+
parent:
|
|
6360
|
+
string;
|
|
6361
|
+
/** Returns response with indentations and line breaks. */
|
|
6362
|
+
prettyPrint?:
|
|
6363
|
+
boolean;
|
|
6364
|
+
/** 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. */
|
|
6365
|
+
quotaUser?:
|
|
6366
|
+
string;
|
|
6367
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6368
|
+
upload_protocol?:
|
|
6369
|
+
string;
|
|
6370
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6371
|
+
uploadType?:
|
|
6372
|
+
string;
|
|
6373
|
+
}): Request<ListNotificationConfigsResponse>;
|
|
6374
|
+
/** Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter */
|
|
6375
|
+
patch(request: {
|
|
6376
|
+
/** V1 error format. */
|
|
6377
|
+
"$.xgafv"?:
|
|
6378
|
+
string;
|
|
6379
|
+
/** OAuth access token. */
|
|
6380
|
+
access_token?:
|
|
6381
|
+
string;
|
|
6382
|
+
/** Data format for response. */
|
|
6383
|
+
alt?:
|
|
6384
|
+
string;
|
|
6385
|
+
/** JSONP */
|
|
6386
|
+
callback?:
|
|
6387
|
+
string;
|
|
6388
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6389
|
+
fields?:
|
|
6390
|
+
string;
|
|
6391
|
+
/** 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. */
|
|
6392
|
+
key?:
|
|
6393
|
+
string;
|
|
6394
|
+
/**
|
|
6395
|
+
* The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example:
|
|
6396
|
+
* "organizations/{organization_id}/notificationConfigs/notify_public_bucket", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or
|
|
6397
|
+
* "projects/{project_id}/notificationConfigs/notify_public_bucket".
|
|
6398
|
+
*/
|
|
6399
|
+
name:
|
|
6400
|
+
string;
|
|
6401
|
+
/** OAuth 2.0 token for the current user. */
|
|
6402
|
+
oauth_token?:
|
|
6403
|
+
string;
|
|
6404
|
+
/** Returns response with indentations and line breaks. */
|
|
6405
|
+
prettyPrint?:
|
|
6406
|
+
boolean;
|
|
6407
|
+
/** 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. */
|
|
6408
|
+
quotaUser?:
|
|
6409
|
+
string;
|
|
6410
|
+
/** The FieldMask to use when updating the notification config. If empty all mutable fields will be updated. */
|
|
6411
|
+
updateMask?:
|
|
6412
|
+
string;
|
|
6413
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6414
|
+
upload_protocol?:
|
|
6415
|
+
string;
|
|
6416
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6417
|
+
uploadType?:
|
|
6418
|
+
string;
|
|
6419
|
+
/** Request body */
|
|
6420
|
+
resource:
|
|
6421
|
+
NotificationConfig;
|
|
6422
|
+
}): Request<NotificationConfig>;
|
|
6423
|
+
patch(request: {
|
|
6424
|
+
/** V1 error format. */
|
|
6425
|
+
"$.xgafv"?:
|
|
6426
|
+
string;
|
|
6427
|
+
/** OAuth access token. */
|
|
6428
|
+
access_token?:
|
|
6429
|
+
string;
|
|
6430
|
+
/** Data format for response. */
|
|
6431
|
+
alt?:
|
|
6432
|
+
string;
|
|
6433
|
+
/** JSONP */
|
|
6434
|
+
callback?:
|
|
6435
|
+
string;
|
|
6436
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6437
|
+
fields?:
|
|
6438
|
+
string;
|
|
6439
|
+
/** 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. */
|
|
6440
|
+
key?:
|
|
6441
|
+
string;
|
|
6442
|
+
/**
|
|
6443
|
+
* The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example:
|
|
6444
|
+
* "organizations/{organization_id}/notificationConfigs/notify_public_bucket", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or
|
|
6445
|
+
* "projects/{project_id}/notificationConfigs/notify_public_bucket".
|
|
6446
|
+
*/
|
|
6447
|
+
name:
|
|
6448
|
+
string;
|
|
6449
|
+
/** OAuth 2.0 token for the current user. */
|
|
6450
|
+
oauth_token?:
|
|
6451
|
+
string;
|
|
6452
|
+
/** Returns response with indentations and line breaks. */
|
|
6453
|
+
prettyPrint?:
|
|
6454
|
+
boolean;
|
|
6455
|
+
/** 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. */
|
|
6456
|
+
quotaUser?:
|
|
6457
|
+
string;
|
|
6458
|
+
/** The FieldMask to use when updating the notification config. If empty all mutable fields will be updated. */
|
|
6459
|
+
updateMask?:
|
|
6460
|
+
string;
|
|
6461
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6462
|
+
upload_protocol?:
|
|
6463
|
+
string;
|
|
6464
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6465
|
+
uploadType?:
|
|
6466
|
+
string;
|
|
6467
|
+
},
|
|
6468
|
+
body: NotificationConfig): Request<NotificationConfig>;
|
|
6469
|
+
}
|
|
6470
|
+
interface OperationsResource {
|
|
6471
|
+
/**
|
|
6472
|
+
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
|
|
6473
|
+
* this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the
|
|
6474
|
+
* operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
|
|
6475
|
+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
6476
|
+
*/
|
|
6477
|
+
cancel(request?: {
|
|
6478
|
+
/** V1 error format. */
|
|
6479
|
+
"$.xgafv"?:
|
|
6480
|
+
string;
|
|
6481
|
+
/** OAuth access token. */
|
|
6482
|
+
access_token?:
|
|
6483
|
+
string;
|
|
6484
|
+
/** Data format for response. */
|
|
6485
|
+
alt?:
|
|
6486
|
+
string;
|
|
6487
|
+
/** JSONP */
|
|
6488
|
+
callback?:
|
|
6489
|
+
string;
|
|
6490
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6491
|
+
fields?:
|
|
6492
|
+
string;
|
|
6493
|
+
/** 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. */
|
|
6494
|
+
key?:
|
|
6495
|
+
string;
|
|
6496
|
+
/** The name of the operation resource to be cancelled. */
|
|
6497
|
+
name:
|
|
6498
|
+
string;
|
|
6499
|
+
/** OAuth 2.0 token for the current user. */
|
|
6500
|
+
oauth_token?:
|
|
6501
|
+
string;
|
|
6502
|
+
/** Returns response with indentations and line breaks. */
|
|
6503
|
+
prettyPrint?:
|
|
6504
|
+
boolean;
|
|
6505
|
+
/** 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. */
|
|
6506
|
+
quotaUser?:
|
|
6507
|
+
string;
|
|
6508
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6509
|
+
upload_protocol?:
|
|
6510
|
+
string;
|
|
6511
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6512
|
+
uploadType?:
|
|
6513
|
+
string;
|
|
6514
|
+
}): Request<{}>;
|
|
6515
|
+
/**
|
|
6516
|
+
* Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't
|
|
6517
|
+
* support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
6518
|
+
*/
|
|
6519
|
+
delete(request?: {
|
|
6520
|
+
/** V1 error format. */
|
|
6521
|
+
"$.xgafv"?:
|
|
6522
|
+
string;
|
|
6523
|
+
/** OAuth access token. */
|
|
6524
|
+
access_token?:
|
|
6525
|
+
string;
|
|
6526
|
+
/** Data format for response. */
|
|
6527
|
+
alt?:
|
|
6528
|
+
string;
|
|
6529
|
+
/** JSONP */
|
|
6530
|
+
callback?:
|
|
6531
|
+
string;
|
|
6532
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6533
|
+
fields?:
|
|
6534
|
+
string;
|
|
6535
|
+
/** 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. */
|
|
6536
|
+
key?:
|
|
6537
|
+
string;
|
|
6538
|
+
/** The name of the operation resource to be deleted. */
|
|
6539
|
+
name:
|
|
6540
|
+
string;
|
|
6541
|
+
/** OAuth 2.0 token for the current user. */
|
|
6542
|
+
oauth_token?:
|
|
6543
|
+
string;
|
|
6544
|
+
/** Returns response with indentations and line breaks. */
|
|
6545
|
+
prettyPrint?:
|
|
6546
|
+
boolean;
|
|
6547
|
+
/** 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. */
|
|
6548
|
+
quotaUser?:
|
|
6549
|
+
string;
|
|
6550
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6551
|
+
upload_protocol?:
|
|
6552
|
+
string;
|
|
6553
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6554
|
+
uploadType?:
|
|
6555
|
+
string;
|
|
6556
|
+
}): Request<{}>;
|
|
6557
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
6558
|
+
get(request?: {
|
|
6559
|
+
/** V1 error format. */
|
|
6560
|
+
"$.xgafv"?:
|
|
6561
|
+
string;
|
|
6562
|
+
/** OAuth access token. */
|
|
6563
|
+
access_token?:
|
|
6564
|
+
string;
|
|
6565
|
+
/** Data format for response. */
|
|
6566
|
+
alt?:
|
|
6567
|
+
string;
|
|
6568
|
+
/** JSONP */
|
|
6569
|
+
callback?:
|
|
6570
|
+
string;
|
|
6571
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6572
|
+
fields?:
|
|
6573
|
+
string;
|
|
6574
|
+
/** 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. */
|
|
6575
|
+
key?:
|
|
6576
|
+
string;
|
|
6577
|
+
/** The name of the operation resource. */
|
|
6578
|
+
name:
|
|
6579
|
+
string;
|
|
6580
|
+
/** OAuth 2.0 token for the current user. */
|
|
6581
|
+
oauth_token?:
|
|
6582
|
+
string;
|
|
6583
|
+
/** Returns response with indentations and line breaks. */
|
|
6584
|
+
prettyPrint?:
|
|
6585
|
+
boolean;
|
|
6586
|
+
/** 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. */
|
|
6587
|
+
quotaUser?:
|
|
6588
|
+
string;
|
|
6589
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6590
|
+
upload_protocol?:
|
|
6591
|
+
string;
|
|
6592
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6593
|
+
uploadType?:
|
|
6594
|
+
string;
|
|
6595
|
+
}): Request<Operation>;
|
|
6596
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
6597
|
+
list(request?: {
|
|
6598
|
+
/** V1 error format. */
|
|
6599
|
+
"$.xgafv"?:
|
|
6600
|
+
string;
|
|
6601
|
+
/** OAuth access token. */
|
|
6602
|
+
access_token?:
|
|
6603
|
+
string;
|
|
6604
|
+
/** Data format for response. */
|
|
6605
|
+
alt?:
|
|
6606
|
+
string;
|
|
6607
|
+
/** JSONP */
|
|
6608
|
+
callback?:
|
|
6609
|
+
string;
|
|
6610
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6611
|
+
fields?:
|
|
6612
|
+
string;
|
|
6613
|
+
/** The standard list filter. */
|
|
6614
|
+
filter?:
|
|
6615
|
+
string;
|
|
6616
|
+
/** 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. */
|
|
6617
|
+
key?:
|
|
6618
|
+
string;
|
|
6619
|
+
/** The name of the operation's parent resource. */
|
|
6620
|
+
name:
|
|
6621
|
+
string;
|
|
6622
|
+
/** OAuth 2.0 token for the current user. */
|
|
6623
|
+
oauth_token?:
|
|
6624
|
+
string;
|
|
6625
|
+
/** The standard list page size. */
|
|
6626
|
+
pageSize?:
|
|
6627
|
+
number;
|
|
6628
|
+
/** The standard list page token. */
|
|
6629
|
+
pageToken?:
|
|
6630
|
+
string;
|
|
6631
|
+
/** Returns response with indentations and line breaks. */
|
|
6632
|
+
prettyPrint?:
|
|
6633
|
+
boolean;
|
|
6634
|
+
/** 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. */
|
|
6635
|
+
quotaUser?:
|
|
6636
|
+
string;
|
|
6637
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6638
|
+
upload_protocol?:
|
|
6639
|
+
string;
|
|
6640
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6641
|
+
uploadType?:
|
|
6642
|
+
string;
|
|
6643
|
+
}): Request<ListOperationsResponse>;
|
|
6644
|
+
}
|
|
6645
|
+
interface ResourceValueConfigsResource {
|
|
6646
|
+
/** Creates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation. */
|
|
6647
|
+
batchCreate(request: {
|
|
6648
|
+
/** V1 error format. */
|
|
6649
|
+
"$.xgafv"?:
|
|
6650
|
+
string;
|
|
6651
|
+
/** OAuth access token. */
|
|
6652
|
+
access_token?:
|
|
6653
|
+
string;
|
|
6654
|
+
/** Data format for response. */
|
|
6655
|
+
alt?:
|
|
6656
|
+
string;
|
|
6657
|
+
/** JSONP */
|
|
6658
|
+
callback?:
|
|
6659
|
+
string;
|
|
6660
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6661
|
+
fields?:
|
|
6662
|
+
string;
|
|
6663
|
+
/** 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. */
|
|
6664
|
+
key?:
|
|
6665
|
+
string;
|
|
6666
|
+
/** OAuth 2.0 token for the current user. */
|
|
6667
|
+
oauth_token?:
|
|
6668
|
+
string;
|
|
6669
|
+
/** Required. Resource name of the new ResourceValueConfig's parent. The parent field in the CreateResourceValueConfigRequest messages must either be empty or match this field. */
|
|
6670
|
+
parent:
|
|
6671
|
+
string;
|
|
6672
|
+
/** Returns response with indentations and line breaks. */
|
|
6673
|
+
prettyPrint?:
|
|
6674
|
+
boolean;
|
|
6675
|
+
/** 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. */
|
|
6676
|
+
quotaUser?:
|
|
6677
|
+
string;
|
|
6678
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6679
|
+
upload_protocol?:
|
|
6680
|
+
string;
|
|
6681
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6682
|
+
uploadType?:
|
|
6683
|
+
string;
|
|
6684
|
+
/** Request body */
|
|
6685
|
+
resource:
|
|
6686
|
+
BatchCreateResourceValueConfigsRequest;
|
|
6687
|
+
}): Request<BatchCreateResourceValueConfigsResponse>;
|
|
6688
|
+
batchCreate(request: {
|
|
6689
|
+
/** V1 error format. */
|
|
6690
|
+
"$.xgafv"?:
|
|
6691
|
+
string;
|
|
6692
|
+
/** OAuth access token. */
|
|
6693
|
+
access_token?:
|
|
6694
|
+
string;
|
|
6695
|
+
/** Data format for response. */
|
|
6696
|
+
alt?:
|
|
6697
|
+
string;
|
|
6698
|
+
/** JSONP */
|
|
6699
|
+
callback?:
|
|
6700
|
+
string;
|
|
6701
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6702
|
+
fields?:
|
|
6703
|
+
string;
|
|
6704
|
+
/** 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. */
|
|
6705
|
+
key?:
|
|
6706
|
+
string;
|
|
6707
|
+
/** OAuth 2.0 token for the current user. */
|
|
6708
|
+
oauth_token?:
|
|
6709
|
+
string;
|
|
6710
|
+
/** Required. Resource name of the new ResourceValueConfig's parent. The parent field in the CreateResourceValueConfigRequest messages must either be empty or match this field. */
|
|
6711
|
+
parent:
|
|
6712
|
+
string;
|
|
6713
|
+
/** Returns response with indentations and line breaks. */
|
|
6714
|
+
prettyPrint?:
|
|
6715
|
+
boolean;
|
|
6716
|
+
/** 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. */
|
|
6717
|
+
quotaUser?:
|
|
6718
|
+
string;
|
|
6719
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6720
|
+
upload_protocol?:
|
|
6721
|
+
string;
|
|
6722
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6723
|
+
uploadType?:
|
|
6724
|
+
string;
|
|
6725
|
+
},
|
|
6726
|
+
body: BatchCreateResourceValueConfigsRequest): Request<BatchCreateResourceValueConfigsResponse>;
|
|
6727
|
+
/** Deletes a ResourceValueConfig. */
|
|
6728
|
+
delete(request?: {
|
|
6729
|
+
/** V1 error format. */
|
|
6730
|
+
"$.xgafv"?:
|
|
6731
|
+
string;
|
|
6732
|
+
/** OAuth access token. */
|
|
6733
|
+
access_token?:
|
|
6734
|
+
string;
|
|
6735
|
+
/** Data format for response. */
|
|
6736
|
+
alt?:
|
|
6737
|
+
string;
|
|
6738
|
+
/** JSONP */
|
|
6739
|
+
callback?:
|
|
6740
|
+
string;
|
|
6741
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6742
|
+
fields?:
|
|
6743
|
+
string;
|
|
6744
|
+
/** 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. */
|
|
6745
|
+
key?:
|
|
6746
|
+
string;
|
|
6747
|
+
/** Required. Name of the ResourceValueConfig to delete */
|
|
6748
|
+
name:
|
|
6749
|
+
string;
|
|
6750
|
+
/** OAuth 2.0 token for the current user. */
|
|
6751
|
+
oauth_token?:
|
|
6752
|
+
string;
|
|
6753
|
+
/** Returns response with indentations and line breaks. */
|
|
6754
|
+
prettyPrint?:
|
|
6755
|
+
boolean;
|
|
6756
|
+
/** 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. */
|
|
6757
|
+
quotaUser?:
|
|
6758
|
+
string;
|
|
6759
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6760
|
+
upload_protocol?:
|
|
6761
|
+
string;
|
|
6762
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6763
|
+
uploadType?:
|
|
6764
|
+
string;
|
|
6765
|
+
}): Request<{}>;
|
|
6766
|
+
/** Gets a ResourceValueConfig. */
|
|
6767
|
+
get(request?: {
|
|
6768
|
+
/** V1 error format. */
|
|
6769
|
+
"$.xgafv"?:
|
|
6770
|
+
string;
|
|
6771
|
+
/** OAuth access token. */
|
|
6772
|
+
access_token?:
|
|
6773
|
+
string;
|
|
6774
|
+
/** Data format for response. */
|
|
6775
|
+
alt?:
|
|
6776
|
+
string;
|
|
6777
|
+
/** JSONP */
|
|
6778
|
+
callback?:
|
|
6779
|
+
string;
|
|
6780
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6781
|
+
fields?:
|
|
6782
|
+
string;
|
|
6783
|
+
/** 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. */
|
|
6784
|
+
key?:
|
|
6785
|
+
string;
|
|
6786
|
+
/** Required. Name of the resource value config to retrieve. Its format is organizations/{organization}/resourceValueConfigs/{config_id}. */
|
|
6787
|
+
name:
|
|
6788
|
+
string;
|
|
6789
|
+
/** OAuth 2.0 token for the current user. */
|
|
6790
|
+
oauth_token?:
|
|
6791
|
+
string;
|
|
6792
|
+
/** Returns response with indentations and line breaks. */
|
|
6793
|
+
prettyPrint?:
|
|
6794
|
+
boolean;
|
|
6795
|
+
/** 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. */
|
|
6796
|
+
quotaUser?:
|
|
6797
|
+
string;
|
|
6798
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6799
|
+
upload_protocol?:
|
|
6800
|
+
string;
|
|
6801
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6802
|
+
uploadType?:
|
|
6803
|
+
string;
|
|
6804
|
+
}): Request<GoogleCloudSecuritycenterV1ResourceValueConfig>;
|
|
6805
|
+
/** Lists all ResourceValueConfigs. */
|
|
6806
|
+
list(request?: {
|
|
6807
|
+
/** V1 error format. */
|
|
6808
|
+
"$.xgafv"?:
|
|
6809
|
+
string;
|
|
6810
|
+
/** OAuth access token. */
|
|
6811
|
+
access_token?:
|
|
6812
|
+
string;
|
|
6813
|
+
/** Data format for response. */
|
|
6814
|
+
alt?:
|
|
6815
|
+
string;
|
|
6816
|
+
/** JSONP */
|
|
6817
|
+
callback?:
|
|
6818
|
+
string;
|
|
6819
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6820
|
+
fields?:
|
|
6821
|
+
string;
|
|
6822
|
+
/** 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. */
|
|
6823
|
+
key?:
|
|
6824
|
+
string;
|
|
6825
|
+
/** OAuth 2.0 token for the current user. */
|
|
6826
|
+
oauth_token?:
|
|
6827
|
+
string;
|
|
6828
|
+
/**
|
|
6829
|
+
* The number of results to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000
|
|
6830
|
+
* will be coerced to 1000.
|
|
6831
|
+
*/
|
|
6832
|
+
pageSize?:
|
|
6833
|
+
number;
|
|
6834
|
+
/**
|
|
6835
|
+
* A page token, received from a previous `ListResourceValueConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
6836
|
+
* `ListResourceValueConfigs` must match the call that provided the page token. page_size can be specified, and the new page_size will be used.
|
|
6837
|
+
*/
|
|
6838
|
+
pageToken?:
|
|
6839
|
+
string;
|
|
6840
|
+
/** Required. The parent, which owns the collection of resource value configs. Its format is "organizations/[organization_id]" */
|
|
6841
|
+
parent:
|
|
6842
|
+
string;
|
|
6843
|
+
/** Returns response with indentations and line breaks. */
|
|
6844
|
+
prettyPrint?:
|
|
6845
|
+
boolean;
|
|
6846
|
+
/** 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. */
|
|
6847
|
+
quotaUser?:
|
|
6848
|
+
string;
|
|
6849
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6850
|
+
upload_protocol?:
|
|
6851
|
+
string;
|
|
6852
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6853
|
+
uploadType?:
|
|
6854
|
+
string;
|
|
6855
|
+
}): Request<ListResourceValueConfigsResponse>;
|
|
6856
|
+
/** Updates an existing ResourceValueConfigs with new rules. */
|
|
6857
|
+
patch(request: {
|
|
6858
|
+
/** V1 error format. */
|
|
6859
|
+
"$.xgafv"?:
|
|
6860
|
+
string;
|
|
6861
|
+
/** OAuth access token. */
|
|
6862
|
+
access_token?:
|
|
6863
|
+
string;
|
|
6864
|
+
/** Data format for response. */
|
|
6865
|
+
alt?:
|
|
6866
|
+
string;
|
|
6867
|
+
/** JSONP */
|
|
6868
|
+
callback?:
|
|
6869
|
+
string;
|
|
6870
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6871
|
+
fields?:
|
|
6872
|
+
string;
|
|
6873
|
+
/** 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. */
|
|
6874
|
+
key?:
|
|
6875
|
+
string;
|
|
6876
|
+
/** Name for the resource value config */
|
|
6877
|
+
name:
|
|
6878
|
+
string;
|
|
6879
|
+
/** OAuth 2.0 token for the current user. */
|
|
6880
|
+
oauth_token?:
|
|
6881
|
+
string;
|
|
6882
|
+
/** Returns response with indentations and line breaks. */
|
|
6883
|
+
prettyPrint?:
|
|
6884
|
+
boolean;
|
|
6885
|
+
/** 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. */
|
|
6886
|
+
quotaUser?:
|
|
6887
|
+
string;
|
|
6888
|
+
/** The list of fields to be updated. If empty all mutable fields will be updated. */
|
|
6889
|
+
updateMask?:
|
|
6890
|
+
string;
|
|
6891
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6892
|
+
upload_protocol?:
|
|
6893
|
+
string;
|
|
6894
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6895
|
+
uploadType?:
|
|
6896
|
+
string;
|
|
6897
|
+
/** Request body */
|
|
6898
|
+
resource:
|
|
6899
|
+
GoogleCloudSecuritycenterV1ResourceValueConfig;
|
|
6900
|
+
}): Request<GoogleCloudSecuritycenterV1ResourceValueConfig>;
|
|
6901
|
+
patch(request: {
|
|
6902
|
+
/** V1 error format. */
|
|
6903
|
+
"$.xgafv"?:
|
|
6904
|
+
string;
|
|
6905
|
+
/** OAuth access token. */
|
|
6906
|
+
access_token?:
|
|
6907
|
+
string;
|
|
6908
|
+
/** Data format for response. */
|
|
6909
|
+
alt?:
|
|
6910
|
+
string;
|
|
6911
|
+
/** JSONP */
|
|
6912
|
+
callback?:
|
|
6913
|
+
string;
|
|
6914
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6915
|
+
fields?:
|
|
6916
|
+
string;
|
|
6917
|
+
/** 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. */
|
|
6918
|
+
key?:
|
|
6919
|
+
string;
|
|
6920
|
+
/** Name for the resource value config */
|
|
6921
|
+
name:
|
|
6922
|
+
string;
|
|
6923
|
+
/** OAuth 2.0 token for the current user. */
|
|
6924
|
+
oauth_token?:
|
|
6925
|
+
string;
|
|
6926
|
+
/** Returns response with indentations and line breaks. */
|
|
6927
|
+
prettyPrint?:
|
|
6928
|
+
boolean;
|
|
6929
|
+
/** 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. */
|
|
6930
|
+
quotaUser?:
|
|
6931
|
+
string;
|
|
6932
|
+
/** The list of fields to be updated. If empty all mutable fields will be updated. */
|
|
6933
|
+
updateMask?:
|
|
6934
|
+
string;
|
|
6935
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6936
|
+
upload_protocol?:
|
|
6937
|
+
string;
|
|
6938
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6939
|
+
uploadType?:
|
|
6940
|
+
string;
|
|
6941
|
+
},
|
|
6942
|
+
body: GoogleCloudSecuritycenterV1ResourceValueConfig): Request<GoogleCloudSecuritycenterV1ResourceValueConfig>;
|
|
6943
|
+
}
|
|
6944
|
+
interface CustomModulesResource {
|
|
6945
|
+
/**
|
|
6946
|
+
* Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants
|
|
6947
|
+
* of the given parent. These modules are enabled by default.
|
|
6948
|
+
*/
|
|
6949
|
+
create(request: {
|
|
6950
|
+
/** V1 error format. */
|
|
6951
|
+
"$.xgafv"?:
|
|
6952
|
+
string;
|
|
6953
|
+
/** OAuth access token. */
|
|
6954
|
+
access_token?:
|
|
6955
|
+
string;
|
|
6956
|
+
/** Data format for response. */
|
|
6957
|
+
alt?:
|
|
6958
|
+
string;
|
|
6959
|
+
/** JSONP */
|
|
6960
|
+
callback?:
|
|
6961
|
+
string;
|
|
6962
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6963
|
+
fields?:
|
|
6964
|
+
string;
|
|
6965
|
+
/** 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. */
|
|
6966
|
+
key?:
|
|
6967
|
+
string;
|
|
6968
|
+
/** OAuth 2.0 token for the current user. */
|
|
6969
|
+
oauth_token?:
|
|
6970
|
+
string;
|
|
6971
|
+
/**
|
|
6972
|
+
* Required. Resource name of the new custom module's parent. Its format is "organizations/{organization}/securityHealthAnalyticsSettings",
|
|
6973
|
+
* "folders/{folder}/securityHealthAnalyticsSettings", or "projects/{project}/securityHealthAnalyticsSettings"
|
|
6974
|
+
*/
|
|
6975
|
+
parent:
|
|
6976
|
+
string;
|
|
6977
|
+
/** Returns response with indentations and line breaks. */
|
|
6978
|
+
prettyPrint?:
|
|
6979
|
+
boolean;
|
|
6980
|
+
/** 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. */
|
|
6981
|
+
quotaUser?:
|
|
6982
|
+
string;
|
|
6983
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6984
|
+
upload_protocol?:
|
|
6985
|
+
string;
|
|
6986
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6987
|
+
uploadType?:
|
|
6988
|
+
string;
|
|
6989
|
+
/** Request body */
|
|
6990
|
+
resource:
|
|
6991
|
+
GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule;
|
|
6992
|
+
}): Request<GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
|
|
6993
|
+
create(request: {
|
|
6994
|
+
/** V1 error format. */
|
|
6995
|
+
"$.xgafv"?:
|
|
6996
|
+
string;
|
|
6997
|
+
/** OAuth access token. */
|
|
6998
|
+
access_token?:
|
|
6999
|
+
string;
|
|
7000
|
+
/** Data format for response. */
|
|
7001
|
+
alt?:
|
|
7002
|
+
string;
|
|
7003
|
+
/** JSONP */
|
|
7004
|
+
callback?:
|
|
7005
|
+
string;
|
|
7006
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7007
|
+
fields?:
|
|
7008
|
+
string;
|
|
7009
|
+
/** 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. */
|
|
7010
|
+
key?:
|
|
7011
|
+
string;
|
|
7012
|
+
/** OAuth 2.0 token for the current user. */
|
|
7013
|
+
oauth_token?:
|
|
7014
|
+
string;
|
|
7015
|
+
/**
|
|
7016
|
+
* Required. Resource name of the new custom module's parent. Its format is "organizations/{organization}/securityHealthAnalyticsSettings",
|
|
7017
|
+
* "folders/{folder}/securityHealthAnalyticsSettings", or "projects/{project}/securityHealthAnalyticsSettings"
|
|
7018
|
+
*/
|
|
7019
|
+
parent:
|
|
7020
|
+
string;
|
|
7021
|
+
/** Returns response with indentations and line breaks. */
|
|
7022
|
+
prettyPrint?:
|
|
7023
|
+
boolean;
|
|
7024
|
+
/** 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. */
|
|
7025
|
+
quotaUser?:
|
|
7026
|
+
string;
|
|
7027
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7028
|
+
upload_protocol?:
|
|
7029
|
+
string;
|
|
7030
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7031
|
+
uploadType?:
|
|
7032
|
+
string;
|
|
7033
|
+
},
|
|
7034
|
+
body: GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule): Request<GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
|
|
7035
|
+
/** Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. This method is only supported for resident custom modules. */
|
|
7036
|
+
delete(request?: {
|
|
7037
|
+
/** V1 error format. */
|
|
7038
|
+
"$.xgafv"?:
|
|
7039
|
+
string;
|
|
7040
|
+
/** OAuth access token. */
|
|
7041
|
+
access_token?:
|
|
7042
|
+
string;
|
|
7043
|
+
/** Data format for response. */
|
|
7044
|
+
alt?:
|
|
7045
|
+
string;
|
|
7046
|
+
/** JSONP */
|
|
7047
|
+
callback?:
|
|
7048
|
+
string;
|
|
7049
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7050
|
+
fields?:
|
|
7051
|
+
string;
|
|
7052
|
+
/** 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. */
|
|
7053
|
+
key?:
|
|
7054
|
+
string;
|
|
7055
|
+
/**
|
|
7056
|
+
* Required. Name of the custom module to delete. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}",
|
|
7057
|
+
* "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}"
|
|
7058
|
+
*/
|
|
7059
|
+
name:
|
|
7060
|
+
string;
|
|
7061
|
+
/** OAuth 2.0 token for the current user. */
|
|
7062
|
+
oauth_token?:
|
|
7063
|
+
string;
|
|
7064
|
+
/** Returns response with indentations and line breaks. */
|
|
7065
|
+
prettyPrint?:
|
|
7066
|
+
boolean;
|
|
7067
|
+
/** 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. */
|
|
7068
|
+
quotaUser?:
|
|
7069
|
+
string;
|
|
7070
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7071
|
+
upload_protocol?:
|
|
7072
|
+
string;
|
|
7073
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7074
|
+
uploadType?:
|
|
7075
|
+
string;
|
|
7076
|
+
}): Request<{}>;
|
|
7077
|
+
/** Retrieves a SecurityHealthAnalyticsCustomModule. */
|
|
7078
|
+
get(request?: {
|
|
7079
|
+
/** V1 error format. */
|
|
7080
|
+
"$.xgafv"?:
|
|
7081
|
+
string;
|
|
7082
|
+
/** OAuth access token. */
|
|
7083
|
+
access_token?:
|
|
7084
|
+
string;
|
|
7085
|
+
/** Data format for response. */
|
|
7086
|
+
alt?:
|
|
7087
|
+
string;
|
|
7088
|
+
/** JSONP */
|
|
7089
|
+
callback?:
|
|
7090
|
+
string;
|
|
7091
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7092
|
+
fields?:
|
|
7093
|
+
string;
|
|
7094
|
+
/** 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. */
|
|
7095
|
+
key?:
|
|
7096
|
+
string;
|
|
7097
|
+
/**
|
|
7098
|
+
* Required. Name of the custom module to get. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}",
|
|
7099
|
+
* "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}"
|
|
7100
|
+
*/
|
|
7101
|
+
name:
|
|
7102
|
+
string;
|
|
7103
|
+
/** OAuth 2.0 token for the current user. */
|
|
7104
|
+
oauth_token?:
|
|
7105
|
+
string;
|
|
7106
|
+
/** Returns response with indentations and line breaks. */
|
|
7107
|
+
prettyPrint?:
|
|
7108
|
+
boolean;
|
|
7109
|
+
/** 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. */
|
|
7110
|
+
quotaUser?:
|
|
7111
|
+
string;
|
|
7112
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7113
|
+
upload_protocol?:
|
|
7114
|
+
string;
|
|
7115
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7116
|
+
uploadType?:
|
|
7117
|
+
string;
|
|
7118
|
+
}): Request<GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
|
|
7119
|
+
/**
|
|
7120
|
+
* Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited
|
|
7121
|
+
* from CRM ancestors.
|
|
7122
|
+
*/
|
|
7123
|
+
list(request?: {
|
|
7124
|
+
/** V1 error format. */
|
|
7125
|
+
"$.xgafv"?:
|
|
7126
|
+
string;
|
|
7127
|
+
/** OAuth access token. */
|
|
7128
|
+
access_token?:
|
|
7129
|
+
string;
|
|
7130
|
+
/** Data format for response. */
|
|
7131
|
+
alt?:
|
|
7132
|
+
string;
|
|
7133
|
+
/** JSONP */
|
|
7134
|
+
callback?:
|
|
7135
|
+
string;
|
|
7136
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7137
|
+
fields?:
|
|
7138
|
+
string;
|
|
7139
|
+
/** 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. */
|
|
7140
|
+
key?:
|
|
7141
|
+
string;
|
|
7142
|
+
/** OAuth 2.0 token for the current user. */
|
|
7143
|
+
oauth_token?:
|
|
7144
|
+
string;
|
|
7145
|
+
/** The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000. */
|
|
7146
|
+
pageSize?:
|
|
7147
|
+
number;
|
|
7148
|
+
/** The value returned by the last call indicating a continuation */
|
|
7149
|
+
pageToken?:
|
|
7150
|
+
string;
|
|
7151
|
+
/**
|
|
7152
|
+
* Required. Name of parent to list custom modules. Its format is "organizations/{organization}/securityHealthAnalyticsSettings",
|
|
7153
|
+
* "folders/{folder}/securityHealthAnalyticsSettings", or "projects/{project}/securityHealthAnalyticsSettings"
|
|
7154
|
+
*/
|
|
7155
|
+
parent:
|
|
7156
|
+
string;
|
|
7157
|
+
/** Returns response with indentations and line breaks. */
|
|
7158
|
+
prettyPrint?:
|
|
7159
|
+
boolean;
|
|
7160
|
+
/** 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. */
|
|
7161
|
+
quotaUser?:
|
|
7162
|
+
string;
|
|
7163
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7164
|
+
upload_protocol?:
|
|
7165
|
+
string;
|
|
7166
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7167
|
+
uploadType?:
|
|
7168
|
+
string;
|
|
7169
|
+
}): Request<ListSecurityHealthAnalyticsCustomModulesResponse>;
|
|
7170
|
+
/** Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants. */
|
|
7171
|
+
listDescendant(request?: {
|
|
7172
|
+
/** V1 error format. */
|
|
7173
|
+
"$.xgafv"?:
|
|
7174
|
+
string;
|
|
7175
|
+
/** OAuth access token. */
|
|
7176
|
+
access_token?:
|
|
7177
|
+
string;
|
|
7178
|
+
/** Data format for response. */
|
|
7179
|
+
alt?:
|
|
7180
|
+
string;
|
|
7181
|
+
/** JSONP */
|
|
7182
|
+
callback?:
|
|
7183
|
+
string;
|
|
7184
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7185
|
+
fields?:
|
|
7186
|
+
string;
|
|
7187
|
+
/** 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. */
|
|
7188
|
+
key?:
|
|
7189
|
+
string;
|
|
7190
|
+
/** OAuth 2.0 token for the current user. */
|
|
7191
|
+
oauth_token?:
|
|
7192
|
+
string;
|
|
7193
|
+
/** The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000. */
|
|
7194
|
+
pageSize?:
|
|
7195
|
+
number;
|
|
7196
|
+
/** The value returned by the last call indicating a continuation */
|
|
7197
|
+
pageToken?:
|
|
7198
|
+
string;
|
|
5990
7199
|
/**
|
|
5991
|
-
* Required.
|
|
7200
|
+
* Required. Name of parent to list descendant custom modules. Its format is "organizations/{organization}/securityHealthAnalyticsSettings",
|
|
5992
7201
|
* "folders/{folder}/securityHealthAnalyticsSettings", or "projects/{project}/securityHealthAnalyticsSettings"
|
|
5993
7202
|
*/
|
|
5994
7203
|
parent:
|
|
@@ -6005,11 +7214,12 @@ declare namespace gapi.client {
|
|
|
6005
7214
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6006
7215
|
uploadType?:
|
|
6007
7216
|
string;
|
|
6008
|
-
|
|
6009
|
-
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
|
|
7217
|
+
}): Request<ListDescendantSecurityHealthAnalyticsCustomModulesResponse>;
|
|
7218
|
+
/**
|
|
7219
|
+
* Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask. Updating the enablement state is supported on both resident and inherited
|
|
7220
|
+
* modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name and custom config of a module is supported on resident modules only.
|
|
7221
|
+
*/
|
|
7222
|
+
patch(request: {
|
|
6013
7223
|
/** V1 error format. */
|
|
6014
7224
|
"$.xgafv"?:
|
|
6015
7225
|
string;
|
|
@@ -6028,14 +7238,15 @@ declare namespace gapi.client {
|
|
|
6028
7238
|
/** 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. */
|
|
6029
7239
|
key?:
|
|
6030
7240
|
string;
|
|
6031
|
-
/** OAuth 2.0 token for the current user. */
|
|
6032
|
-
oauth_token?:
|
|
6033
|
-
string;
|
|
6034
7241
|
/**
|
|
6035
|
-
*
|
|
6036
|
-
* "folders/{folder}/securityHealthAnalyticsSettings", or "projects/{project}/securityHealthAnalyticsSettings"
|
|
7242
|
+
* Immutable. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", or
|
|
7243
|
+
* "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" The id
|
|
7244
|
+
* {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.
|
|
6037
7245
|
*/
|
|
6038
|
-
|
|
7246
|
+
name:
|
|
7247
|
+
string;
|
|
7248
|
+
/** OAuth 2.0 token for the current user. */
|
|
7249
|
+
oauth_token?:
|
|
6039
7250
|
string;
|
|
6040
7251
|
/** Returns response with indentations and line breaks. */
|
|
6041
7252
|
prettyPrint?:
|
|
@@ -6043,16 +7254,20 @@ declare namespace gapi.client {
|
|
|
6043
7254
|
/** 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. */
|
|
6044
7255
|
quotaUser?:
|
|
6045
7256
|
string;
|
|
7257
|
+
/** The list of fields to update. */
|
|
7258
|
+
updateMask?:
|
|
7259
|
+
string;
|
|
6046
7260
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6047
7261
|
upload_protocol?:
|
|
6048
7262
|
string;
|
|
6049
7263
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6050
7264
|
uploadType?:
|
|
6051
7265
|
string;
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
7266
|
+
/** Request body */
|
|
7267
|
+
resource:
|
|
7268
|
+
GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule;
|
|
7269
|
+
}): Request<GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
|
|
7270
|
+
patch(request: {
|
|
6056
7271
|
/** V1 error format. */
|
|
6057
7272
|
"$.xgafv"?:
|
|
6058
7273
|
string;
|
|
@@ -6072,8 +7287,9 @@ declare namespace gapi.client {
|
|
|
6072
7287
|
key?:
|
|
6073
7288
|
string;
|
|
6074
7289
|
/**
|
|
6075
|
-
*
|
|
6076
|
-
* "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}"
|
|
7290
|
+
* Immutable. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", or
|
|
7291
|
+
* "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" The id
|
|
7292
|
+
* {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.
|
|
6077
7293
|
*/
|
|
6078
7294
|
name:
|
|
6079
7295
|
string;
|
|
@@ -6086,14 +7302,20 @@ declare namespace gapi.client {
|
|
|
6086
7302
|
/** 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. */
|
|
6087
7303
|
quotaUser?:
|
|
6088
7304
|
string;
|
|
7305
|
+
/** The list of fields to update. */
|
|
7306
|
+
updateMask?:
|
|
7307
|
+
string;
|
|
6089
7308
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6090
7309
|
upload_protocol?:
|
|
6091
7310
|
string;
|
|
6092
7311
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6093
7312
|
uploadType?:
|
|
6094
7313
|
string;
|
|
6095
|
-
}
|
|
6096
|
-
|
|
7314
|
+
},
|
|
7315
|
+
body: GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule): Request<GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
|
|
7316
|
+
}
|
|
7317
|
+
interface EffectiveCustomModulesResource {
|
|
7318
|
+
/** Retrieves an EffectiveSecurityHealthAnalyticsCustomModule. */
|
|
6097
7319
|
get(request?: {
|
|
6098
7320
|
/** V1 error format. */
|
|
6099
7321
|
"$.xgafv"?:
|
|
@@ -6114,8 +7336,9 @@ declare namespace gapi.client {
|
|
|
6114
7336
|
key?:
|
|
6115
7337
|
string;
|
|
6116
7338
|
/**
|
|
6117
|
-
* Required. Name of the custom module to get. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/
|
|
6118
|
-
* "folders/{folder}/securityHealthAnalyticsSettings/
|
|
7339
|
+
* Required. Name of the effective custom module to get. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}",
|
|
7340
|
+
* "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", or
|
|
7341
|
+
* "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}"
|
|
6119
7342
|
*/
|
|
6120
7343
|
name:
|
|
6121
7344
|
string;
|
|
@@ -6134,10 +7357,10 @@ declare namespace gapi.client {
|
|
|
6134
7357
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6135
7358
|
uploadType?:
|
|
6136
7359
|
string;
|
|
6137
|
-
}): Request<
|
|
7360
|
+
}): Request<GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>;
|
|
6138
7361
|
/**
|
|
6139
|
-
* Returns a list of all
|
|
6140
|
-
* from CRM ancestors.
|
|
7362
|
+
* Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules,
|
|
7363
|
+
* inherited from CRM ancestors.
|
|
6141
7364
|
*/
|
|
6142
7365
|
list(request?: {
|
|
6143
7366
|
/** V1 error format. */
|
|
@@ -6168,7 +7391,7 @@ declare namespace gapi.client {
|
|
|
6168
7391
|
pageToken?:
|
|
6169
7392
|
string;
|
|
6170
7393
|
/**
|
|
6171
|
-
* Required. Name of parent to list custom modules. Its format is "organizations/{organization}/securityHealthAnalyticsSettings",
|
|
7394
|
+
* Required. Name of parent to list effective custom modules. Its format is "organizations/{organization}/securityHealthAnalyticsSettings",
|
|
6172
7395
|
* "folders/{folder}/securityHealthAnalyticsSettings", or "projects/{project}/securityHealthAnalyticsSettings"
|
|
6173
7396
|
*/
|
|
6174
7397
|
parent:
|
|
@@ -6185,9 +7408,17 @@ declare namespace gapi.client {
|
|
|
6185
7408
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6186
7409
|
uploadType?:
|
|
6187
7410
|
string;
|
|
6188
|
-
}): Request<
|
|
6189
|
-
|
|
6190
|
-
|
|
7411
|
+
}): Request<ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>;
|
|
7412
|
+
}
|
|
7413
|
+
interface SecurityHealthAnalyticsSettingsResource {
|
|
7414
|
+
customModules:
|
|
7415
|
+
CustomModulesResource;
|
|
7416
|
+
effectiveCustomModules:
|
|
7417
|
+
EffectiveCustomModulesResource;
|
|
7418
|
+
}
|
|
7419
|
+
interface AttackPathsResource {
|
|
7420
|
+
/** Lists the attack paths for a set of simulation results or valued resources and filter. */
|
|
7421
|
+
list(request?: {
|
|
6191
7422
|
/** V1 error format. */
|
|
6192
7423
|
"$.xgafv"?:
|
|
6193
7424
|
string;
|
|
@@ -6203,6 +7434,9 @@ declare namespace gapi.client {
|
|
|
6203
7434
|
/** Selector specifying which fields to include in a partial response. */
|
|
6204
7435
|
fields?:
|
|
6205
7436
|
string;
|
|
7437
|
+
/** The filter expression that filters the attack path in the response. Supported fields: * `valued_resources` supports = */
|
|
7438
|
+
filter?:
|
|
7439
|
+
string;
|
|
6206
7440
|
/** 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. */
|
|
6207
7441
|
key?:
|
|
6208
7442
|
string;
|
|
@@ -6212,12 +7446,16 @@ declare namespace gapi.client {
|
|
|
6212
7446
|
/** The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000. */
|
|
6213
7447
|
pageSize?:
|
|
6214
7448
|
number;
|
|
6215
|
-
/**
|
|
7449
|
+
/**
|
|
7450
|
+
* The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next
|
|
7451
|
+
* page of data.
|
|
7452
|
+
*/
|
|
6216
7453
|
pageToken?:
|
|
6217
7454
|
string;
|
|
6218
7455
|
/**
|
|
6219
|
-
* Required. Name of parent to list
|
|
6220
|
-
* "
|
|
7456
|
+
* Required. Name of parent to list attack paths. Valid formats: "organizations/{organization}", "organizations/{organization}/simulations/{simulation}"
|
|
7457
|
+
* "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}"
|
|
7458
|
+
* "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}"
|
|
6221
7459
|
*/
|
|
6222
7460
|
parent:
|
|
6223
7461
|
string;
|
|
@@ -6233,12 +7471,11 @@ declare namespace gapi.client {
|
|
|
6233
7471
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6234
7472
|
uploadType?:
|
|
6235
7473
|
string;
|
|
6236
|
-
}): Request<
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
patch(request: {
|
|
7474
|
+
}): Request<ListAttackPathsResponse>;
|
|
7475
|
+
}
|
|
7476
|
+
interface ValuedResourcesResource {
|
|
7477
|
+
/** Lists the valued resources for a set of simulation results and filter. */
|
|
7478
|
+
list(request?: {
|
|
6242
7479
|
/** V1 error format. */
|
|
6243
7480
|
"$.xgafv"?:
|
|
6244
7481
|
string;
|
|
@@ -6254,18 +7491,29 @@ declare namespace gapi.client {
|
|
|
6254
7491
|
/** Selector specifying which fields to include in a partial response. */
|
|
6255
7492
|
fields?:
|
|
6256
7493
|
string;
|
|
7494
|
+
/** The filter expression that filters the valued resources in the response. Supported fields: * `resource_value` supports = * `resource_type` supports = */
|
|
7495
|
+
filter?:
|
|
7496
|
+
string;
|
|
6257
7497
|
/** 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. */
|
|
6258
7498
|
key?:
|
|
6259
7499
|
string;
|
|
7500
|
+
/** OAuth 2.0 token for the current user. */
|
|
7501
|
+
oauth_token?:
|
|
7502
|
+
string;
|
|
7503
|
+
/** The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000. */
|
|
7504
|
+
pageSize?:
|
|
7505
|
+
number;
|
|
6260
7506
|
/**
|
|
6261
|
-
*
|
|
6262
|
-
*
|
|
6263
|
-
* {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.
|
|
7507
|
+
* The value returned by the last `ListValuedResourcesResponse`; indicates that this is a continuation of a prior `ListValuedResources` call, and that the system should return the
|
|
7508
|
+
* next page of data.
|
|
6264
7509
|
*/
|
|
6265
|
-
|
|
7510
|
+
pageToken?:
|
|
6266
7511
|
string;
|
|
6267
|
-
/**
|
|
6268
|
-
|
|
7512
|
+
/**
|
|
7513
|
+
* Required. Name of parent to list valued resources. Valid formats: "organizations/{organization}", "organizations/{organization}/simulations/{simulation}"
|
|
7514
|
+
* "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}"
|
|
7515
|
+
*/
|
|
7516
|
+
parent:
|
|
6269
7517
|
string;
|
|
6270
7518
|
/** Returns response with indentations and line breaks. */
|
|
6271
7519
|
prettyPrint?:
|
|
@@ -6273,20 +7521,23 @@ declare namespace gapi.client {
|
|
|
6273
7521
|
/** 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. */
|
|
6274
7522
|
quotaUser?:
|
|
6275
7523
|
string;
|
|
6276
|
-
/** The list of fields to update. */
|
|
6277
|
-
updateMask?:
|
|
6278
|
-
string;
|
|
6279
7524
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6280
7525
|
upload_protocol?:
|
|
6281
7526
|
string;
|
|
6282
7527
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6283
7528
|
uploadType?:
|
|
6284
7529
|
string;
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
7530
|
+
}): Request<ListValuedResourcesResponse>;
|
|
7531
|
+
}
|
|
7532
|
+
interface AttackExposureResultsResource {
|
|
7533
|
+
attackPaths:
|
|
7534
|
+
AttackPathsResource;
|
|
7535
|
+
valuedResources:
|
|
7536
|
+
ValuedResourcesResource;
|
|
7537
|
+
}
|
|
7538
|
+
interface AttackPathsResource {
|
|
7539
|
+
/** Lists the attack paths for a set of simulation results or valued resources and filter. */
|
|
7540
|
+
list(request?: {
|
|
6290
7541
|
/** V1 error format. */
|
|
6291
7542
|
"$.xgafv"?:
|
|
6292
7543
|
string;
|
|
@@ -6302,18 +7553,30 @@ declare namespace gapi.client {
|
|
|
6302
7553
|
/** Selector specifying which fields to include in a partial response. */
|
|
6303
7554
|
fields?:
|
|
6304
7555
|
string;
|
|
7556
|
+
/** The filter expression that filters the attack path in the response. Supported fields: * `valued_resources` supports = */
|
|
7557
|
+
filter?:
|
|
7558
|
+
string;
|
|
6305
7559
|
/** 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. */
|
|
6306
7560
|
key?:
|
|
6307
7561
|
string;
|
|
7562
|
+
/** OAuth 2.0 token for the current user. */
|
|
7563
|
+
oauth_token?:
|
|
7564
|
+
string;
|
|
7565
|
+
/** The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000. */
|
|
7566
|
+
pageSize?:
|
|
7567
|
+
number;
|
|
6308
7568
|
/**
|
|
6309
|
-
*
|
|
6310
|
-
*
|
|
6311
|
-
* {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.
|
|
7569
|
+
* The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next
|
|
7570
|
+
* page of data.
|
|
6312
7571
|
*/
|
|
6313
|
-
|
|
7572
|
+
pageToken?:
|
|
6314
7573
|
string;
|
|
6315
|
-
/**
|
|
6316
|
-
|
|
7574
|
+
/**
|
|
7575
|
+
* Required. Name of parent to list attack paths. Valid formats: "organizations/{organization}", "organizations/{organization}/simulations/{simulation}"
|
|
7576
|
+
* "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}"
|
|
7577
|
+
* "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}"
|
|
7578
|
+
*/
|
|
7579
|
+
parent:
|
|
6317
7580
|
string;
|
|
6318
7581
|
/** Returns response with indentations and line breaks. */
|
|
6319
7582
|
prettyPrint?:
|
|
@@ -6321,21 +7584,17 @@ declare namespace gapi.client {
|
|
|
6321
7584
|
/** 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. */
|
|
6322
7585
|
quotaUser?:
|
|
6323
7586
|
string;
|
|
6324
|
-
/** The list of fields to update. */
|
|
6325
|
-
updateMask?:
|
|
6326
|
-
string;
|
|
6327
7587
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6328
7588
|
upload_protocol?:
|
|
6329
7589
|
string;
|
|
6330
7590
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6331
7591
|
uploadType?:
|
|
6332
7592
|
string;
|
|
6333
|
-
}
|
|
6334
|
-
body: GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule): Request<GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>;
|
|
7593
|
+
}): Request<ListAttackPathsResponse>;
|
|
6335
7594
|
}
|
|
6336
|
-
interface
|
|
6337
|
-
/**
|
|
6338
|
-
|
|
7595
|
+
interface AttackPathsResource {
|
|
7596
|
+
/** Lists the attack paths for a set of simulation results or valued resources and filter. */
|
|
7597
|
+
list(request?: {
|
|
6339
7598
|
/** V1 error format. */
|
|
6340
7599
|
"$.xgafv"?:
|
|
6341
7600
|
string;
|
|
@@ -6351,18 +7610,30 @@ declare namespace gapi.client {
|
|
|
6351
7610
|
/** Selector specifying which fields to include in a partial response. */
|
|
6352
7611
|
fields?:
|
|
6353
7612
|
string;
|
|
7613
|
+
/** The filter expression that filters the attack path in the response. Supported fields: * `valued_resources` supports = */
|
|
7614
|
+
filter?:
|
|
7615
|
+
string;
|
|
6354
7616
|
/** 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. */
|
|
6355
7617
|
key?:
|
|
6356
7618
|
string;
|
|
7619
|
+
/** OAuth 2.0 token for the current user. */
|
|
7620
|
+
oauth_token?:
|
|
7621
|
+
string;
|
|
7622
|
+
/** The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000. */
|
|
7623
|
+
pageSize?:
|
|
7624
|
+
number;
|
|
6357
7625
|
/**
|
|
6358
|
-
*
|
|
6359
|
-
*
|
|
6360
|
-
* "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}"
|
|
7626
|
+
* The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next
|
|
7627
|
+
* page of data.
|
|
6361
7628
|
*/
|
|
6362
|
-
|
|
7629
|
+
pageToken?:
|
|
6363
7630
|
string;
|
|
6364
|
-
/**
|
|
6365
|
-
|
|
7631
|
+
/**
|
|
7632
|
+
* Required. Name of parent to list attack paths. Valid formats: "organizations/{organization}", "organizations/{organization}/simulations/{simulation}"
|
|
7633
|
+
* "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}"
|
|
7634
|
+
* "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}"
|
|
7635
|
+
*/
|
|
7636
|
+
parent:
|
|
6366
7637
|
string;
|
|
6367
7638
|
/** Returns response with indentations and line breaks. */
|
|
6368
7639
|
prettyPrint?:
|
|
@@ -6376,11 +7647,10 @@ declare namespace gapi.client {
|
|
|
6376
7647
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6377
7648
|
uploadType?:
|
|
6378
7649
|
string;
|
|
6379
|
-
}): Request<
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
*/
|
|
7650
|
+
}): Request<ListAttackPathsResponse>;
|
|
7651
|
+
}
|
|
7652
|
+
interface ValuedResourcesResource {
|
|
7653
|
+
/** Lists the valued resources for a set of simulation results and filter. */
|
|
6384
7654
|
list(request?: {
|
|
6385
7655
|
/** V1 error format. */
|
|
6386
7656
|
"$.xgafv"?:
|
|
@@ -6397,6 +7667,9 @@ declare namespace gapi.client {
|
|
|
6397
7667
|
/** Selector specifying which fields to include in a partial response. */
|
|
6398
7668
|
fields?:
|
|
6399
7669
|
string;
|
|
7670
|
+
/** The filter expression that filters the valued resources in the response. Supported fields: * `resource_value` supports = * `resource_type` supports = */
|
|
7671
|
+
filter?:
|
|
7672
|
+
string;
|
|
6400
7673
|
/** 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. */
|
|
6401
7674
|
key?:
|
|
6402
7675
|
string;
|
|
@@ -6406,12 +7679,15 @@ declare namespace gapi.client {
|
|
|
6406
7679
|
/** The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000. */
|
|
6407
7680
|
pageSize?:
|
|
6408
7681
|
number;
|
|
6409
|
-
/**
|
|
7682
|
+
/**
|
|
7683
|
+
* The value returned by the last `ListValuedResourcesResponse`; indicates that this is a continuation of a prior `ListValuedResources` call, and that the system should return the
|
|
7684
|
+
* next page of data.
|
|
7685
|
+
*/
|
|
6410
7686
|
pageToken?:
|
|
6411
7687
|
string;
|
|
6412
7688
|
/**
|
|
6413
|
-
* Required. Name of parent to list
|
|
6414
|
-
* "
|
|
7689
|
+
* Required. Name of parent to list valued resources. Valid formats: "organizations/{organization}", "organizations/{organization}/simulations/{simulation}"
|
|
7690
|
+
* "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}"
|
|
6415
7691
|
*/
|
|
6416
7692
|
parent:
|
|
6417
7693
|
string;
|
|
@@ -6427,13 +7703,59 @@ declare namespace gapi.client {
|
|
|
6427
7703
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6428
7704
|
uploadType?:
|
|
6429
7705
|
string;
|
|
6430
|
-
}): Request<
|
|
7706
|
+
}): Request<ListValuedResourcesResponse>;
|
|
7707
|
+
attackPaths:
|
|
7708
|
+
AttackPathsResource;
|
|
6431
7709
|
}
|
|
6432
|
-
interface
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
7710
|
+
interface SimulationsResource {
|
|
7711
|
+
/** Get the simulation by name or the latest simulation for the given organization. */
|
|
7712
|
+
get(request?: {
|
|
7713
|
+
/** V1 error format. */
|
|
7714
|
+
"$.xgafv"?:
|
|
7715
|
+
string;
|
|
7716
|
+
/** OAuth access token. */
|
|
7717
|
+
access_token?:
|
|
7718
|
+
string;
|
|
7719
|
+
/** Data format for response. */
|
|
7720
|
+
alt?:
|
|
7721
|
+
string;
|
|
7722
|
+
/** JSONP */
|
|
7723
|
+
callback?:
|
|
7724
|
+
string;
|
|
7725
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7726
|
+
fields?:
|
|
7727
|
+
string;
|
|
7728
|
+
/** 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. */
|
|
7729
|
+
key?:
|
|
7730
|
+
string;
|
|
7731
|
+
/**
|
|
7732
|
+
* Required. The organization name or simulation name of this simulation Valid format: "organizations/{organization}/simulations/latest"
|
|
7733
|
+
* "organizations/{organization}/simulations/{simulation}"
|
|
7734
|
+
*/
|
|
7735
|
+
name:
|
|
7736
|
+
string;
|
|
7737
|
+
/** OAuth 2.0 token for the current user. */
|
|
7738
|
+
oauth_token?:
|
|
7739
|
+
string;
|
|
7740
|
+
/** Returns response with indentations and line breaks. */
|
|
7741
|
+
prettyPrint?:
|
|
7742
|
+
boolean;
|
|
7743
|
+
/** 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. */
|
|
7744
|
+
quotaUser?:
|
|
7745
|
+
string;
|
|
7746
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7747
|
+
upload_protocol?:
|
|
7748
|
+
string;
|
|
7749
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7750
|
+
uploadType?:
|
|
7751
|
+
string;
|
|
7752
|
+
}): Request<Simulation>;
|
|
7753
|
+
attackExposureResults:
|
|
7754
|
+
AttackExposureResultsResource;
|
|
7755
|
+
attackPaths:
|
|
7756
|
+
AttackPathsResource;
|
|
7757
|
+
valuedResources:
|
|
7758
|
+
ValuedResourcesResource;
|
|
6437
7759
|
}
|
|
6438
7760
|
interface ExternalSystemsResource {
|
|
6439
7761
|
/** Updates external system. This is for a given finding. */
|
|
@@ -7737,6 +9059,8 @@ declare namespace gapi.client {
|
|
|
7737
9059
|
AssetsResource;
|
|
7738
9060
|
bigQueryExports:
|
|
7739
9061
|
BigQueryExportsResource;
|
|
9062
|
+
eventThreatDetectionSettings:
|
|
9063
|
+
EventThreatDetectionSettingsResource;
|
|
7740
9064
|
findings:
|
|
7741
9065
|
FindingsResource;
|
|
7742
9066
|
muteConfigs:
|
|
@@ -7745,8 +9069,12 @@ declare namespace gapi.client {
|
|
|
7745
9069
|
NotificationConfigsResource;
|
|
7746
9070
|
operations:
|
|
7747
9071
|
OperationsResource;
|
|
9072
|
+
resourceValueConfigs:
|
|
9073
|
+
ResourceValueConfigsResource;
|
|
7748
9074
|
securityHealthAnalyticsSettings:
|
|
7749
9075
|
SecurityHealthAnalyticsSettingsResource;
|
|
9076
|
+
simulations:
|
|
9077
|
+
SimulationsResource;
|
|
7750
9078
|
sources:
|
|
7751
9079
|
SourcesResource;
|
|
7752
9080
|
}
|