@maxim_mazurok/gapi.client.networkmanagement-v1 0.1.20250901 → 0.1.20250905
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 +337 -3
- package/package.json +1 -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://networkmanagement.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250905
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -195,6 +195,34 @@ declare namespace gapi.client {
|
|
|
195
195
|
/** Name of the metropolitan area. */
|
|
196
196
|
metropolitanArea?: string;
|
|
197
197
|
}
|
|
198
|
+
interface EffectiveVpcFlowLogsConfig {
|
|
199
|
+
/** The aggregation interval for the logs. Default value is INTERVAL_5_SEC. */
|
|
200
|
+
aggregationInterval?: string;
|
|
201
|
+
/** Determines whether to include cross project annotations in the logs. This field is available only for organization configurations. If not specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED. */
|
|
202
|
+
crossProjectMetadata?: string;
|
|
203
|
+
/** Export filter used to define which VPC Flow Logs should be logged. */
|
|
204
|
+
filterExpr?: string;
|
|
205
|
+
/** The value of the field must be in (0, 1]. The sampling rate of VPC Flow Logs where 1.0 means all collected logs are reported. Setting the sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use the state field instead. Default value is 1.0. */
|
|
206
|
+
flowSampling?: number;
|
|
207
|
+
/** Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name} */
|
|
208
|
+
interconnectAttachment?: string;
|
|
209
|
+
/** Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA. */
|
|
210
|
+
metadata?: string;
|
|
211
|
+
/** Custom metadata fields to include in the reported VPC flow logs. Can only be specified if "metadata" was set to CUSTOM_METADATA. */
|
|
212
|
+
metadataFields?: string[];
|
|
213
|
+
/** Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For a Compute config, the name will be the path of the subnet: `projects/{project_id}/regions/{region}/subnetworks/{subnet_id}` */
|
|
214
|
+
name?: string;
|
|
215
|
+
/** Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name} */
|
|
216
|
+
network?: string;
|
|
217
|
+
/** Specifies the scope of the config (e.g., SUBNET, NETWORK, ORGANIZATION..). */
|
|
218
|
+
scope?: string;
|
|
219
|
+
/** The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. Setting state=DISABLED will pause the log generation for this config. */
|
|
220
|
+
state?: string;
|
|
221
|
+
/** Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name} */
|
|
222
|
+
subnet?: string;
|
|
223
|
+
/** Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name} */
|
|
224
|
+
vpnTunnel?: string;
|
|
225
|
+
}
|
|
198
226
|
interface Empty {}
|
|
199
227
|
interface Endpoint {
|
|
200
228
|
/** An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). Applicable only to source endpoint. */
|
|
@@ -766,6 +794,14 @@ declare namespace gapi.client {
|
|
|
766
794
|
/** Uri of proxy subnet. */
|
|
767
795
|
subnetUri?: string;
|
|
768
796
|
}
|
|
797
|
+
interface QueryOrgVpcFlowLogsConfigsResponse {
|
|
798
|
+
/** Page token to fetch the next set of configurations. */
|
|
799
|
+
nextPageToken?: string;
|
|
800
|
+
/** Locations that could not be reached (when querying all locations with `-`). */
|
|
801
|
+
unreachable?: string[];
|
|
802
|
+
/** List of VPC Flow Log configurations. */
|
|
803
|
+
vpcFlowLogsConfigs?: VpcFlowLogsConfig[];
|
|
804
|
+
}
|
|
769
805
|
interface ReachabilityDetails {
|
|
770
806
|
/** The details of a failure or a cancellation of reachability analysis. */
|
|
771
807
|
error?: Status;
|
|
@@ -869,6 +905,14 @@ declare namespace gapi.client {
|
|
|
869
905
|
/** OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` */
|
|
870
906
|
updateMask?: string;
|
|
871
907
|
}
|
|
908
|
+
interface ShowEffectiveFlowLogsConfigsResponse {
|
|
909
|
+
/** List of Effective Vpc Flow Logs configurations. */
|
|
910
|
+
effectiveFlowLogsConfigs?: EffectiveVpcFlowLogsConfig[];
|
|
911
|
+
/** Page token to fetch the next set of configurations. */
|
|
912
|
+
nextPageToken?: string;
|
|
913
|
+
/** Locations that could not be reached (when querying all locations with `-`). */
|
|
914
|
+
unreachable?: string[];
|
|
915
|
+
}
|
|
872
916
|
interface SingleEdgeResponse {
|
|
873
917
|
/** The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field *must not* be used as an indication that the destination is part of the Google network. */
|
|
874
918
|
destinationEgressLocation?: EdgeLocation;
|
|
@@ -996,6 +1040,8 @@ declare namespace gapi.client {
|
|
|
996
1040
|
aggregationInterval?: string;
|
|
997
1041
|
/** Output only. The time the config was created. */
|
|
998
1042
|
createTime?: string;
|
|
1043
|
+
/** Optional. Determines whether to include cross project annotations in the logs. This field is available only for organization configurations. If not specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED. */
|
|
1044
|
+
crossProjectMetadata?: string;
|
|
999
1045
|
/** Optional. The user-supplied description of the VPC Flow Logs configuration. Maximum of 512 characters. */
|
|
1000
1046
|
description?: string;
|
|
1001
1047
|
/** Optional. Export filter used to define which VPC Flow Logs should be logged. */
|
|
@@ -1012,8 +1058,12 @@ declare namespace gapi.client {
|
|
|
1012
1058
|
metadataFields?: string[];
|
|
1013
1059
|
/** Identifier. Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */
|
|
1014
1060
|
name?: string;
|
|
1061
|
+
/** Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name} */
|
|
1062
|
+
network?: string;
|
|
1015
1063
|
/** Optional. The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. Setting state=DISABLED will pause the log generation for this config. */
|
|
1016
1064
|
state?: string;
|
|
1065
|
+
/** Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name} */
|
|
1066
|
+
subnet?: string;
|
|
1017
1067
|
/** Output only. Describes the state of the configured target resource for diagnostic purposes. */
|
|
1018
1068
|
targetResourceState?: string;
|
|
1019
1069
|
/** Output only. The time the config was updated. */
|
|
@@ -1234,6 +1284,221 @@ declare namespace gapi.client {
|
|
|
1234
1284
|
uploadType?: string;
|
|
1235
1285
|
}): Request<ListOperationsResponse>;
|
|
1236
1286
|
}
|
|
1287
|
+
interface VpcFlowLogsConfigsResource {
|
|
1288
|
+
/** Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes: 1. Creating a configuration with `state=DISABLED` will fail 2. The following fields are not considered as settings for the purpose of the check mentioned above, therefore - creating another configuration with the same fields but different values for the following fields will fail as well: * name * create_time * update_time * labels * description */
|
|
1289
|
+
create(request: {
|
|
1290
|
+
/** V1 error format. */
|
|
1291
|
+
'$.xgafv'?: string;
|
|
1292
|
+
/** OAuth access token. */
|
|
1293
|
+
access_token?: string;
|
|
1294
|
+
/** Data format for response. */
|
|
1295
|
+
alt?: string;
|
|
1296
|
+
/** JSONP */
|
|
1297
|
+
callback?: string;
|
|
1298
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1299
|
+
fields?: string;
|
|
1300
|
+
/** 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. */
|
|
1301
|
+
key?: string;
|
|
1302
|
+
/** OAuth 2.0 token for the current user. */
|
|
1303
|
+
oauth_token?: string;
|
|
1304
|
+
/** Required. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global` */
|
|
1305
|
+
parent: string;
|
|
1306
|
+
/** Returns response with indentations and line breaks. */
|
|
1307
|
+
prettyPrint?: boolean;
|
|
1308
|
+
/** 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. */
|
|
1309
|
+
quotaUser?: string;
|
|
1310
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1311
|
+
upload_protocol?: string;
|
|
1312
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1313
|
+
uploadType?: string;
|
|
1314
|
+
/** Required. ID of the `VpcFlowLogsConfig`. */
|
|
1315
|
+
vpcFlowLogsConfigId?: string;
|
|
1316
|
+
/** Request body */
|
|
1317
|
+
resource: VpcFlowLogsConfig;
|
|
1318
|
+
}): Request<Operation>;
|
|
1319
|
+
create(
|
|
1320
|
+
request: {
|
|
1321
|
+
/** V1 error format. */
|
|
1322
|
+
'$.xgafv'?: string;
|
|
1323
|
+
/** OAuth access token. */
|
|
1324
|
+
access_token?: string;
|
|
1325
|
+
/** Data format for response. */
|
|
1326
|
+
alt?: string;
|
|
1327
|
+
/** JSONP */
|
|
1328
|
+
callback?: string;
|
|
1329
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1330
|
+
fields?: string;
|
|
1331
|
+
/** 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. */
|
|
1332
|
+
key?: string;
|
|
1333
|
+
/** OAuth 2.0 token for the current user. */
|
|
1334
|
+
oauth_token?: string;
|
|
1335
|
+
/** Required. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global` */
|
|
1336
|
+
parent: string;
|
|
1337
|
+
/** Returns response with indentations and line breaks. */
|
|
1338
|
+
prettyPrint?: boolean;
|
|
1339
|
+
/** 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. */
|
|
1340
|
+
quotaUser?: string;
|
|
1341
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1342
|
+
upload_protocol?: string;
|
|
1343
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1344
|
+
uploadType?: string;
|
|
1345
|
+
/** Required. ID of the `VpcFlowLogsConfig`. */
|
|
1346
|
+
vpcFlowLogsConfigId?: string;
|
|
1347
|
+
},
|
|
1348
|
+
body: VpcFlowLogsConfig,
|
|
1349
|
+
): Request<Operation>;
|
|
1350
|
+
/** Deletes a specific `VpcFlowLogsConfig`. */
|
|
1351
|
+
delete(request?: {
|
|
1352
|
+
/** V1 error format. */
|
|
1353
|
+
'$.xgafv'?: string;
|
|
1354
|
+
/** OAuth access token. */
|
|
1355
|
+
access_token?: string;
|
|
1356
|
+
/** Data format for response. */
|
|
1357
|
+
alt?: string;
|
|
1358
|
+
/** JSONP */
|
|
1359
|
+
callback?: string;
|
|
1360
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1361
|
+
fields?: string;
|
|
1362
|
+
/** 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. */
|
|
1363
|
+
key?: string;
|
|
1364
|
+
/** Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For a project-level resource: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For an organization-level resource: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */
|
|
1365
|
+
name: string;
|
|
1366
|
+
/** OAuth 2.0 token for the current user. */
|
|
1367
|
+
oauth_token?: string;
|
|
1368
|
+
/** Returns response with indentations and line breaks. */
|
|
1369
|
+
prettyPrint?: boolean;
|
|
1370
|
+
/** 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. */
|
|
1371
|
+
quotaUser?: string;
|
|
1372
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1373
|
+
upload_protocol?: string;
|
|
1374
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1375
|
+
uploadType?: string;
|
|
1376
|
+
}): Request<Operation>;
|
|
1377
|
+
/** Gets the details of a specific `VpcFlowLogsConfig`. */
|
|
1378
|
+
get(request?: {
|
|
1379
|
+
/** V1 error format. */
|
|
1380
|
+
'$.xgafv'?: string;
|
|
1381
|
+
/** OAuth access token. */
|
|
1382
|
+
access_token?: string;
|
|
1383
|
+
/** Data format for response. */
|
|
1384
|
+
alt?: string;
|
|
1385
|
+
/** JSONP */
|
|
1386
|
+
callback?: string;
|
|
1387
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1388
|
+
fields?: string;
|
|
1389
|
+
/** 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. */
|
|
1390
|
+
key?: string;
|
|
1391
|
+
/** Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level resources: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */
|
|
1392
|
+
name: string;
|
|
1393
|
+
/** OAuth 2.0 token for the current user. */
|
|
1394
|
+
oauth_token?: string;
|
|
1395
|
+
/** Returns response with indentations and line breaks. */
|
|
1396
|
+
prettyPrint?: boolean;
|
|
1397
|
+
/** 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. */
|
|
1398
|
+
quotaUser?: string;
|
|
1399
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1400
|
+
upload_protocol?: string;
|
|
1401
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1402
|
+
uploadType?: string;
|
|
1403
|
+
}): Request<VpcFlowLogsConfig>;
|
|
1404
|
+
/** Lists all `VpcFlowLogsConfigs` in a given organization. */
|
|
1405
|
+
list(request?: {
|
|
1406
|
+
/** V1 error format. */
|
|
1407
|
+
'$.xgafv'?: string;
|
|
1408
|
+
/** OAuth access token. */
|
|
1409
|
+
access_token?: string;
|
|
1410
|
+
/** Data format for response. */
|
|
1411
|
+
alt?: string;
|
|
1412
|
+
/** JSONP */
|
|
1413
|
+
callback?: string;
|
|
1414
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1415
|
+
fields?: string;
|
|
1416
|
+
/** Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators). */
|
|
1417
|
+
filter?: string;
|
|
1418
|
+
/** 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. */
|
|
1419
|
+
key?: string;
|
|
1420
|
+
/** OAuth 2.0 token for the current user. */
|
|
1421
|
+
oauth_token?: string;
|
|
1422
|
+
/** Optional. Field to use to sort the list. */
|
|
1423
|
+
orderBy?: string;
|
|
1424
|
+
/** Optional. Number of `VpcFlowLogsConfigs` to return. */
|
|
1425
|
+
pageSize?: number;
|
|
1426
|
+
/** Optional. Page token from an earlier query, as returned in `next_page_token`. */
|
|
1427
|
+
pageToken?: string;
|
|
1428
|
+
/** Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resourcs: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global` */
|
|
1429
|
+
parent: string;
|
|
1430
|
+
/** Returns response with indentations and line breaks. */
|
|
1431
|
+
prettyPrint?: boolean;
|
|
1432
|
+
/** 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. */
|
|
1433
|
+
quotaUser?: string;
|
|
1434
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1435
|
+
upload_protocol?: string;
|
|
1436
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1437
|
+
uploadType?: string;
|
|
1438
|
+
}): Request<ListVpcFlowLogsConfigsResponse>;
|
|
1439
|
+
/** Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes: 1. Updating a configuration with `state=DISABLED` will fail 2. The following fields are not considered as settings for the purpose of the check mentioned above, therefore - updating another configuration with the same fields but different values for the following fields will fail as well: * name * create_time * update_time * labels * description */
|
|
1440
|
+
patch(request: {
|
|
1441
|
+
/** V1 error format. */
|
|
1442
|
+
'$.xgafv'?: string;
|
|
1443
|
+
/** OAuth access token. */
|
|
1444
|
+
access_token?: string;
|
|
1445
|
+
/** Data format for response. */
|
|
1446
|
+
alt?: string;
|
|
1447
|
+
/** JSONP */
|
|
1448
|
+
callback?: string;
|
|
1449
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1450
|
+
fields?: string;
|
|
1451
|
+
/** 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. */
|
|
1452
|
+
key?: string;
|
|
1453
|
+
/** Identifier. Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */
|
|
1454
|
+
name: string;
|
|
1455
|
+
/** OAuth 2.0 token for the current user. */
|
|
1456
|
+
oauth_token?: string;
|
|
1457
|
+
/** Returns response with indentations and line breaks. */
|
|
1458
|
+
prettyPrint?: boolean;
|
|
1459
|
+
/** 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. */
|
|
1460
|
+
quotaUser?: string;
|
|
1461
|
+
/** Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify `update_mask` = `"state"`, and the `vpc_flow_logs_config` would be: `vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }` */
|
|
1462
|
+
updateMask?: string;
|
|
1463
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1464
|
+
upload_protocol?: string;
|
|
1465
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1466
|
+
uploadType?: string;
|
|
1467
|
+
/** Request body */
|
|
1468
|
+
resource: VpcFlowLogsConfig;
|
|
1469
|
+
}): Request<Operation>;
|
|
1470
|
+
patch(
|
|
1471
|
+
request: {
|
|
1472
|
+
/** V1 error format. */
|
|
1473
|
+
'$.xgafv'?: string;
|
|
1474
|
+
/** OAuth access token. */
|
|
1475
|
+
access_token?: string;
|
|
1476
|
+
/** Data format for response. */
|
|
1477
|
+
alt?: string;
|
|
1478
|
+
/** JSONP */
|
|
1479
|
+
callback?: string;
|
|
1480
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1481
|
+
fields?: string;
|
|
1482
|
+
/** 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. */
|
|
1483
|
+
key?: string;
|
|
1484
|
+
/** Identifier. Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */
|
|
1485
|
+
name: string;
|
|
1486
|
+
/** OAuth 2.0 token for the current user. */
|
|
1487
|
+
oauth_token?: string;
|
|
1488
|
+
/** Returns response with indentations and line breaks. */
|
|
1489
|
+
prettyPrint?: boolean;
|
|
1490
|
+
/** 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. */
|
|
1491
|
+
quotaUser?: string;
|
|
1492
|
+
/** Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify `update_mask` = `"state"`, and the `vpc_flow_logs_config` would be: `vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }` */
|
|
1493
|
+
updateMask?: string;
|
|
1494
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1495
|
+
upload_protocol?: string;
|
|
1496
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1497
|
+
uploadType?: string;
|
|
1498
|
+
},
|
|
1499
|
+
body: VpcFlowLogsConfig,
|
|
1500
|
+
): Request<Operation>;
|
|
1501
|
+
}
|
|
1237
1502
|
interface LocationsResource {
|
|
1238
1503
|
/** Gets information about a location. */
|
|
1239
1504
|
get(request?: {
|
|
@@ -1272,7 +1537,7 @@ declare namespace gapi.client {
|
|
|
1272
1537
|
alt?: string;
|
|
1273
1538
|
/** JSONP */
|
|
1274
1539
|
callback?: string;
|
|
1275
|
-
/** Optional.
|
|
1540
|
+
/** Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage. */
|
|
1276
1541
|
extraLocationTypes?: string | string[];
|
|
1277
1542
|
/** Selector specifying which fields to include in a partial response. */
|
|
1278
1543
|
fields?: string;
|
|
@@ -1298,6 +1563,7 @@ declare namespace gapi.client {
|
|
|
1298
1563
|
uploadType?: string;
|
|
1299
1564
|
}): Request<ListLocationsResponse>;
|
|
1300
1565
|
operations: OperationsResource;
|
|
1566
|
+
vpcFlowLogsConfigs: VpcFlowLogsConfigsResource;
|
|
1301
1567
|
}
|
|
1302
1568
|
interface OrganizationsResource {
|
|
1303
1569
|
locations: LocationsResource;
|
|
@@ -2361,6 +2627,74 @@ declare namespace gapi.client {
|
|
|
2361
2627
|
},
|
|
2362
2628
|
body: VpcFlowLogsConfig,
|
|
2363
2629
|
): Request<Operation>;
|
|
2630
|
+
/** QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow Logs configurations applicable to the specified project. */
|
|
2631
|
+
queryOrgVpcFlowLogsConfigs(request?: {
|
|
2632
|
+
/** V1 error format. */
|
|
2633
|
+
'$.xgafv'?: string;
|
|
2634
|
+
/** OAuth access token. */
|
|
2635
|
+
access_token?: string;
|
|
2636
|
+
/** Data format for response. */
|
|
2637
|
+
alt?: string;
|
|
2638
|
+
/** JSONP */
|
|
2639
|
+
callback?: string;
|
|
2640
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2641
|
+
fields?: string;
|
|
2642
|
+
/** Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators). */
|
|
2643
|
+
filter?: string;
|
|
2644
|
+
/** 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. */
|
|
2645
|
+
key?: string;
|
|
2646
|
+
/** OAuth 2.0 token for the current user. */
|
|
2647
|
+
oauth_token?: string;
|
|
2648
|
+
/** Optional. Number of `VpcFlowLogsConfigs` to return. */
|
|
2649
|
+
pageSize?: number;
|
|
2650
|
+
/** Optional. Page token from an earlier query, as returned in `next_page_token`. */
|
|
2651
|
+
pageToken?: string;
|
|
2652
|
+
/** Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: `projects/{project_id}/locations/global` */
|
|
2653
|
+
parent: string;
|
|
2654
|
+
/** Returns response with indentations and line breaks. */
|
|
2655
|
+
prettyPrint?: boolean;
|
|
2656
|
+
/** 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. */
|
|
2657
|
+
quotaUser?: string;
|
|
2658
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2659
|
+
upload_protocol?: string;
|
|
2660
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2661
|
+
uploadType?: string;
|
|
2662
|
+
}): Request<QueryOrgVpcFlowLogsConfigsResponse>;
|
|
2663
|
+
/** ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs configurations applicable to a specified resource. */
|
|
2664
|
+
showEffectiveFlowLogsConfigs(request?: {
|
|
2665
|
+
/** V1 error format. */
|
|
2666
|
+
'$.xgafv'?: string;
|
|
2667
|
+
/** OAuth access token. */
|
|
2668
|
+
access_token?: string;
|
|
2669
|
+
/** Data format for response. */
|
|
2670
|
+
alt?: string;
|
|
2671
|
+
/** JSONP */
|
|
2672
|
+
callback?: string;
|
|
2673
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2674
|
+
fields?: string;
|
|
2675
|
+
/** Optional. Lists the `EffectiveVpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators). */
|
|
2676
|
+
filter?: string;
|
|
2677
|
+
/** 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. */
|
|
2678
|
+
key?: string;
|
|
2679
|
+
/** OAuth 2.0 token for the current user. */
|
|
2680
|
+
oauth_token?: string;
|
|
2681
|
+
/** Optional. Number of `EffectiveVpcFlowLogsConfigs` to return. Default is 30. */
|
|
2682
|
+
pageSize?: number;
|
|
2683
|
+
/** Optional. Page token from an earlier query, as returned in `next_page_token`. */
|
|
2684
|
+
pageToken?: string;
|
|
2685
|
+
/** Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: `projects/{project_id}/locations/global` */
|
|
2686
|
+
parent: string;
|
|
2687
|
+
/** Returns response with indentations and line breaks. */
|
|
2688
|
+
prettyPrint?: boolean;
|
|
2689
|
+
/** 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. */
|
|
2690
|
+
quotaUser?: string;
|
|
2691
|
+
/** Required. The resource to get the effective VPC Flow Logs configuration for. The resource must belong to the same project as the parent. The resource must be a network, subnetwork, interconnect attachment, VPN tunnel, or a project. */
|
|
2692
|
+
resource?: string;
|
|
2693
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2694
|
+
upload_protocol?: string;
|
|
2695
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2696
|
+
uploadType?: string;
|
|
2697
|
+
}): Request<ShowEffectiveFlowLogsConfigsResponse>;
|
|
2364
2698
|
}
|
|
2365
2699
|
interface LocationsResource {
|
|
2366
2700
|
/** Gets information about a location. */
|
|
@@ -2400,7 +2734,7 @@ declare namespace gapi.client {
|
|
|
2400
2734
|
alt?: string;
|
|
2401
2735
|
/** JSONP */
|
|
2402
2736
|
callback?: string;
|
|
2403
|
-
/** Optional.
|
|
2737
|
+
/** Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage. */
|
|
2404
2738
|
extraLocationTypes?: string | string[];
|
|
2405
2739
|
/** Selector specifying which fields to include in a partial response. */
|
|
2406
2740
|
fields?: string;
|