@maxim_mazurok/gapi.client.networkmanagement-v1 0.0.20241106 → 0.0.20241210
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 +283 -15
- 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: 20241210
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -138,6 +138,10 @@ declare namespace gapi.client {
|
|
|
138
138
|
reachabilityDetails?: ReachabilityDetails;
|
|
139
139
|
/** Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries. */
|
|
140
140
|
relatedProjects?: string[];
|
|
141
|
+
/** Output only. The reachability details of this test from the latest run for the return path. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test. */
|
|
142
|
+
returnReachabilityDetails?: ReachabilityDetails;
|
|
143
|
+
/** Whether run analysis for the return path from destination to source. Default value is false. */
|
|
144
|
+
roundTrip?: boolean;
|
|
141
145
|
/** Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test. */
|
|
142
146
|
source?: Endpoint;
|
|
143
147
|
/** Output only. The time the test's configuration was updated. */
|
|
@@ -362,6 +366,14 @@ declare namespace gapi.client {
|
|
|
362
366
|
/** A list of operations that matches the specified filter in the request. */
|
|
363
367
|
operations?: Operation[];
|
|
364
368
|
}
|
|
369
|
+
interface ListVpcFlowLogsConfigsResponse {
|
|
370
|
+
/** Page token to fetch the next set of configurations. */
|
|
371
|
+
nextPageToken?: string;
|
|
372
|
+
/** Locations that could not be reached (when querying all locations with `-`). */
|
|
373
|
+
unreachable?: string[];
|
|
374
|
+
/** List of VPC Flow Log configurations. */
|
|
375
|
+
vpcFlowLogsConfigs?: VpcFlowLogsConfig[];
|
|
376
|
+
}
|
|
365
377
|
interface LoadBalancerBackend {
|
|
366
378
|
/** Name of a Compute Engine instance or network endpoint. */
|
|
367
379
|
displayName?: string;
|
|
@@ -582,43 +594,53 @@ declare namespace gapi.client {
|
|
|
582
594
|
}
|
|
583
595
|
interface RerunConnectivityTestRequest {}
|
|
584
596
|
interface RouteInfo {
|
|
585
|
-
/** For
|
|
597
|
+
/** For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests. */
|
|
586
598
|
advertisedRouteNextHopUri?: string;
|
|
587
|
-
/** For
|
|
599
|
+
/** For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix. */
|
|
588
600
|
advertisedRouteSourceRouterUri?: string;
|
|
589
601
|
/** Destination IP range of the route. */
|
|
590
602
|
destIpRange?: string;
|
|
591
|
-
/** Destination port ranges of the route.
|
|
603
|
+
/** Destination port ranges of the route. POLICY_BASED routes only. */
|
|
592
604
|
destPortRanges?: string[];
|
|
593
605
|
/** Name of a route. */
|
|
594
606
|
displayName?: string;
|
|
595
607
|
/** Instance tags of the route. */
|
|
596
608
|
instanceTags?: string[];
|
|
597
|
-
/** URI of
|
|
609
|
+
/** For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table. */
|
|
610
|
+
nccHubRouteUri?: string;
|
|
611
|
+
/** URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only. */
|
|
598
612
|
nccHubUri?: string;
|
|
599
|
-
/** URI of
|
|
613
|
+
/** URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only. */
|
|
600
614
|
nccSpokeUri?: string;
|
|
601
|
-
/** URI of a
|
|
615
|
+
/** URI of a VPC network where route is located. */
|
|
602
616
|
networkUri?: string;
|
|
603
|
-
/**
|
|
617
|
+
/** String type of the next hop of the route (for example, "VPN tunnel"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests. */
|
|
604
618
|
nextHop?: string;
|
|
619
|
+
/** URI of a VPC network where the next hop resource is located. */
|
|
620
|
+
nextHopNetworkUri?: string;
|
|
605
621
|
/** Type of next hop. */
|
|
606
622
|
nextHopType?: string;
|
|
623
|
+
/** URI of the next hop resource. */
|
|
624
|
+
nextHopUri?: string;
|
|
625
|
+
/** For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route. */
|
|
626
|
+
originatingRouteDisplayName?: string;
|
|
627
|
+
/** For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route. */
|
|
628
|
+
originatingRouteUri?: string;
|
|
607
629
|
/** Priority of the route. */
|
|
608
630
|
priority?: number;
|
|
609
|
-
/** Protocols of the route.
|
|
631
|
+
/** Protocols of the route. POLICY_BASED routes only. */
|
|
610
632
|
protocols?: string[];
|
|
611
|
-
/** Region of the route
|
|
633
|
+
/** Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to. */
|
|
612
634
|
region?: string;
|
|
613
|
-
/** Indicates where route is applicable. */
|
|
635
|
+
/** Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests. */
|
|
614
636
|
routeScope?: string;
|
|
615
637
|
/** Type of route. */
|
|
616
638
|
routeType?: string;
|
|
617
|
-
/** Source IP address range of the route.
|
|
639
|
+
/** Source IP address range of the route. POLICY_BASED routes only. */
|
|
618
640
|
srcIpRange?: string;
|
|
619
|
-
/** Source port ranges of the route.
|
|
641
|
+
/** Source port ranges of the route. POLICY_BASED routes only. */
|
|
620
642
|
srcPortRanges?: string[];
|
|
621
|
-
/** URI of a route (
|
|
643
|
+
/** URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only. */
|
|
622
644
|
uri?: string;
|
|
623
645
|
}
|
|
624
646
|
interface ServerlessNegInfo {
|
|
@@ -731,6 +753,36 @@ declare namespace gapi.client {
|
|
|
731
753
|
/** URI of a VPC connector. */
|
|
732
754
|
uri?: string;
|
|
733
755
|
}
|
|
756
|
+
interface VpcFlowLogsConfig {
|
|
757
|
+
/** Optional. The aggregation interval for the logs. Default value is INTERVAL_5_SEC. */
|
|
758
|
+
aggregationInterval?: string;
|
|
759
|
+
/** Output only. The time the config was created. */
|
|
760
|
+
createTime?: string;
|
|
761
|
+
/** Optional. The user-supplied description of the VPC Flow Logs configuration. Maximum of 512 characters. */
|
|
762
|
+
description?: string;
|
|
763
|
+
/** Optional. Export filter used to define which VPC Flow Logs should be logged. */
|
|
764
|
+
filterExpr?: string;
|
|
765
|
+
/** Optional. 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. */
|
|
766
|
+
flowSampling?: number;
|
|
767
|
+
/** Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name} */
|
|
768
|
+
interconnectAttachment?: string;
|
|
769
|
+
/** Optional. Resource labels to represent user-provided metadata. */
|
|
770
|
+
labels?: {[P in string]: string};
|
|
771
|
+
/** Optional. 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. */
|
|
772
|
+
metadata?: string;
|
|
773
|
+
/** Optional. Custom metadata fields to include in the reported VPC flow logs. Can only be specified if "metadata" was set to CUSTOM_METADATA. */
|
|
774
|
+
metadataFields?: string[];
|
|
775
|
+
/** Identifier. Unique name of the configuration using the form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */
|
|
776
|
+
name?: string;
|
|
777
|
+
/** Optional. The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. */
|
|
778
|
+
state?: string;
|
|
779
|
+
/** Output only. A diagnostic bit - describes the state of the configured target resource for diagnostic purposes. */
|
|
780
|
+
targetResourceState?: string;
|
|
781
|
+
/** Output only. The time the config was updated. */
|
|
782
|
+
updateTime?: string;
|
|
783
|
+
/** Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name} */
|
|
784
|
+
vpnTunnel?: string;
|
|
785
|
+
}
|
|
734
786
|
interface VpnGatewayInfo {
|
|
735
787
|
/** Name of a VPN gateway. */
|
|
736
788
|
displayName?: string;
|
|
@@ -1128,7 +1180,7 @@ declare namespace gapi.client {
|
|
|
1128
1180
|
): Request<TestIamPermissionsResponse>;
|
|
1129
1181
|
}
|
|
1130
1182
|
interface OperationsResource {
|
|
1131
|
-
/** 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 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 operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1
|
|
1183
|
+
/** 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 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 operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
1132
1184
|
cancel(request: {
|
|
1133
1185
|
/** V1 error format. */
|
|
1134
1186
|
'$.xgafv'?: string;
|
|
@@ -1278,6 +1330,221 @@ declare namespace gapi.client {
|
|
|
1278
1330
|
connectivityTests: ConnectivityTestsResource;
|
|
1279
1331
|
operations: OperationsResource;
|
|
1280
1332
|
}
|
|
1333
|
+
interface VpcFlowLogsConfigsResource {
|
|
1334
|
+
/** 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 */
|
|
1335
|
+
create(request: {
|
|
1336
|
+
/** V1 error format. */
|
|
1337
|
+
'$.xgafv'?: string;
|
|
1338
|
+
/** OAuth access token. */
|
|
1339
|
+
access_token?: string;
|
|
1340
|
+
/** Data format for response. */
|
|
1341
|
+
alt?: string;
|
|
1342
|
+
/** JSONP */
|
|
1343
|
+
callback?: string;
|
|
1344
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1345
|
+
fields?: string;
|
|
1346
|
+
/** 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. */
|
|
1347
|
+
key?: string;
|
|
1348
|
+
/** OAuth 2.0 token for the current user. */
|
|
1349
|
+
oauth_token?: string;
|
|
1350
|
+
/** Required. The parent resource of the VPC Flow Logs configuration to create: `projects/{project_id}/locations/global` */
|
|
1351
|
+
parent: string;
|
|
1352
|
+
/** Returns response with indentations and line breaks. */
|
|
1353
|
+
prettyPrint?: boolean;
|
|
1354
|
+
/** 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. */
|
|
1355
|
+
quotaUser?: string;
|
|
1356
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1357
|
+
upload_protocol?: string;
|
|
1358
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1359
|
+
uploadType?: string;
|
|
1360
|
+
/** Required. ID of the `VpcFlowLogsConfig`. */
|
|
1361
|
+
vpcFlowLogsConfigId?: string;
|
|
1362
|
+
/** Request body */
|
|
1363
|
+
resource: VpcFlowLogsConfig;
|
|
1364
|
+
}): Request<Operation>;
|
|
1365
|
+
create(
|
|
1366
|
+
request: {
|
|
1367
|
+
/** V1 error format. */
|
|
1368
|
+
'$.xgafv'?: string;
|
|
1369
|
+
/** OAuth access token. */
|
|
1370
|
+
access_token?: string;
|
|
1371
|
+
/** Data format for response. */
|
|
1372
|
+
alt?: string;
|
|
1373
|
+
/** JSONP */
|
|
1374
|
+
callback?: string;
|
|
1375
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1376
|
+
fields?: string;
|
|
1377
|
+
/** 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. */
|
|
1378
|
+
key?: string;
|
|
1379
|
+
/** OAuth 2.0 token for the current user. */
|
|
1380
|
+
oauth_token?: string;
|
|
1381
|
+
/** Required. The parent resource of the VPC Flow Logs configuration to create: `projects/{project_id}/locations/global` */
|
|
1382
|
+
parent: string;
|
|
1383
|
+
/** Returns response with indentations and line breaks. */
|
|
1384
|
+
prettyPrint?: boolean;
|
|
1385
|
+
/** 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. */
|
|
1386
|
+
quotaUser?: string;
|
|
1387
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1388
|
+
upload_protocol?: string;
|
|
1389
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1390
|
+
uploadType?: string;
|
|
1391
|
+
/** Required. ID of the `VpcFlowLogsConfig`. */
|
|
1392
|
+
vpcFlowLogsConfigId?: string;
|
|
1393
|
+
},
|
|
1394
|
+
body: VpcFlowLogsConfig
|
|
1395
|
+
): Request<Operation>;
|
|
1396
|
+
/** Deletes a specific `VpcFlowLogsConfig`. */
|
|
1397
|
+
delete(request?: {
|
|
1398
|
+
/** V1 error format. */
|
|
1399
|
+
'$.xgafv'?: string;
|
|
1400
|
+
/** OAuth access token. */
|
|
1401
|
+
access_token?: string;
|
|
1402
|
+
/** Data format for response. */
|
|
1403
|
+
alt?: string;
|
|
1404
|
+
/** JSONP */
|
|
1405
|
+
callback?: string;
|
|
1406
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1407
|
+
fields?: string;
|
|
1408
|
+
/** 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. */
|
|
1409
|
+
key?: string;
|
|
1410
|
+
/** Required. `VpcFlowLogsConfig` resource name using the form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` */
|
|
1411
|
+
name: string;
|
|
1412
|
+
/** OAuth 2.0 token for the current user. */
|
|
1413
|
+
oauth_token?: string;
|
|
1414
|
+
/** Returns response with indentations and line breaks. */
|
|
1415
|
+
prettyPrint?: boolean;
|
|
1416
|
+
/** 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. */
|
|
1417
|
+
quotaUser?: string;
|
|
1418
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1419
|
+
upload_protocol?: string;
|
|
1420
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1421
|
+
uploadType?: string;
|
|
1422
|
+
}): Request<Operation>;
|
|
1423
|
+
/** Gets the details of a specific `VpcFlowLogsConfig`. */
|
|
1424
|
+
get(request?: {
|
|
1425
|
+
/** V1 error format. */
|
|
1426
|
+
'$.xgafv'?: string;
|
|
1427
|
+
/** OAuth access token. */
|
|
1428
|
+
access_token?: string;
|
|
1429
|
+
/** Data format for response. */
|
|
1430
|
+
alt?: string;
|
|
1431
|
+
/** JSONP */
|
|
1432
|
+
callback?: string;
|
|
1433
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1434
|
+
fields?: string;
|
|
1435
|
+
/** 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. */
|
|
1436
|
+
key?: string;
|
|
1437
|
+
/** Required. `VpcFlowLogsConfig` resource name using the form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` */
|
|
1438
|
+
name: string;
|
|
1439
|
+
/** OAuth 2.0 token for the current user. */
|
|
1440
|
+
oauth_token?: string;
|
|
1441
|
+
/** Returns response with indentations and line breaks. */
|
|
1442
|
+
prettyPrint?: boolean;
|
|
1443
|
+
/** 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. */
|
|
1444
|
+
quotaUser?: string;
|
|
1445
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1446
|
+
upload_protocol?: string;
|
|
1447
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1448
|
+
uploadType?: string;
|
|
1449
|
+
}): Request<VpcFlowLogsConfig>;
|
|
1450
|
+
/** Lists all `VpcFlowLogsConfigs` in a given project. */
|
|
1451
|
+
list(request?: {
|
|
1452
|
+
/** V1 error format. */
|
|
1453
|
+
'$.xgafv'?: string;
|
|
1454
|
+
/** OAuth access token. */
|
|
1455
|
+
access_token?: string;
|
|
1456
|
+
/** Data format for response. */
|
|
1457
|
+
alt?: string;
|
|
1458
|
+
/** JSONP */
|
|
1459
|
+
callback?: string;
|
|
1460
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1461
|
+
fields?: string;
|
|
1462
|
+
/** 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). */
|
|
1463
|
+
filter?: string;
|
|
1464
|
+
/** 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. */
|
|
1465
|
+
key?: string;
|
|
1466
|
+
/** OAuth 2.0 token for the current user. */
|
|
1467
|
+
oauth_token?: string;
|
|
1468
|
+
/** Optional. Field to use to sort the list. */
|
|
1469
|
+
orderBy?: string;
|
|
1470
|
+
/** Optional. Number of `VpcFlowLogsConfigs` to return. */
|
|
1471
|
+
pageSize?: number;
|
|
1472
|
+
/** Optional. Page token from an earlier query, as returned in `next_page_token`. */
|
|
1473
|
+
pageToken?: string;
|
|
1474
|
+
/** Required. The parent resource of the VpcFlowLogsConfig: `projects/{project_id}/locations/global` */
|
|
1475
|
+
parent: string;
|
|
1476
|
+
/** Returns response with indentations and line breaks. */
|
|
1477
|
+
prettyPrint?: boolean;
|
|
1478
|
+
/** 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. */
|
|
1479
|
+
quotaUser?: string;
|
|
1480
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1481
|
+
upload_protocol?: string;
|
|
1482
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1483
|
+
uploadType?: string;
|
|
1484
|
+
}): Request<ListVpcFlowLogsConfigsResponse>;
|
|
1485
|
+
/** 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 */
|
|
1486
|
+
patch(request: {
|
|
1487
|
+
/** V1 error format. */
|
|
1488
|
+
'$.xgafv'?: string;
|
|
1489
|
+
/** OAuth access token. */
|
|
1490
|
+
access_token?: string;
|
|
1491
|
+
/** Data format for response. */
|
|
1492
|
+
alt?: string;
|
|
1493
|
+
/** JSONP */
|
|
1494
|
+
callback?: string;
|
|
1495
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1496
|
+
fields?: string;
|
|
1497
|
+
/** 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. */
|
|
1498
|
+
key?: string;
|
|
1499
|
+
/** Identifier. Unique name of the configuration using the form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */
|
|
1500
|
+
name: string;
|
|
1501
|
+
/** OAuth 2.0 token for the current user. */
|
|
1502
|
+
oauth_token?: string;
|
|
1503
|
+
/** Returns response with indentations and line breaks. */
|
|
1504
|
+
prettyPrint?: boolean;
|
|
1505
|
+
/** 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. */
|
|
1506
|
+
quotaUser?: string;
|
|
1507
|
+
/** Required. Mask of fields to update. At least one path must be supplied in this field. */
|
|
1508
|
+
updateMask?: string;
|
|
1509
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1510
|
+
upload_protocol?: string;
|
|
1511
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1512
|
+
uploadType?: string;
|
|
1513
|
+
/** Request body */
|
|
1514
|
+
resource: VpcFlowLogsConfig;
|
|
1515
|
+
}): Request<Operation>;
|
|
1516
|
+
patch(
|
|
1517
|
+
request: {
|
|
1518
|
+
/** V1 error format. */
|
|
1519
|
+
'$.xgafv'?: string;
|
|
1520
|
+
/** OAuth access token. */
|
|
1521
|
+
access_token?: string;
|
|
1522
|
+
/** Data format for response. */
|
|
1523
|
+
alt?: string;
|
|
1524
|
+
/** JSONP */
|
|
1525
|
+
callback?: string;
|
|
1526
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1527
|
+
fields?: string;
|
|
1528
|
+
/** 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. */
|
|
1529
|
+
key?: string;
|
|
1530
|
+
/** Identifier. Unique name of the configuration using the form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */
|
|
1531
|
+
name: string;
|
|
1532
|
+
/** OAuth 2.0 token for the current user. */
|
|
1533
|
+
oauth_token?: string;
|
|
1534
|
+
/** Returns response with indentations and line breaks. */
|
|
1535
|
+
prettyPrint?: boolean;
|
|
1536
|
+
/** 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. */
|
|
1537
|
+
quotaUser?: string;
|
|
1538
|
+
/** Required. Mask of fields to update. At least one path must be supplied in this field. */
|
|
1539
|
+
updateMask?: string;
|
|
1540
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1541
|
+
upload_protocol?: string;
|
|
1542
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1543
|
+
uploadType?: string;
|
|
1544
|
+
},
|
|
1545
|
+
body: VpcFlowLogsConfig
|
|
1546
|
+
): Request<Operation>;
|
|
1547
|
+
}
|
|
1281
1548
|
interface LocationsResource {
|
|
1282
1549
|
/** Gets information about a location. */
|
|
1283
1550
|
get(request?: {
|
|
@@ -1340,6 +1607,7 @@ declare namespace gapi.client {
|
|
|
1340
1607
|
uploadType?: string;
|
|
1341
1608
|
}): Request<ListLocationsResponse>;
|
|
1342
1609
|
global: GlobalResource;
|
|
1610
|
+
vpcFlowLogsConfigs: VpcFlowLogsConfigsResource;
|
|
1343
1611
|
}
|
|
1344
1612
|
interface ProjectsResource {
|
|
1345
1613
|
locations: LocationsResource;
|