@maxim_mazurok/gapi.client.networkmanagement-v1 0.2.20261028 → 0.3.20261110

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.
Files changed (2) hide show
  1. package/index.d.ts +1772 -1785
  2. 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: 20261028
12
+ // Revision: 20261110
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -83,7 +83,7 @@ declare namespace gapi.client {
83
83
  ipAddress?: string;
84
84
  /** List of project IDs the user specified in the request but lacks access to. In this case, analysis is aborted with the PERMISSION_DENIED cause. */
85
85
  projectsMissingPermission?: string[];
86
- /** URI of the resource that caused the abort. Format: * `projects/{project_id}/global/networks/{network_id}` (VPC network) * `projects/{project_id}/zones/{zone}/instances/{instance_id}` (VM instance) */
86
+ /** URI of the resource that caused the abort. Format: * `projects/{project}/global/networks/{network}` (VPC network) * `projects/{project}/zones/{zone}/instances/{instance}` (VM instance) */
87
87
  resourceUri?: string;
88
88
  }
89
89
  interface AppEngineVersionEndpoint {
@@ -97,7 +97,7 @@ declare namespace gapi.client {
97
97
  environment?: string;
98
98
  /** Runtime of the App Engine version. */
99
99
  runtime?: string;
100
- /** URI of the App Engine version. Format: `apps/{app_id}/services/{service_id}/versions/{version_id}` */
100
+ /** URI of the App Engine version. Format: `apps/{app}/services/{service}/versions/{version}` */
101
101
  uri?: string;
102
102
  }
103
103
  interface AuditConfig {
@@ -131,7 +131,7 @@ declare namespace gapi.client {
131
131
  displayName?: string;
132
132
  /** Location in which the Cloud Function is deployed. */
133
133
  location?: string;
134
- /** URI of the Cloud Function. Format: `projects/{project_id}/locations/{location}/functions/{function_id}` */
134
+ /** URI of the Cloud Function. Format: `projects/{project}/locations/{location}/functions/{function}` */
135
135
  uri?: string;
136
136
  /** Latest successfully deployed version id of the Cloud Function. */
137
137
  versionId?: string;
@@ -141,7 +141,7 @@ declare namespace gapi.client {
141
141
  displayName?: string;
142
142
  /** Location in which this job is deployed. */
143
143
  location?: string;
144
- /** URI of the Cloud Run job. Format: `projects/{project_id}/locations/{location}/jobs/{job_id}` */
144
+ /** URI of the Cloud Run job. Format: `projects/{project}/locations/{location}/jobs/{job}` */
145
145
  uri?: string;
146
146
  }
147
147
  interface CloudRunRevisionEndpoint {
@@ -157,11 +157,11 @@ declare namespace gapi.client {
157
157
  ipAddress?: string;
158
158
  /** Location in which this revision is deployed. */
159
159
  location?: string;
160
- /** URI of Cloud Run service this revision belongs to. Format: `projects/{project_id}/locations/{location}/services/{service_id}` Mutually exclusive with `worker_pool_uri`. */
160
+ /** URI of Cloud Run service this revision belongs to. Format: `projects/{project}/locations/{location}/services/{service}` Mutually exclusive with `worker_pool_uri`. */
161
161
  serviceUri?: string;
162
- /** URI of the Cloud Run revision. Format: `projects/{project_id}/locations/{location}/revisions/{revision_id}` */
162
+ /** URI of the Cloud Run revision. Format: `projects/{project}/locations/{location}/revisions/{revision}` */
163
163
  uri?: string;
164
- /** URI of Cloud Run worker pool this revision belongs to. Format: `projects/{project_id}/locations/{location}/workerPools/{worker_pool_id}` Mutually exclusive with `service_uri`. */
164
+ /** URI of Cloud Run worker pool this revision belongs to. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}` Mutually exclusive with `service_uri`. */
165
165
  workerPoolUri?: string;
166
166
  }
167
167
  interface CloudSQLInstanceInfo {
@@ -253,7 +253,7 @@ declare namespace gapi.client {
253
253
  | 'DATASTREAM_PRIVATE_CONNECTION';
254
254
  }
255
255
  interface DirectVpcEgressConnectionInfo {
256
- /** URI of the VPC network for direct egress. Format: `projects/{project_id}/global/networks/{network_id}` */
256
+ /** URI of the VPC network for direct egress. Format: `projects/{project}/global/networks/{network}` */
257
257
  networkUri?: string;
258
258
  /** Region in which the Direct VPC egress is deployed. */
259
259
  region?: string;
@@ -261,7 +261,7 @@ declare namespace gapi.client {
261
261
  selectedIpAddress?: string;
262
262
  /** Selected IP range. */
263
263
  selectedIpRange?: string;
264
- /** URI of the subnetwork for direct egress. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}` */
264
+ /** URI of the subnetwork for direct egress. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}` */
265
265
  subnetworkUri?: string;
266
266
  }
267
267
  interface DropInfo {
@@ -385,7 +385,7 @@ declare namespace gapi.client {
385
385
  destinationIp?: string;
386
386
  /** Region of the dropped packet (if relevant). */
387
387
  region?: string;
388
- /** URI of the resource that caused the drop. Format: * `projects/{project_id}/global/firewalls/{firewall_id}` (firewall rule) * `projects/{project_id}/global/routes/{route_id}` (route) */
388
+ /** URI of the resource that caused the drop. Format: * `projects/{project}/global/firewalls/{firewall}` (firewall rule) * `projects/{project}/global/routes/{route}` (subnet, static or peering subnet route) * `projects/{project}/locations/{location}/policyBasedRoutes/{route}` (policy-based route) */
389
389
  resourceUri?: string;
390
390
  /** Geolocation (region code) of the source IP address (if relevant). */
391
391
  sourceGeolocationCode?: string;
@@ -520,7 +520,7 @@ declare namespace gapi.client {
520
520
  interface EndpointInfo {
521
521
  /** Destination IP address. */
522
522
  destinationIp?: string;
523
- /** URI of the network where this packet is sent to. Format: `projects/{project_id}/global/networks/{network_id}` */
523
+ /** URI of the network where this packet is sent to. Format: `projects/{project}/global/networks/{network}` */
524
524
  destinationNetworkUri?: string;
525
525
  /** Destination port. Only valid when protocol is TCP or UDP. */
526
526
  destinationPort?: number;
@@ -530,7 +530,7 @@ declare namespace gapi.client {
530
530
  sourceAgentUri?: string;
531
531
  /** Source IP address. */
532
532
  sourceIp?: string;
533
- /** URI of the network where this packet originates from. Format: `projects/{project_id}/global/networks/{network_id}` */
533
+ /** URI of the network where this packet originates from. Format: `projects/{project}/global/networks/{network}` */
534
534
  sourceNetworkUri?: string;
535
535
  /** Source port. Only valid when protocol is TCP or UDP. */
536
536
  sourcePort?: number;
@@ -572,7 +572,7 @@ declare namespace gapi.client {
572
572
  policy?: string;
573
573
  /** The priority of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules. */
574
574
  policyPriority?: number;
575
- /** The URI of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules. Format: * `locations/global/firewallPolicies/{policy_id}` (hierarchical policy) * `projects/{project_id}/global/firewallPolicies/{policy_id}` (global network firewall policy) * `projects/{project_id}/regions/{region}/firewallPolicies/{policy_id}` (regional network firewall policy) */
575
+ /** The URI of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules. Format: * `locations/global/firewallPolicies/{policy}` (hierarchical policy) * `projects/{project}/global/firewallPolicies/{policy}` (global network firewall policy) * `projects/{project}/regions/{region}/firewallPolicies/{policy}` (regional network firewall policy) */
576
576
  policyUri?: string;
577
577
  /** The priority of the firewall rule. */
578
578
  priority?: number;
@@ -583,13 +583,13 @@ declare namespace gapi.client {
583
583
  /** Target type of the firewall rule. */
584
584
  targetType?:
585
585
  'TARGET_TYPE_UNSPECIFIED' | 'INSTANCES' | 'INTERNAL_MANAGED_LB';
586
- /** The URI of the firewall rule in format "projects/{project}/global/firewalls/{firewall}". This field is not applicable to implied VPC firewall rules. */
586
+ /** The URI of the firewall rule in format * `locations/global/firewallPolicies/{policy}/priority/{priority}` (hierarchical policy) * `projects/{project}/global/firewallPolicies/{policy}/priority/{priority}` (global network firewall policy) * `projects/{project}/regions/{region}/firewallPolicies/{policy}/priority/{priority}` (regional network firewall policy) * `projects/{project}/global/firewalls/{firewall}` (VPC firewall rule). This field is not applicable to implied VPC firewall rules. */
587
587
  uri?: string;
588
588
  }
589
589
  interface ForwardInfo {
590
590
  /** IP address of the target (if applicable). */
591
591
  ipAddress?: string;
592
- /** URI of the resource that the packet is forwarded to. Format: * `projects/{project_id}/global/networks/{network_id}` (VPC peering network) * `projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}` (VPN gateway) */
592
+ /** URI of the resource that the packet is forwarded to. Format: * `projects/{project}/global/networks/{network}` (VPC peering network) * `projects/{project}/regions/{region}/vpnGateways/{vpn_gateway}` (VPN gateway) */
593
593
  resourceUri?: string;
594
594
  /** Target type where this packet is forwarded to. */
595
595
  target?:
@@ -651,9 +651,9 @@ declare namespace gapi.client {
651
651
  regionCode?: string;
652
652
  }
653
653
  interface GKEMasterInfo {
654
- /** URI of the GKE cluster network. Format: `projects/{project_id}/global/networks/{network_id}` */
654
+ /** URI of the GKE cluster network. Format: `projects/{project}/global/networks/{network}` */
655
655
  clusterNetworkUri?: string;
656
- /** URI of the GKE cluster. Format: * `projects/{project_id}/locations/{location}/clusters/{cluster_id}` (regional cluster) * `projects/{project_id}/zones/{zone}/clusters/{cluster_id}` (zonal cluster) */
656
+ /** URI of the GKE cluster. Format: * `projects/{project}/locations/{location}/clusters/{cluster}` (regional cluster) * `projects/{project}/zones/{zone}/clusters/{cluster}` (zonal cluster) */
657
657
  clusterUri?: string;
658
658
  /** DNS endpoint of a GKE cluster control plane. */
659
659
  dnsEndpoint?: string;
@@ -685,7 +685,7 @@ declare namespace gapi.client {
685
685
  interface GkePodInfo {
686
686
  /** IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the trace. */
687
687
  ipAddress?: string;
688
- /** URI of the network containing the GKE Pod. Format: `projects/{project_id}/global/networks/{network_id}` */
688
+ /** URI of the network containing the GKE Pod. Format: `projects/{project}/global/networks/{network}` */
689
689
  networkUri?: string;
690
690
  /** URI of a GKE Pod. For Pods in regional Clusters, the URI format is: `projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}` For Pods in zonal Clusters, the URI format is: `projects/{project}/zones/{zone}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}` */
691
691
  podUri?: string;
@@ -733,7 +733,7 @@ declare namespace gapi.client {
733
733
  displayName?: string;
734
734
  /** Name of a Google Cloud region where the hybrid subnet is configured. */
735
735
  region?: string;
736
- /** URI of the hybrid subnet. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}` */
736
+ /** URI of the hybrid subnet. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}` */
737
737
  uri?: string;
738
738
  }
739
739
  interface InstanceInfo {
@@ -761,11 +761,11 @@ declare namespace gapi.client {
761
761
  uri?: string;
762
762
  }
763
763
  interface InterconnectAttachmentInfo {
764
- /** URI of the Cloud Router to be used for dynamic routing. Format: `projects/{project_id}/regions/{region}/routers/{router_id}` */
764
+ /** URI of the Cloud Router to be used for dynamic routing. Format: `projects/{project}/regions/{region}/routers/{router}` */
765
765
  cloudRouterUri?: string;
766
766
  /** Name of an Interconnect attachment. */
767
767
  displayName?: string;
768
- /** URI of the Interconnect. Format: `projects/{project_id}/global/interconnects/{interconnect_id}` */
768
+ /** URI of the Interconnect. Format: `projects/{project}/global/interconnects/{interconnect}` */
769
769
  interconnectUri?: string;
770
770
  /** Appliance IP address that was matched for L2_DEDICATED attachments. */
771
771
  l2AttachmentMatchedIpAddress?: string;
@@ -778,7 +778,7 @@ declare namespace gapi.client {
778
778
  | 'PARTNER'
779
779
  | 'PARTNER_PROVIDER'
780
780
  | 'L2_DEDICATED';
781
- /** URI of the Interconnect attachment. Format: `projects/{project_id}/regions/{region}/interconnectAttachments/{attachment_id}` */
781
+ /** URI of the Interconnect attachment. Format: `projects/{project}/regions/{region}/interconnectAttachments/{attachment}` */
782
782
  uri?: string;
783
783
  }
784
784
  interface IpMasqueradingSkippedInfo {
@@ -871,7 +871,7 @@ declare namespace gapi.client {
871
871
  | 'HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED'
872
872
  | 'CONFIGURED'
873
873
  | 'MISCONFIGURED';
874
- /** URI of the backend instance or network endpoint. Format: * `projects/{project_id}/zones/{zone}/instances/{instance_id}` (instance) * `projects/{project_id}/zones/{zone}/networkEndpointGroups/{neg_id}` (zonal NEG) * `projects/{project_id}/regions/{region}/networkEndpointGroups/{neg_id}` (regional NEG) * `projects/{project_id}/global/networkEndpointGroups/{neg_id}` (global NEG) */
874
+ /** URI of the backend instance or network endpoint. Format: * `projects/{project}/zones/{zone}/instances/{instance}` (instance) * `projects/{project}/zones/{zone}/networkEndpointGroups/{neg}` (zonal NEG) * `projects/{project}/regions/{region}/networkEndpointGroups/{neg}` (regional NEG) * `projects/{project}/global/networkEndpointGroups/{neg}` (global NEG) */
875
875
  uri?: string;
876
876
  }
877
877
  interface LoadBalancerBackendInfo {
@@ -886,7 +886,7 @@ declare namespace gapi.client {
886
886
  | 'FIREWALLS_PARTIALLY_CONFIGURED'
887
887
  | 'FIREWALLS_NOT_CONFIGURED'
888
888
  | 'FIREWALLS_UNSUPPORTED';
889
- /** URI of the health check attached to this backend (if applicable). Format: * `projects/{project_id}/global/healthChecks/{health_check_id}` * `projects/{project_id}/regions/{region}/healthChecks/{health_check_id}` * `projects/{project_id}/global/httpHealthChecks/{health_check_id}` (legacy) */
889
+ /** URI of the health check attached to this backend (if applicable). Format: * `projects/{project}/global/healthChecks/{health_check}` * `projects/{project}/regions/{region}/healthChecks/{health_check}` * `projects/{project}/global/httpHealthChecks/{health_check}` (legacy) */
890
890
  healthCheckUri?: string;
891
891
  /** URI of the instance group this backend belongs to (if applicable) in format "projects/{project}/zones/{zone}/instanceGroups/{instance_group}". */
892
892
  instanceGroupUri?: string;
@@ -894,7 +894,7 @@ declare namespace gapi.client {
894
894
  instanceUri?: string;
895
895
  /** Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends. */
896
896
  name?: string;
897
- /** URI of the network endpoint group this backend belongs to (if applicable) Format: * `projects/{project_id}/zones/{zone}/networkEndpointGroups/{neg_id}` (zonal NEG) * `projects/{project_id}/regions/{region}/networkEndpointGroups/{neg_id}` (regional NEG) * `projects/{project_id}/global/networkEndpointGroups/{neg_id}` (global NEG) */
897
+ /** URI of the network endpoint group this backend belongs to (if applicable) Format: * `projects/{project}/zones/{zone}/networkEndpointGroups/{neg}` (zonal NEG) * `projects/{project}/regions/{region}/networkEndpointGroups/{neg}` (regional NEG) * `projects/{project}/global/networkEndpointGroups/{neg}` (global NEG) */
898
898
  networkEndpointGroupUri?: string;
899
899
  /** PSC Google API target this PSC NEG backend targets (if applicable). */
900
900
  pscGoogleApiTarget?: string;
@@ -910,7 +910,7 @@ declare namespace gapi.client {
910
910
  | 'BACKEND_SERVICE'
911
911
  | 'TARGET_POOL'
912
912
  | 'TARGET_INSTANCE';
913
- /** URI of the backend associated with the load balancer. Format: * `projects/{project_id}/regions/{region}/backendServices/{backend_service_id}` * `projects/{project_id}/global/backendServices/{backend_service_id}` * `projects/{project_id}/regions/{region}/targetPools/{target_pool_id}` * `projects/{project_id}/zones/{zone}/targetInstances/{target_instance_id}` */
913
+ /** URI of the backend associated with the load balancer. Format: * `projects/{project}/regions/{region}/backendServices/{backend_service}` * `projects/{project}/global/backendServices/{backend_service}` * `projects/{project}/regions/{region}/targetPools/{target_pool}` * `projects/{project}/zones/{zone}/targetInstances/{target_instance}` */
914
914
  backendUri?: string;
915
915
  /** URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks. */
916
916
  healthCheckUri?: string;
@@ -948,11 +948,12 @@ declare namespace gapi.client {
948
948
  /** Output only. Display name of the MonitoringPoint. */
949
949
  displayName?: string;
950
950
  /** Output only. The codes of errors detected in the MonitoringPoint. */
951
- errors?:
951
+ errors?: (
952
952
  | 'ERROR_CODE_UNSPECIFIED'
953
953
  | 'NTP_ERROR'
954
954
  | 'UPGRADE_ERROR'
955
- | 'DOWNLOAD_FAILED'[];
955
+ | 'DOWNLOAD_FAILED'
956
+ )[];
956
957
  /** Output only. The geographical location of the MonitoringPoint. */
957
958
  geoLocation?: GeoLocation;
958
959
  /** Output only. The GUID of the MonitoringPoint. */
@@ -997,7 +998,7 @@ declare namespace gapi.client {
997
998
  | 'PRIVATE_NAT64';
998
999
  /** The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT. */
999
1000
  natGatewayName?: string;
1000
- /** URI of the VPC network where NAT translation takes place. Format: `projects/{project_id}/global/networks/{network_id}` */
1001
+ /** URI of the VPC network where NAT translation takes place. Format: `projects/{project}/global/networks/{network}` */
1001
1002
  networkUri?: string;
1002
1003
  /** Destination IP address after NAT translation. */
1003
1004
  newDestinationIp?: string;
@@ -1017,7 +1018,7 @@ declare namespace gapi.client {
1017
1018
  oldSourcePort?: number;
1018
1019
  /** IP protocol in string format, for example: "TCP", "UDP", "ICMP". */
1019
1020
  protocol?: string;
1020
- /** URI of the Cloud Router. Only valid when type is CLOUD_NAT. Format: `projects/{project_id}/regions/{region}/routers/{router_id}` */
1021
+ /** URI of the Cloud Router. Only valid when type is CLOUD_NAT. Format: `projects/{project}/regions/{region}/routers/{router}` */
1021
1022
  routerUri?: string;
1022
1023
  /** The number of the NAT rule that was matched. Only valid when `type` is CLOUD_NAT. */
1023
1024
  ruleNumber?: number;
@@ -1121,7 +1122,7 @@ declare namespace gapi.client {
1121
1122
  updateTime?: string;
1122
1123
  }
1123
1124
  interface NgfwPacketInspectionInfo {
1124
- /** URI of the security profile group associated with this firewall packet inspection. Format: `organizations/{organization_id}/locations/global/securityProfileGroups/{security_profile_group_id}` */
1125
+ /** URI of the security profile group associated with this firewall packet inspection. Format: `organizations/{organization}/locations/global/securityProfileGroups/{security_profile_group}` */
1125
1126
  securityProfileGroupUri?: string;
1126
1127
  }
1127
1128
  interface Operation {
@@ -1163,7 +1164,7 @@ declare namespace gapi.client {
1163
1164
  version?: number;
1164
1165
  }
1165
1166
  interface PrivateConnectionInfo {
1166
- /** URI of the Private Connection in format "projects/{project_id}/locations/{location}/privateConnections/{private_connection_id}" */
1167
+ /** URI of the Private Connection in format "projects/{project}/locations/{location}/privateConnections/{private_connection}" */
1167
1168
  uri?: string;
1168
1169
  }
1169
1170
  interface ProbingDetails {
@@ -1214,7 +1215,7 @@ declare namespace gapi.client {
1214
1215
  value?: string;
1215
1216
  }
1216
1217
  interface ProxyConnectionInfo {
1217
- /** URI of the VPC network where connection is proxied. Format: `projects/{project_id}/global/networks/{network_id}` */
1218
+ /** URI of the VPC network where connection is proxied. Format: `projects/{project}/global/networks/{network}` */
1218
1219
  networkUri?: string;
1219
1220
  /** Destination IP address of a new connection. */
1220
1221
  newDestinationIp?: string;
@@ -1234,7 +1235,7 @@ declare namespace gapi.client {
1234
1235
  oldSourcePort?: number;
1235
1236
  /** IP protocol in string format, for example: "TCP", "UDP", "ICMP". */
1236
1237
  protocol?: string;
1237
- /** URI of the proxy subnet. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}` */
1238
+ /** URI of the proxy subnet. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}` */
1238
1239
  subnetUri?: string;
1239
1240
  }
1240
1241
  interface QueryOrgVpcFlowLogsConfigsResponse {
@@ -1267,11 +1268,11 @@ declare namespace gapi.client {
1267
1268
  displayName?: string;
1268
1269
  /** Name of the region in which the Redis Cluster is defined. For example, "us-central1". */
1269
1270
  location?: string;
1270
- /** URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}". */
1271
+ /** URI of the network containing the Redis Cluster endpoints in format "projects/{project}/global/networks/{network}". */
1271
1272
  networkUri?: string;
1272
1273
  /** Secondary endpoint IP address of a Redis Cluster. */
1273
1274
  secondaryEndpointIpAddress?: string;
1274
- /** URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}" */
1275
+ /** URI of a Redis Cluster in format "projects/{project}/locations/{location}/clusters/{cluster}" */
1275
1276
  uri?: string;
1276
1277
  }
1277
1278
  interface RedisInstanceInfo {
@@ -1302,7 +1303,7 @@ declare namespace gapi.client {
1302
1303
  displayName?: string;
1303
1304
  /** Instance tags of the route. */
1304
1305
  instanceTags?: string[];
1305
- /** 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. Format: `projects/{project_id}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}/routes/{route_id}` */
1306
+ /** 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. Format: `projects/{project}/locations/global/hubs/{hub}/routeTables/{route_table}/routes/{route}` */
1306
1307
  nccHubRouteUri?: string;
1307
1308
  /** URI of the NCC Hub the route is advertised by in format "projects/{project}/locations/global/hubs/{hub}". PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only. */
1308
1309
  nccHubUri?: string;
@@ -1334,7 +1335,7 @@ declare namespace gapi.client {
1334
1335
  nextHopUri?: string;
1335
1336
  /** For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route. */
1336
1337
  originatingRouteDisplayName?: string;
1337
- /** For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route. Format: `projects/{project_id}/global/routes/{route_id}` */
1338
+ /** For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route. Format: `projects/{project}/global/routes/{route}` */
1338
1339
  originatingRouteUri?: string;
1339
1340
  /** Priority of the route. */
1340
1341
  priority?: number;
@@ -1359,7 +1360,7 @@ declare namespace gapi.client {
1359
1360
  srcIpRange?: string;
1360
1361
  /** Source port ranges of the route. POLICY_BASED routes only. */
1361
1362
  srcPortRanges?: string[];
1362
- /** URI of a route in format "projects/{project}/global/routes/{route}". SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only. */
1363
+ /** For SUBNET, STATIC and PEERING_SUBNET (only for peering network) URI of a route in format "projects/{project}/global/routes/{route}". For POLICY_BASED routes URI of a route in format "projects/{project}/locations/{location}/policyBasedRoutes/{route}". Not set for other route types. */
1363
1364
  uri?: string;
1364
1365
  }
1365
1366
  interface ServerlessExternalConnectionInfo {
@@ -1572,18 +1573,19 @@ declare namespace gapi.client {
1572
1573
  }
1573
1574
  interface ViewerPermissionMissingInfo {
1574
1575
  /** Types of the resources that the user does not have permission to view. */
1575
- resourceTypes?:
1576
+ resourceTypes?: (
1576
1577
  | 'RESOURCE_TYPE_UNSPECIFIED'
1577
1578
  | 'FIREWALL'
1578
1579
  | 'INSTANCE'
1579
- | 'FORWARDING_RULE'[];
1580
+ | 'FORWARDING_RULE'
1581
+ )[];
1580
1582
  }
1581
1583
  interface VpcConnectorInfo {
1582
1584
  /** Name of a VPC connector. */
1583
1585
  displayName?: string;
1584
1586
  /** Location in which the VPC connector is deployed. */
1585
1587
  location?: string;
1586
- /** URI of a VPC connector. Format: `projects/{project_id}/locations/{location}/connectors/{connector_id}` */
1588
+ /** URI of a VPC connector. Format: `projects/{project}/locations/{location}/connectors/{connector}` */
1587
1589
  uri?: string;
1588
1590
  }
1589
1591
  interface VpcFlowLogsConfig {
@@ -1649,34 +1651,34 @@ declare namespace gapi.client {
1649
1651
  displayName?: string;
1650
1652
  /** IP address of the VPN gateway. */
1651
1653
  ipAddress?: string;
1652
- /** URI of the VPC network where the VPN gateway is configured. Format: `projects/{project_id}/global/networks/{network_id}` */
1654
+ /** URI of the VPC network where the VPN gateway is configured. Format: `projects/{project}/global/networks/{network}` */
1653
1655
  networkUri?: string;
1654
1656
  /** Name of a Google Cloud region where this VPN gateway is configured. */
1655
1657
  region?: string;
1656
- /** URI of the VPN gateway. Format: * `projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}` (HA VPN gateway) * `projects/{project_id}/regions/{region}/targetVpnGateways/{target_vpn_gateway_id}` (Classic VPN gateway) */
1658
+ /** URI of the VPN gateway. Format: * `projects/{project}/regions/{region}/vpnGateways/{vpn_gateway}` (HA VPN gateway) * `projects/{project}/regions/{region}/targetVpnGateways/{target_vpn_gateway}` (Classic VPN gateway) */
1657
1659
  uri?: string;
1658
- /** URI of the VPN tunnel associated with the VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed. Format: `projects/{project_id}/regions/{region}/vpnTunnels/{vpn_tunnel_id}` */
1660
+ /** URI of the VPN tunnel associated with the VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed. Format: `projects/{project}/regions/{region}/vpnTunnels/{vpn_tunnel}` */
1659
1661
  vpnTunnelUri?: string;
1660
1662
  }
1661
1663
  interface VpnTunnelInfo {
1662
1664
  /** Name of a VPN tunnel. */
1663
1665
  displayName?: string;
1664
- /** URI of the VPC network where the VPN tunnel is configured. Format: `projects/{project_id}/global/networks/{network_id}` */
1666
+ /** URI of the VPC network where the VPN tunnel is configured. Format: `projects/{project}/global/networks/{network}` */
1665
1667
  networkUri?: string;
1666
1668
  /** Name of a Google Cloud region where this VPN tunnel is configured. */
1667
1669
  region?: string;
1668
- /** URI of a VPN gateway at remote end of the tunnel. Format: * `projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}` (GCP HA VPN gateway) * `projects/{project_id}/global/peerVpnGateways/{peer_vpn_gateway_id}` (GCP peer VPN gateway) */
1670
+ /** URI of a VPN gateway at remote end of the tunnel. Format: * `projects/{project}/regions/{region}/vpnGateways/{vpn_gateway}` (GCP HA VPN gateway) * `projects/{project}/global/peerVpnGateways/{peer_vpn_gateway}` (GCP peer VPN gateway) */
1669
1671
  remoteGateway?: string;
1670
1672
  /** Remote VPN gateway's IP address. */
1671
1673
  remoteGatewayIp?: string;
1672
1674
  /** Type of the routing policy. */
1673
1675
  routingType?:
1674
1676
  'ROUTING_TYPE_UNSPECIFIED' | 'ROUTE_BASED' | 'POLICY_BASED' | 'DYNAMIC';
1675
- /** URI of the VPN gateway at local end of the tunnel. Format: * `projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}` (HA VPN gateway) * `projects/{project_id}/regions/{region}/targetVpnGateways/{target_vpn_gateway_id}` (Classic VPN gateway) */
1677
+ /** URI of the VPN gateway at local end of the tunnel. Format: * `projects/{project}/regions/{region}/vpnGateways/{vpn_gateway}` (HA VPN gateway) * `projects/{project}/regions/{region}/targetVpnGateways/{target_vpn_gateway}` (Classic VPN gateway) */
1676
1678
  sourceGateway?: string;
1677
1679
  /** Local VPN gateway's IP address. */
1678
1680
  sourceGatewayIp?: string;
1679
- /** URI of the VPN tunnel. Format: `projects/{project_id}/regions/{region}/vpnTunnels/{vpn_tunnel_id}` */
1681
+ /** URI of the VPN tunnel. Format: `projects/{project}/regions/{region}/vpnTunnels/{vpn_tunnel}` */
1680
1682
  uri?: string;
1681
1683
  }
1682
1684
  interface WebPath {
@@ -1718,656 +1720,11 @@ declare namespace gapi.client {
1718
1720
  /** Output only. The workflow type of the WebPath. */
1719
1721
  workflowType?: 'WORKFLOW_TYPE_UNSPECIFIED' | 'BROWSER' | 'HTTP';
1720
1722
  }
1721
- interface OperationsResource {
1722
- /** 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`. */
1723
- cancel(request: {
1724
- /** V1 error format. */
1725
- '$.xgafv'?: '1' | '2';
1726
- /** OAuth access token. */
1727
- access_token?: string;
1728
- /** Data format for response. */
1729
- alt?: 'json' | 'media' | 'proto';
1730
- /** JSONP */
1731
- callback?: string;
1732
- /** Selector specifying which fields to include in a partial response. */
1733
- fields?: string;
1734
- /** 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. */
1735
- key?: string;
1736
- /** The name of the operation resource to be cancelled. */
1737
- name: string;
1738
- /** OAuth 2.0 token for the current user. */
1739
- oauth_token?: string;
1740
- /** Returns response with indentations and line breaks. */
1741
- prettyPrint?: boolean;
1742
- /** 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. */
1743
- quotaUser?: string;
1744
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1745
- upload_protocol?: string;
1746
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1747
- uploadType?: string;
1748
- /** Request body */
1749
- resource: CancelOperationRequest;
1750
- }): Request<{}>;
1751
- cancel(
1752
- request: {
1753
- /** V1 error format. */
1754
- '$.xgafv'?: '1' | '2';
1755
- /** OAuth access token. */
1756
- access_token?: string;
1757
- /** Data format for response. */
1758
- alt?: 'json' | 'media' | 'proto';
1759
- /** JSONP */
1760
- callback?: string;
1761
- /** Selector specifying which fields to include in a partial response. */
1762
- fields?: string;
1763
- /** 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. */
1764
- key?: string;
1765
- /** The name of the operation resource to be cancelled. */
1766
- name: string;
1767
- /** OAuth 2.0 token for the current user. */
1768
- oauth_token?: string;
1769
- /** Returns response with indentations and line breaks. */
1770
- prettyPrint?: boolean;
1771
- /** 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. */
1772
- quotaUser?: string;
1773
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1774
- upload_protocol?: string;
1775
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1776
- uploadType?: string;
1777
- },
1778
- body: CancelOperationRequest,
1779
- ): Request<{}>;
1780
- /** 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 support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
1781
- delete(request?: {
1782
- /** V1 error format. */
1783
- '$.xgafv'?: '1' | '2';
1784
- /** OAuth access token. */
1785
- access_token?: string;
1786
- /** Data format for response. */
1787
- alt?: 'json' | 'media' | 'proto';
1788
- /** JSONP */
1789
- callback?: string;
1790
- /** Selector specifying which fields to include in a partial response. */
1791
- fields?: string;
1792
- /** 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. */
1793
- key?: string;
1794
- /** The name of the operation resource to be deleted. */
1795
- name: string;
1796
- /** OAuth 2.0 token for the current user. */
1797
- oauth_token?: string;
1798
- /** Returns response with indentations and line breaks. */
1799
- prettyPrint?: boolean;
1800
- /** 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. */
1801
- quotaUser?: string;
1802
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1803
- upload_protocol?: string;
1804
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1805
- uploadType?: string;
1806
- }): Request<{}>;
1807
- /** 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. */
1808
- get(request?: {
1809
- /** V1 error format. */
1810
- '$.xgafv'?: '1' | '2';
1811
- /** OAuth access token. */
1812
- access_token?: string;
1813
- /** Data format for response. */
1814
- alt?: 'json' | 'media' | 'proto';
1815
- /** JSONP */
1816
- callback?: string;
1817
- /** Selector specifying which fields to include in a partial response. */
1818
- fields?: string;
1819
- /** 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. */
1820
- key?: string;
1821
- /** The name of the operation resource. */
1822
- name: string;
1823
- /** OAuth 2.0 token for the current user. */
1824
- oauth_token?: string;
1825
- /** Returns response with indentations and line breaks. */
1826
- prettyPrint?: boolean;
1827
- /** 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. */
1828
- quotaUser?: string;
1829
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1830
- upload_protocol?: string;
1831
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1832
- uploadType?: string;
1833
- }): Request<Operation>;
1834
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1835
- list(request?: {
1836
- /** V1 error format. */
1837
- '$.xgafv'?: '1' | '2';
1838
- /** OAuth access token. */
1839
- access_token?: string;
1840
- /** Data format for response. */
1841
- alt?: 'json' | 'media' | 'proto';
1842
- /** JSONP */
1843
- callback?: string;
1844
- /** Selector specifying which fields to include in a partial response. */
1845
- fields?: string;
1846
- /** The standard list filter. */
1847
- filter?: string;
1848
- /** 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. */
1849
- key?: string;
1850
- /** The name of the operation's parent resource. */
1851
- name: string;
1852
- /** OAuth 2.0 token for the current user. */
1853
- oauth_token?: string;
1854
- /** The standard list page size. */
1855
- pageSize?: number;
1856
- /** The standard list page token. */
1857
- pageToken?: string;
1858
- /** Returns response with indentations and line breaks. */
1859
- prettyPrint?: boolean;
1860
- /** 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. */
1861
- quotaUser?: string;
1862
- /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
1863
- returnPartialSuccess?: boolean;
1864
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1865
- upload_protocol?: string;
1866
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1867
- uploadType?: string;
1868
- }): Request<ListOperationsResponse>;
1869
- }
1870
- interface GlobalResource {
1871
- operations: OperationsResource;
1872
- }
1873
- interface VpcFlowLogsConfigsResource {
1874
- /** 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 */
1875
- create(request: {
1876
- /** V1 error format. */
1877
- '$.xgafv'?: '1' | '2';
1878
- /** OAuth access token. */
1879
- access_token?: string;
1880
- /** Data format for response. */
1881
- alt?: 'json' | 'media' | 'proto';
1882
- /** JSONP */
1883
- callback?: string;
1884
- /** Selector specifying which fields to include in a partial response. */
1885
- fields?: string;
1886
- /** 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. */
1887
- key?: string;
1888
- /** OAuth 2.0 token for the current user. */
1889
- oauth_token?: string;
1890
- /** 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` */
1891
- parent: string;
1892
- /** Returns response with indentations and line breaks. */
1893
- prettyPrint?: boolean;
1894
- /** 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. */
1895
- quotaUser?: string;
1896
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1897
- upload_protocol?: string;
1898
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1899
- uploadType?: string;
1900
- /** Required. ID of the `VpcFlowLogsConfig`. */
1901
- vpcFlowLogsConfigId?: string;
1902
- /** Request body */
1903
- resource: VpcFlowLogsConfig;
1904
- }): Request<Operation>;
1905
- create(
1906
- request: {
1907
- /** V1 error format. */
1908
- '$.xgafv'?: '1' | '2';
1909
- /** OAuth access token. */
1910
- access_token?: string;
1911
- /** Data format for response. */
1912
- alt?: 'json' | 'media' | 'proto';
1913
- /** JSONP */
1914
- callback?: string;
1915
- /** Selector specifying which fields to include in a partial response. */
1916
- fields?: string;
1917
- /** 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. */
1918
- key?: string;
1919
- /** OAuth 2.0 token for the current user. */
1920
- oauth_token?: string;
1921
- /** 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` */
1922
- parent: string;
1923
- /** Returns response with indentations and line breaks. */
1924
- prettyPrint?: boolean;
1925
- /** 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. */
1926
- quotaUser?: string;
1927
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1928
- upload_protocol?: string;
1929
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1930
- uploadType?: string;
1931
- /** Required. ID of the `VpcFlowLogsConfig`. */
1932
- vpcFlowLogsConfigId?: string;
1933
- },
1934
- body: VpcFlowLogsConfig,
1935
- ): Request<Operation>;
1936
- /** Deletes a specific `VpcFlowLogsConfig`. */
1937
- delete(request?: {
1938
- /** V1 error format. */
1939
- '$.xgafv'?: '1' | '2';
1940
- /** OAuth access token. */
1941
- access_token?: string;
1942
- /** Data format for response. */
1943
- alt?: 'json' | 'media' | 'proto';
1944
- /** JSONP */
1945
- callback?: string;
1946
- /** Selector specifying which fields to include in a partial response. */
1947
- fields?: string;
1948
- /** 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. */
1949
- key?: string;
1950
- /** 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}` */
1951
- name: string;
1952
- /** OAuth 2.0 token for the current user. */
1953
- oauth_token?: string;
1954
- /** Returns response with indentations and line breaks. */
1955
- prettyPrint?: boolean;
1956
- /** 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. */
1957
- quotaUser?: string;
1958
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1959
- upload_protocol?: string;
1960
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1961
- uploadType?: string;
1962
- }): Request<Operation>;
1963
- /** Gets the details of a specific `VpcFlowLogsConfig`. */
1964
- get(request?: {
1965
- /** V1 error format. */
1966
- '$.xgafv'?: '1' | '2';
1967
- /** OAuth access token. */
1968
- access_token?: string;
1969
- /** Data format for response. */
1970
- alt?: 'json' | 'media' | 'proto';
1971
- /** JSONP */
1972
- callback?: string;
1973
- /** Selector specifying which fields to include in a partial response. */
1974
- fields?: string;
1975
- /** 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. */
1976
- key?: string;
1977
- /** 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}` */
1978
- name: string;
1979
- /** OAuth 2.0 token for the current user. */
1980
- oauth_token?: string;
1981
- /** Returns response with indentations and line breaks. */
1982
- prettyPrint?: boolean;
1983
- /** 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. */
1984
- quotaUser?: string;
1985
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1986
- upload_protocol?: string;
1987
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1988
- uploadType?: string;
1989
- }): Request<VpcFlowLogsConfig>;
1990
- /** Lists all `VpcFlowLogsConfigs` in a given organization. */
1991
- list(request?: {
1992
- /** V1 error format. */
1993
- '$.xgafv'?: '1' | '2';
1994
- /** OAuth access token. */
1995
- access_token?: string;
1996
- /** Data format for response. */
1997
- alt?: 'json' | 'media' | 'proto';
1998
- /** JSONP */
1999
- callback?: string;
2000
- /** Selector specifying which fields to include in a partial response. */
2001
- fields?: string;
2002
- /** 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). */
2003
- filter?: string;
2004
- /** 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. */
2005
- key?: string;
2006
- /** OAuth 2.0 token for the current user. */
2007
- oauth_token?: string;
2008
- /** Optional. Field to use to sort the list. */
2009
- orderBy?: string;
2010
- /** Optional. Number of `VpcFlowLogsConfigs` to return. */
2011
- pageSize?: number;
2012
- /** Optional. Page token from an earlier query, as returned in `next_page_token`. */
2013
- pageToken?: string;
2014
- /** Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global` */
2015
- parent: string;
2016
- /** Returns response with indentations and line breaks. */
2017
- prettyPrint?: boolean;
2018
- /** 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. */
2019
- quotaUser?: string;
2020
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2021
- upload_protocol?: string;
2022
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2023
- uploadType?: string;
2024
- }): Request<ListVpcFlowLogsConfigsResponse>;
2025
- /** 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 */
2026
- patch(request: {
2027
- /** V1 error format. */
2028
- '$.xgafv'?: '1' | '2';
2029
- /** OAuth access token. */
2030
- access_token?: string;
2031
- /** Data format for response. */
2032
- alt?: 'json' | 'media' | 'proto';
2033
- /** JSONP */
2034
- callback?: string;
2035
- /** Selector specifying which fields to include in a partial response. */
2036
- fields?: string;
2037
- /** 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. */
2038
- key?: string;
2039
- /** 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}` */
2040
- name: string;
2041
- /** OAuth 2.0 token for the current user. */
2042
- oauth_token?: string;
2043
- /** Returns response with indentations and line breaks. */
2044
- prettyPrint?: boolean;
2045
- /** 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. */
2046
- quotaUser?: string;
2047
- /** 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" }` */
2048
- updateMask?: string;
2049
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2050
- upload_protocol?: string;
2051
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2052
- uploadType?: string;
2053
- /** Request body */
2054
- resource: VpcFlowLogsConfig;
2055
- }): Request<Operation>;
2056
- patch(
2057
- request: {
2058
- /** V1 error format. */
2059
- '$.xgafv'?: '1' | '2';
2060
- /** OAuth access token. */
2061
- access_token?: string;
2062
- /** Data format for response. */
2063
- alt?: 'json' | 'media' | 'proto';
2064
- /** JSONP */
2065
- callback?: string;
2066
- /** Selector specifying which fields to include in a partial response. */
2067
- fields?: string;
2068
- /** 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. */
2069
- key?: string;
2070
- /** 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}` */
2071
- name: string;
2072
- /** OAuth 2.0 token for the current user. */
2073
- oauth_token?: string;
2074
- /** Returns response with indentations and line breaks. */
2075
- prettyPrint?: boolean;
2076
- /** 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. */
2077
- quotaUser?: string;
2078
- /** 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" }` */
2079
- updateMask?: string;
2080
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2081
- upload_protocol?: string;
2082
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2083
- uploadType?: string;
2084
- },
2085
- body: VpcFlowLogsConfig,
2086
- ): Request<Operation>;
2087
- }
2088
- interface LocationsResource {
2089
- /** Gets information about a location. */
2090
- get(request?: {
2091
- /** V1 error format. */
2092
- '$.xgafv'?: '1' | '2';
2093
- /** OAuth access token. */
2094
- access_token?: string;
2095
- /** Data format for response. */
2096
- alt?: 'json' | 'media' | 'proto';
2097
- /** JSONP */
2098
- callback?: string;
2099
- /** Selector specifying which fields to include in a partial response. */
2100
- fields?: string;
2101
- /** 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. */
2102
- key?: string;
2103
- /** Resource name for the location. */
2104
- name: string;
2105
- /** OAuth 2.0 token for the current user. */
2106
- oauth_token?: string;
2107
- /** Returns response with indentations and line breaks. */
2108
- prettyPrint?: boolean;
2109
- /** 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. */
2110
- quotaUser?: string;
2111
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2112
- upload_protocol?: string;
2113
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2114
- uploadType?: string;
2115
- }): Request<Location>;
2116
- /** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
2117
- list(request?: {
2118
- /** V1 error format. */
2119
- '$.xgafv'?: '1' | '2';
2120
- /** OAuth access token. */
2121
- access_token?: string;
2122
- /** Data format for response. */
2123
- alt?: 'json' | 'media' | 'proto';
2124
- /** JSONP */
2125
- callback?: string;
2126
- /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
2127
- extraLocationTypes?: string | string[];
2128
- /** Selector specifying which fields to include in a partial response. */
2129
- fields?: string;
2130
- /** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
2131
- filter?: string;
2132
- /** 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. */
2133
- key?: string;
2134
- /** The resource that owns the locations collection, if applicable. */
2135
- name: string;
2136
- /** OAuth 2.0 token for the current user. */
2137
- oauth_token?: string;
2138
- /** The maximum number of results to return. If not set, the service selects a default. */
2139
- pageSize?: number;
2140
- /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
2141
- pageToken?: string;
2142
- /** Returns response with indentations and line breaks. */
2143
- prettyPrint?: boolean;
2144
- /** 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. */
2145
- quotaUser?: string;
2146
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2147
- upload_protocol?: string;
2148
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2149
- uploadType?: string;
2150
- }): Request<ListLocationsResponse>;
2151
- global: GlobalResource;
2152
- vpcFlowLogsConfigs: VpcFlowLogsConfigsResource;
2153
- }
2154
- interface OrganizationsResource {
2155
- locations: LocationsResource;
2156
- }
2157
- interface ConnectivityTestsResource {
2158
- /** Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. If the endpoint specifications in `ConnectivityTest` are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of `AMBIGUOUS`. For more information, see the Connectivity Test documentation. */
2159
- create(request: {
2160
- /** V1 error format. */
2161
- '$.xgafv'?: '1' | '2';
2162
- /** OAuth access token. */
2163
- access_token?: string;
2164
- /** Data format for response. */
2165
- alt?: 'json' | 'media' | 'proto';
2166
- /** JSONP */
2167
- callback?: string;
2168
- /** Selector specifying which fields to include in a partial response. */
2169
- fields?: string;
2170
- /** 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. */
2171
- key?: string;
2172
- /** OAuth 2.0 token for the current user. */
2173
- oauth_token?: string;
2174
- /** Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global` */
2175
- parent: string;
2176
- /** Returns response with indentations and line breaks. */
2177
- prettyPrint?: boolean;
2178
- /** 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. */
2179
- quotaUser?: string;
2180
- /** Required. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project */
2181
- testId?: string;
2182
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2183
- upload_protocol?: string;
2184
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2185
- uploadType?: string;
2186
- /** Request body */
2187
- resource: ConnectivityTest;
2188
- }): Request<Operation>;
2189
- create(
2190
- request: {
2191
- /** V1 error format. */
2192
- '$.xgafv'?: '1' | '2';
2193
- /** OAuth access token. */
2194
- access_token?: string;
2195
- /** Data format for response. */
2196
- alt?: 'json' | 'media' | 'proto';
2197
- /** JSONP */
2198
- callback?: string;
2199
- /** Selector specifying which fields to include in a partial response. */
2200
- fields?: string;
2201
- /** 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. */
2202
- key?: string;
2203
- /** OAuth 2.0 token for the current user. */
2204
- oauth_token?: string;
2205
- /** Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global` */
2206
- parent: string;
2207
- /** Returns response with indentations and line breaks. */
2208
- prettyPrint?: boolean;
2209
- /** 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. */
2210
- quotaUser?: string;
2211
- /** Required. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project */
2212
- testId?: string;
2213
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2214
- upload_protocol?: string;
2215
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2216
- uploadType?: string;
2217
- },
2218
- body: ConnectivityTest,
2219
- ): Request<Operation>;
2220
- /** Deletes a specific `ConnectivityTest`. */
2221
- delete(request?: {
2222
- /** V1 error format. */
2223
- '$.xgafv'?: '1' | '2';
2224
- /** OAuth access token. */
2225
- access_token?: string;
2226
- /** Data format for response. */
2227
- alt?: 'json' | 'media' | 'proto';
2228
- /** JSONP */
2229
- callback?: string;
2230
- /** Selector specifying which fields to include in a partial response. */
2231
- fields?: string;
2232
- /** 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. */
2233
- key?: string;
2234
- /** Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
2235
- name: string;
2236
- /** OAuth 2.0 token for the current user. */
2237
- oauth_token?: string;
2238
- /** Returns response with indentations and line breaks. */
2239
- prettyPrint?: boolean;
2240
- /** 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. */
2241
- quotaUser?: string;
2242
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2243
- upload_protocol?: string;
2244
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2245
- uploadType?: string;
2246
- }): Request<Operation>;
2247
- /** Gets the details of a specific Connectivity Test. */
2248
- get(request?: {
2249
- /** V1 error format. */
2250
- '$.xgafv'?: '1' | '2';
2251
- /** OAuth access token. */
2252
- access_token?: string;
2253
- /** Data format for response. */
2254
- alt?: 'json' | 'media' | 'proto';
2255
- /** JSONP */
2256
- callback?: string;
2257
- /** Selector specifying which fields to include in a partial response. */
2258
- fields?: string;
2259
- /** 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. */
2260
- key?: string;
2261
- /** Required. `ConnectivityTest` resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
2262
- name: string;
2263
- /** OAuth 2.0 token for the current user. */
2264
- oauth_token?: string;
2265
- /** Returns response with indentations and line breaks. */
2266
- prettyPrint?: boolean;
2267
- /** 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. */
2268
- quotaUser?: string;
2269
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2270
- upload_protocol?: string;
2271
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2272
- uploadType?: string;
2273
- }): Request<ConnectivityTest>;
2274
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2275
- getIamPolicy(request?: {
2276
- /** V1 error format. */
2277
- '$.xgafv'?: '1' | '2';
2278
- /** OAuth access token. */
2279
- access_token?: string;
2280
- /** Data format for response. */
2281
- alt?: 'json' | 'media' | 'proto';
2282
- /** JSONP */
2283
- callback?: string;
2284
- /** Selector specifying which fields to include in a partial response. */
2285
- fields?: string;
2286
- /** 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. */
2287
- key?: string;
2288
- /** OAuth 2.0 token for the current user. */
2289
- oauth_token?: string;
2290
- /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
2291
- 'options.requestedPolicyVersion'?: number;
2292
- /** Returns response with indentations and line breaks. */
2293
- prettyPrint?: boolean;
2294
- /** 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. */
2295
- quotaUser?: string;
2296
- /** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
2297
- resource: string;
2298
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2299
- upload_protocol?: string;
2300
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2301
- uploadType?: string;
2302
- }): Request<Policy>;
2303
- /** Lists all Connectivity Tests owned by a project. */
2304
- list(request?: {
2305
- /** V1 error format. */
2306
- '$.xgafv'?: '1' | '2';
2307
- /** OAuth access token. */
2308
- access_token?: string;
2309
- /** Data format for response. */
2310
- alt?: 'json' | 'media' | 'proto';
2311
- /** JSONP */
2312
- callback?: string;
2313
- /** Selector specifying which fields to include in a partial response. */
2314
- fields?: string;
2315
- /** Optional. Lists the `ConnectivityTests` that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form ` ` where operators: `<`, `>`, `<=`, `>=`, `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is roughly synonymous with equality). can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = "projects/proj-1/locations/global/connectivityTests/test-1 - Filter by labels: - Resources that have a key called `foo` labels.foo:* - Resources that have a key called `foo` whose value is `bar` labels.foo = bar */
2316
- filter?: string;
2317
- /** 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. */
2318
- key?: string;
2319
- /** OAuth 2.0 token for the current user. */
2320
- oauth_token?: string;
2321
- /** Optional. Field to use to sort the list. */
2322
- orderBy?: string;
2323
- /** Optional. Number of `ConnectivityTests` to return. */
2324
- pageSize?: number;
2325
- /** Optional. Page token from an earlier query, as returned in `next_page_token`. */
2326
- pageToken?: string;
2327
- /** Required. The parent resource of the Connectivity Tests: `projects/{project_id}/locations/global` */
2328
- parent: string;
2329
- /** Returns response with indentations and line breaks. */
2330
- prettyPrint?: boolean;
2331
- /** 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. */
2332
- quotaUser?: string;
2333
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2334
- upload_protocol?: string;
2335
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2336
- uploadType?: string;
2337
- }): Request<ListConnectivityTestsResponse>;
2338
- /** Updates the configuration of an existing `ConnectivityTest`. After you update a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. The Reachability state in the test resource is updated with the new result. If the endpoint specifications in `ConnectivityTest` are invalid (for example, they contain non-existent resources in the network, or the user does not have read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of `AMBIGUOUS`. See the documentation in `ConnectivityTest` for more details. */
2339
- patch(request: {
2340
- /** V1 error format. */
2341
- '$.xgafv'?: '1' | '2';
2342
- /** OAuth access token. */
2343
- access_token?: string;
2344
- /** Data format for response. */
2345
- alt?: 'json' | 'media' | 'proto';
2346
- /** JSONP */
2347
- callback?: string;
2348
- /** Selector specifying which fields to include in a partial response. */
2349
- fields?: string;
2350
- /** 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. */
2351
- key?: string;
2352
- /** Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
2353
- name: string;
2354
- /** OAuth 2.0 token for the current user. */
2355
- oauth_token?: string;
2356
- /** Returns response with indentations and line breaks. */
2357
- prettyPrint?: boolean;
2358
- /** 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. */
2359
- quotaUser?: string;
2360
- /** Required. Mask of fields to update. At least one path must be supplied in this field. */
2361
- updateMask?: string;
2362
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2363
- upload_protocol?: string;
2364
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2365
- uploadType?: string;
2366
- /** Request body */
2367
- resource: ConnectivityTest;
2368
- }): Request<Operation>;
2369
- patch(
2370
- request: {
1723
+
1724
+ const organizations: {
1725
+ locations: {
1726
+ /** Gets information about a location. */
1727
+ get(request?: {
2371
1728
  /** V1 error format. */
2372
1729
  '$.xgafv'?: '1' | '2';
2373
1730
  /** OAuth access token. */
@@ -2380,7 +1737,7 @@ declare namespace gapi.client {
2380
1737
  fields?: string;
2381
1738
  /** 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. */
2382
1739
  key?: string;
2383
- /** Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
1740
+ /** Resource name for the location. */
2384
1741
  name: string;
2385
1742
  /** OAuth 2.0 token for the current user. */
2386
1743
  oauth_token?: string;
@@ -2388,46 +1745,13 @@ declare namespace gapi.client {
2388
1745
  prettyPrint?: boolean;
2389
1746
  /** 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. */
2390
1747
  quotaUser?: string;
2391
- /** Required. Mask of fields to update. At least one path must be supplied in this field. */
2392
- updateMask?: string;
2393
1748
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2394
1749
  upload_protocol?: string;
2395
1750
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2396
1751
  uploadType?: string;
2397
- },
2398
- body: ConnectivityTest,
2399
- ): Request<Operation>;
2400
- /** Rerun an existing `ConnectivityTest`. After the user triggers the rerun, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. Even though the test configuration remains the same, the reachability result may change due to underlying network configuration changes. If the endpoint specifications in `ConnectivityTest` become invalid (for example, specified resources are deleted in the network, or you lost read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. */
2401
- rerun(request: {
2402
- /** V1 error format. */
2403
- '$.xgafv'?: '1' | '2';
2404
- /** OAuth access token. */
2405
- access_token?: string;
2406
- /** Data format for response. */
2407
- alt?: 'json' | 'media' | 'proto';
2408
- /** JSONP */
2409
- callback?: string;
2410
- /** Selector specifying which fields to include in a partial response. */
2411
- fields?: string;
2412
- /** 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. */
2413
- key?: string;
2414
- /** Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
2415
- name: string;
2416
- /** OAuth 2.0 token for the current user. */
2417
- oauth_token?: string;
2418
- /** Returns response with indentations and line breaks. */
2419
- prettyPrint?: boolean;
2420
- /** 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. */
2421
- quotaUser?: string;
2422
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2423
- upload_protocol?: string;
2424
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2425
- uploadType?: string;
2426
- /** Request body */
2427
- resource: RerunConnectivityTestRequest;
2428
- }): Request<Operation>;
2429
- rerun(
2430
- request: {
1752
+ }): Request<Location>;
1753
+ /** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
1754
+ list(request?: {
2431
1755
  /** V1 error format. */
2432
1756
  '$.xgafv'?: '1' | '2';
2433
1757
  /** OAuth access token. */
@@ -2436,14 +1760,22 @@ declare namespace gapi.client {
2436
1760
  alt?: 'json' | 'media' | 'proto';
2437
1761
  /** JSONP */
2438
1762
  callback?: string;
1763
+ /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
1764
+ extraLocationTypes?: string | string[];
2439
1765
  /** Selector specifying which fields to include in a partial response. */
2440
1766
  fields?: string;
1767
+ /** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
1768
+ filter?: string;
2441
1769
  /** 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. */
2442
1770
  key?: string;
2443
- /** Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
1771
+ /** The resource that owns the locations collection, if applicable. */
2444
1772
  name: string;
2445
1773
  /** OAuth 2.0 token for the current user. */
2446
1774
  oauth_token?: string;
1775
+ /** The maximum number of results to return. If not set, the service selects a default. */
1776
+ pageSize?: number;
1777
+ /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
1778
+ pageToken?: string;
2447
1779
  /** Returns response with indentations and line breaks. */
2448
1780
  prettyPrint?: boolean;
2449
1781
  /** 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. */
@@ -2452,102 +1784,380 @@ declare namespace gapi.client {
2452
1784
  upload_protocol?: string;
2453
1785
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2454
1786
  uploadType?: string;
2455
- },
2456
- body: RerunConnectivityTestRequest,
2457
- ): Request<Operation>;
2458
- /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2459
- setIamPolicy(
2460
- request: {
2461
- /** V1 error format. */
2462
- '$.xgafv'?: '1' | '2';
2463
- /** OAuth access token. */
2464
- access_token?: string;
2465
- /** Data format for response. */
2466
- alt?: 'json' | 'media' | 'proto';
2467
- /** JSONP */
2468
- callback?: string;
2469
- /** Selector specifying which fields to include in a partial response. */
2470
- fields?: string;
2471
- /** 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. */
2472
- key?: string;
2473
- /** OAuth 2.0 token for the current user. */
2474
- oauth_token?: string;
2475
- /** Returns response with indentations and line breaks. */
2476
- prettyPrint?: boolean;
2477
- /** 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. */
2478
- quotaUser?: string;
2479
- /** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
2480
- resource: string;
2481
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2482
- upload_protocol?: string;
2483
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2484
- uploadType?: string;
2485
- },
2486
- body: SetIamPolicyRequest,
2487
- ): Request<Policy>;
2488
- /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
2489
- testIamPermissions(
2490
- request: {
2491
- /** V1 error format. */
2492
- '$.xgafv'?: '1' | '2';
2493
- /** OAuth access token. */
2494
- access_token?: string;
2495
- /** Data format for response. */
2496
- alt?: 'json' | 'media' | 'proto';
2497
- /** JSONP */
2498
- callback?: string;
2499
- /** Selector specifying which fields to include in a partial response. */
2500
- fields?: string;
2501
- /** 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. */
2502
- key?: string;
2503
- /** OAuth 2.0 token for the current user. */
2504
- oauth_token?: string;
2505
- /** Returns response with indentations and line breaks. */
2506
- prettyPrint?: boolean;
2507
- /** 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. */
2508
- quotaUser?: string;
2509
- /** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
2510
- resource: string;
2511
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2512
- upload_protocol?: string;
2513
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2514
- uploadType?: string;
2515
- },
2516
- body: TestIamPermissionsRequest,
2517
- ): Request<TestIamPermissionsResponse>;
2518
- }
2519
- interface OperationsResource {
2520
- /** 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`. */
2521
- cancel(request: {
2522
- /** V1 error format. */
2523
- '$.xgafv'?: '1' | '2';
2524
- /** OAuth access token. */
2525
- access_token?: string;
2526
- /** Data format for response. */
2527
- alt?: 'json' | 'media' | 'proto';
2528
- /** JSONP */
2529
- callback?: string;
2530
- /** Selector specifying which fields to include in a partial response. */
2531
- fields?: string;
2532
- /** 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. */
2533
- key?: string;
2534
- /** The name of the operation resource to be cancelled. */
2535
- name: string;
2536
- /** OAuth 2.0 token for the current user. */
2537
- oauth_token?: string;
2538
- /** Returns response with indentations and line breaks. */
2539
- prettyPrint?: boolean;
2540
- /** 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. */
2541
- quotaUser?: string;
2542
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2543
- upload_protocol?: string;
2544
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2545
- uploadType?: string;
2546
- /** Request body */
2547
- resource: CancelOperationRequest;
2548
- }): Request<{}>;
2549
- cancel(
2550
- request: {
1787
+ }): Request<ListLocationsResponse>;
1788
+ global: {
1789
+ operations: {
1790
+ /** 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`. */
1791
+ cancel(request: {
1792
+ /** V1 error format. */
1793
+ '$.xgafv'?: '1' | '2';
1794
+ /** OAuth access token. */
1795
+ access_token?: string;
1796
+ /** Data format for response. */
1797
+ alt?: 'json' | 'media' | 'proto';
1798
+ /** JSONP */
1799
+ callback?: string;
1800
+ /** Selector specifying which fields to include in a partial response. */
1801
+ fields?: string;
1802
+ /** 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. */
1803
+ key?: string;
1804
+ /** The name of the operation resource to be cancelled. */
1805
+ name: string;
1806
+ /** OAuth 2.0 token for the current user. */
1807
+ oauth_token?: string;
1808
+ /** Returns response with indentations and line breaks. */
1809
+ prettyPrint?: boolean;
1810
+ /** 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. */
1811
+ quotaUser?: string;
1812
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1813
+ upload_protocol?: string;
1814
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1815
+ uploadType?: string;
1816
+ /** Request body */
1817
+ resource: CancelOperationRequest;
1818
+ }): Request<{}>;
1819
+ cancel(
1820
+ request: {
1821
+ /** V1 error format. */
1822
+ '$.xgafv'?: '1' | '2';
1823
+ /** OAuth access token. */
1824
+ access_token?: string;
1825
+ /** Data format for response. */
1826
+ alt?: 'json' | 'media' | 'proto';
1827
+ /** JSONP */
1828
+ callback?: string;
1829
+ /** Selector specifying which fields to include in a partial response. */
1830
+ fields?: string;
1831
+ /** 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. */
1832
+ key?: string;
1833
+ /** The name of the operation resource to be cancelled. */
1834
+ name: string;
1835
+ /** OAuth 2.0 token for the current user. */
1836
+ oauth_token?: string;
1837
+ /** Returns response with indentations and line breaks. */
1838
+ prettyPrint?: boolean;
1839
+ /** 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. */
1840
+ quotaUser?: string;
1841
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1842
+ upload_protocol?: string;
1843
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1844
+ uploadType?: string;
1845
+ },
1846
+ body: CancelOperationRequest,
1847
+ ): Request<{}>;
1848
+ /** 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 support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
1849
+ delete(request?: {
1850
+ /** V1 error format. */
1851
+ '$.xgafv'?: '1' | '2';
1852
+ /** OAuth access token. */
1853
+ access_token?: string;
1854
+ /** Data format for response. */
1855
+ alt?: 'json' | 'media' | 'proto';
1856
+ /** JSONP */
1857
+ callback?: string;
1858
+ /** Selector specifying which fields to include in a partial response. */
1859
+ fields?: string;
1860
+ /** 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. */
1861
+ key?: string;
1862
+ /** The name of the operation resource to be deleted. */
1863
+ name: string;
1864
+ /** OAuth 2.0 token for the current user. */
1865
+ oauth_token?: string;
1866
+ /** Returns response with indentations and line breaks. */
1867
+ prettyPrint?: boolean;
1868
+ /** 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. */
1869
+ quotaUser?: string;
1870
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1871
+ upload_protocol?: string;
1872
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1873
+ uploadType?: string;
1874
+ }): Request<{}>;
1875
+ /** 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. */
1876
+ get(request?: {
1877
+ /** V1 error format. */
1878
+ '$.xgafv'?: '1' | '2';
1879
+ /** OAuth access token. */
1880
+ access_token?: string;
1881
+ /** Data format for response. */
1882
+ alt?: 'json' | 'media' | 'proto';
1883
+ /** JSONP */
1884
+ callback?: string;
1885
+ /** Selector specifying which fields to include in a partial response. */
1886
+ fields?: string;
1887
+ /** 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. */
1888
+ key?: string;
1889
+ /** The name of the operation resource. */
1890
+ name: string;
1891
+ /** OAuth 2.0 token for the current user. */
1892
+ oauth_token?: string;
1893
+ /** Returns response with indentations and line breaks. */
1894
+ prettyPrint?: boolean;
1895
+ /** 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. */
1896
+ quotaUser?: string;
1897
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1898
+ upload_protocol?: string;
1899
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1900
+ uploadType?: string;
1901
+ }): Request<Operation>;
1902
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1903
+ list(request?: {
1904
+ /** V1 error format. */
1905
+ '$.xgafv'?: '1' | '2';
1906
+ /** OAuth access token. */
1907
+ access_token?: string;
1908
+ /** Data format for response. */
1909
+ alt?: 'json' | 'media' | 'proto';
1910
+ /** JSONP */
1911
+ callback?: string;
1912
+ /** Selector specifying which fields to include in a partial response. */
1913
+ fields?: string;
1914
+ /** The standard list filter. */
1915
+ filter?: string;
1916
+ /** 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. */
1917
+ key?: string;
1918
+ /** The name of the operation's parent resource. */
1919
+ name: string;
1920
+ /** OAuth 2.0 token for the current user. */
1921
+ oauth_token?: string;
1922
+ /** The standard list page size. */
1923
+ pageSize?: number;
1924
+ /** The standard list page token. */
1925
+ pageToken?: string;
1926
+ /** Returns response with indentations and line breaks. */
1927
+ prettyPrint?: boolean;
1928
+ /** 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. */
1929
+ quotaUser?: string;
1930
+ /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
1931
+ returnPartialSuccess?: boolean;
1932
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1933
+ upload_protocol?: string;
1934
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1935
+ uploadType?: string;
1936
+ }): Request<ListOperationsResponse>;
1937
+ };
1938
+ };
1939
+ vpcFlowLogsConfigs: {
1940
+ /** 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 */
1941
+ create(request: {
1942
+ /** V1 error format. */
1943
+ '$.xgafv'?: '1' | '2';
1944
+ /** OAuth access token. */
1945
+ access_token?: string;
1946
+ /** Data format for response. */
1947
+ alt?: 'json' | 'media' | 'proto';
1948
+ /** JSONP */
1949
+ callback?: string;
1950
+ /** Selector specifying which fields to include in a partial response. */
1951
+ fields?: string;
1952
+ /** 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. */
1953
+ key?: string;
1954
+ /** OAuth 2.0 token for the current user. */
1955
+ oauth_token?: string;
1956
+ /** 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` */
1957
+ parent: string;
1958
+ /** Returns response with indentations and line breaks. */
1959
+ prettyPrint?: boolean;
1960
+ /** 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. */
1961
+ quotaUser?: string;
1962
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1963
+ upload_protocol?: string;
1964
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1965
+ uploadType?: string;
1966
+ /** Required. ID of the `VpcFlowLogsConfig`. */
1967
+ vpcFlowLogsConfigId?: string;
1968
+ /** Request body */
1969
+ resource: VpcFlowLogsConfig;
1970
+ }): Request<Operation>;
1971
+ create(
1972
+ request: {
1973
+ /** V1 error format. */
1974
+ '$.xgafv'?: '1' | '2';
1975
+ /** OAuth access token. */
1976
+ access_token?: string;
1977
+ /** Data format for response. */
1978
+ alt?: 'json' | 'media' | 'proto';
1979
+ /** JSONP */
1980
+ callback?: string;
1981
+ /** Selector specifying which fields to include in a partial response. */
1982
+ fields?: string;
1983
+ /** 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. */
1984
+ key?: string;
1985
+ /** OAuth 2.0 token for the current user. */
1986
+ oauth_token?: string;
1987
+ /** 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` */
1988
+ parent: string;
1989
+ /** Returns response with indentations and line breaks. */
1990
+ prettyPrint?: boolean;
1991
+ /** 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. */
1992
+ quotaUser?: string;
1993
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1994
+ upload_protocol?: string;
1995
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1996
+ uploadType?: string;
1997
+ /** Required. ID of the `VpcFlowLogsConfig`. */
1998
+ vpcFlowLogsConfigId?: string;
1999
+ },
2000
+ body: VpcFlowLogsConfig,
2001
+ ): Request<Operation>;
2002
+ /** Deletes a specific `VpcFlowLogsConfig`. */
2003
+ delete(request?: {
2004
+ /** V1 error format. */
2005
+ '$.xgafv'?: '1' | '2';
2006
+ /** OAuth access token. */
2007
+ access_token?: string;
2008
+ /** Data format for response. */
2009
+ alt?: 'json' | 'media' | 'proto';
2010
+ /** JSONP */
2011
+ callback?: string;
2012
+ /** Selector specifying which fields to include in a partial response. */
2013
+ fields?: string;
2014
+ /** 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. */
2015
+ key?: string;
2016
+ /** 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}` */
2017
+ name: string;
2018
+ /** OAuth 2.0 token for the current user. */
2019
+ oauth_token?: string;
2020
+ /** Returns response with indentations and line breaks. */
2021
+ prettyPrint?: boolean;
2022
+ /** 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. */
2023
+ quotaUser?: string;
2024
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2025
+ upload_protocol?: string;
2026
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2027
+ uploadType?: string;
2028
+ }): Request<Operation>;
2029
+ /** Gets the details of a specific `VpcFlowLogsConfig`. */
2030
+ get(request?: {
2031
+ /** V1 error format. */
2032
+ '$.xgafv'?: '1' | '2';
2033
+ /** OAuth access token. */
2034
+ access_token?: string;
2035
+ /** Data format for response. */
2036
+ alt?: 'json' | 'media' | 'proto';
2037
+ /** JSONP */
2038
+ callback?: string;
2039
+ /** Selector specifying which fields to include in a partial response. */
2040
+ fields?: string;
2041
+ /** 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. */
2042
+ key?: string;
2043
+ /** 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}` */
2044
+ name: string;
2045
+ /** OAuth 2.0 token for the current user. */
2046
+ oauth_token?: string;
2047
+ /** Returns response with indentations and line breaks. */
2048
+ prettyPrint?: boolean;
2049
+ /** 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. */
2050
+ quotaUser?: string;
2051
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2052
+ upload_protocol?: string;
2053
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2054
+ uploadType?: string;
2055
+ }): Request<VpcFlowLogsConfig>;
2056
+ /** Lists all `VpcFlowLogsConfigs` in a given organization. */
2057
+ list(request?: {
2058
+ /** V1 error format. */
2059
+ '$.xgafv'?: '1' | '2';
2060
+ /** OAuth access token. */
2061
+ access_token?: string;
2062
+ /** Data format for response. */
2063
+ alt?: 'json' | 'media' | 'proto';
2064
+ /** JSONP */
2065
+ callback?: string;
2066
+ /** Selector specifying which fields to include in a partial response. */
2067
+ fields?: string;
2068
+ /** 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). */
2069
+ filter?: string;
2070
+ /** 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. */
2071
+ key?: string;
2072
+ /** OAuth 2.0 token for the current user. */
2073
+ oauth_token?: string;
2074
+ /** Optional. Field to use to sort the list. */
2075
+ orderBy?: string;
2076
+ /** Optional. Number of `VpcFlowLogsConfigs` to return. */
2077
+ pageSize?: number;
2078
+ /** Optional. Page token from an earlier query, as returned in `next_page_token`. */
2079
+ pageToken?: string;
2080
+ /** Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global` */
2081
+ parent: string;
2082
+ /** Returns response with indentations and line breaks. */
2083
+ prettyPrint?: boolean;
2084
+ /** 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. */
2085
+ quotaUser?: string;
2086
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2087
+ upload_protocol?: string;
2088
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2089
+ uploadType?: string;
2090
+ }): Request<ListVpcFlowLogsConfigsResponse>;
2091
+ /** 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 */
2092
+ patch(request: {
2093
+ /** V1 error format. */
2094
+ '$.xgafv'?: '1' | '2';
2095
+ /** OAuth access token. */
2096
+ access_token?: string;
2097
+ /** Data format for response. */
2098
+ alt?: 'json' | 'media' | 'proto';
2099
+ /** JSONP */
2100
+ callback?: string;
2101
+ /** Selector specifying which fields to include in a partial response. */
2102
+ fields?: string;
2103
+ /** 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. */
2104
+ key?: string;
2105
+ /** 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}` */
2106
+ name: string;
2107
+ /** OAuth 2.0 token for the current user. */
2108
+ oauth_token?: string;
2109
+ /** Returns response with indentations and line breaks. */
2110
+ prettyPrint?: boolean;
2111
+ /** 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. */
2112
+ quotaUser?: string;
2113
+ /** 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" }` */
2114
+ updateMask?: string;
2115
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2116
+ upload_protocol?: string;
2117
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2118
+ uploadType?: string;
2119
+ /** Request body */
2120
+ resource: VpcFlowLogsConfig;
2121
+ }): Request<Operation>;
2122
+ patch(
2123
+ request: {
2124
+ /** V1 error format. */
2125
+ '$.xgafv'?: '1' | '2';
2126
+ /** OAuth access token. */
2127
+ access_token?: string;
2128
+ /** Data format for response. */
2129
+ alt?: 'json' | 'media' | 'proto';
2130
+ /** JSONP */
2131
+ callback?: string;
2132
+ /** Selector specifying which fields to include in a partial response. */
2133
+ fields?: string;
2134
+ /** 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. */
2135
+ key?: string;
2136
+ /** 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}` */
2137
+ name: string;
2138
+ /** OAuth 2.0 token for the current user. */
2139
+ oauth_token?: string;
2140
+ /** Returns response with indentations and line breaks. */
2141
+ prettyPrint?: boolean;
2142
+ /** 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. */
2143
+ quotaUser?: string;
2144
+ /** 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" }` */
2145
+ updateMask?: string;
2146
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2147
+ upload_protocol?: string;
2148
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2149
+ uploadType?: string;
2150
+ },
2151
+ body: VpcFlowLogsConfig,
2152
+ ): Request<Operation>;
2153
+ };
2154
+ };
2155
+ };
2156
+
2157
+ const projects: {
2158
+ locations: {
2159
+ /** Gets information about a location. */
2160
+ get(request?: {
2551
2161
  /** V1 error format. */
2552
2162
  '$.xgafv'?: '1' | '2';
2553
2163
  /** OAuth access token. */
@@ -2560,7 +2170,7 @@ declare namespace gapi.client {
2560
2170
  fields?: string;
2561
2171
  /** 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. */
2562
2172
  key?: string;
2563
- /** The name of the operation resource to be cancelled. */
2173
+ /** Resource name for the location. */
2564
2174
  name: string;
2565
2175
  /** OAuth 2.0 token for the current user. */
2566
2176
  oauth_token?: string;
@@ -2572,444 +2182,9 @@ declare namespace gapi.client {
2572
2182
  upload_protocol?: string;
2573
2183
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2574
2184
  uploadType?: string;
2575
- },
2576
- body: CancelOperationRequest,
2577
- ): Request<{}>;
2578
- /** 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 support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
2579
- delete(request?: {
2580
- /** V1 error format. */
2581
- '$.xgafv'?: '1' | '2';
2582
- /** OAuth access token. */
2583
- access_token?: string;
2584
- /** Data format for response. */
2585
- alt?: 'json' | 'media' | 'proto';
2586
- /** JSONP */
2587
- callback?: string;
2588
- /** Selector specifying which fields to include in a partial response. */
2589
- fields?: string;
2590
- /** 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. */
2591
- key?: string;
2592
- /** The name of the operation resource to be deleted. */
2593
- name: string;
2594
- /** OAuth 2.0 token for the current user. */
2595
- oauth_token?: string;
2596
- /** Returns response with indentations and line breaks. */
2597
- prettyPrint?: boolean;
2598
- /** 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. */
2599
- quotaUser?: string;
2600
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2601
- upload_protocol?: string;
2602
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2603
- uploadType?: string;
2604
- }): Request<{}>;
2605
- /** 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. */
2606
- get(request?: {
2607
- /** V1 error format. */
2608
- '$.xgafv'?: '1' | '2';
2609
- /** OAuth access token. */
2610
- access_token?: string;
2611
- /** Data format for response. */
2612
- alt?: 'json' | 'media' | 'proto';
2613
- /** JSONP */
2614
- callback?: string;
2615
- /** Selector specifying which fields to include in a partial response. */
2616
- fields?: string;
2617
- /** 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. */
2618
- key?: string;
2619
- /** The name of the operation resource. */
2620
- name: string;
2621
- /** OAuth 2.0 token for the current user. */
2622
- oauth_token?: string;
2623
- /** Returns response with indentations and line breaks. */
2624
- prettyPrint?: boolean;
2625
- /** 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. */
2626
- quotaUser?: string;
2627
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2628
- upload_protocol?: string;
2629
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2630
- uploadType?: string;
2631
- }): Request<Operation>;
2632
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
2633
- list(request?: {
2634
- /** V1 error format. */
2635
- '$.xgafv'?: '1' | '2';
2636
- /** OAuth access token. */
2637
- access_token?: string;
2638
- /** Data format for response. */
2639
- alt?: 'json' | 'media' | 'proto';
2640
- /** JSONP */
2641
- callback?: string;
2642
- /** Selector specifying which fields to include in a partial response. */
2643
- fields?: string;
2644
- /** The standard list filter. */
2645
- filter?: string;
2646
- /** 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. */
2647
- key?: string;
2648
- /** The name of the operation's parent resource. */
2649
- name: string;
2650
- /** OAuth 2.0 token for the current user. */
2651
- oauth_token?: string;
2652
- /** The standard list page size. */
2653
- pageSize?: number;
2654
- /** The standard list page token. */
2655
- pageToken?: string;
2656
- /** Returns response with indentations and line breaks. */
2657
- prettyPrint?: boolean;
2658
- /** 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. */
2659
- quotaUser?: string;
2660
- /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
2661
- returnPartialSuccess?: boolean;
2662
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2663
- upload_protocol?: string;
2664
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2665
- uploadType?: string;
2666
- }): Request<ListOperationsResponse>;
2667
- }
2668
- interface GlobalResource {
2669
- connectivityTests: ConnectivityTestsResource;
2670
- operations: OperationsResource;
2671
- }
2672
- interface MonitoringPointsResource {
2673
- /** Downloads an install script for MonitoringPoints for a given network monitoring provider. */
2674
- downloadInstallScript(request?: {
2675
- /** Optional. Password for logging into the MonitoringPoint. */
2676
- _password?: string;
2677
- /** V1 error format. */
2678
- '$.xgafv'?: '1' | '2';
2679
- /** OAuth access token. */
2680
- access_token?: string;
2681
- /** Data format for response. */
2682
- alt?: 'json' | 'media' | 'proto';
2683
- /** JSONP */
2684
- callback?: string;
2685
- /** Optional. The deployment type for Cloud Monitoring Points. */
2686
- cloudDeploymentType?:
2687
- | 'CLOUD_DEPLOYMENT_TYPE_UNSPECIFIED'
2688
- | 'TERRAFORM'
2689
- | 'CLOUD_FORMATION'
2690
- | 'BICEP';
2691
- /** Selector specifying which fields to include in a partial response. */
2692
- fields?: string;
2693
- /** Required. The hostname of the MonitoringPoint, e.g. "test-vm" */
2694
- hostname?: string;
2695
- /** 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. */
2696
- key?: string;
2697
- /** Required. The type of the monitoring point. */
2698
- monitoringPointType?:
2699
- | 'MONITORING_POINT_TYPE_UNSPECIFIED'
2700
- | 'CONTAINER'
2701
- | 'KVM'
2702
- | 'VMWARE'
2703
- | 'HELM'
2704
- | 'GCE_VM'
2705
- | 'AZURE_VM'
2706
- | 'AWS_EC2';
2707
- /** Optional. Network Time Protocol a user can configure. If the user omits the field, the default is either NTP servers provided in the DHCP lease or a set of well-known NTP servers pre-configured on the monitoring point. This field can be an IP address or FQDN. */
2708
- ntpServerAddress?: string;
2709
- /** Optional. Second NTP server. */
2710
- ntpServerSecondaryAddress?: string;
2711
- /** OAuth 2.0 token for the current user. */
2712
- oauth_token?: string;
2713
- /** Required. Parent value for DownloadInstallScriptRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
2714
- parent: string;
2715
- /** Returns response with indentations and line breaks. */
2716
- prettyPrint?: boolean;
2717
- /** Optional. For Google Cloud MPs, this field indicates whether the Monitoring Point is deployed in a Private Service Connect deployment. Not used for non-Google Cloud MPs. */
2718
- privateConnectivityEnabled?: boolean;
2719
- /** 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. */
2720
- quotaUser?: string;
2721
- /** Required. DNS server. */
2722
- 'staticIpAddress.dnsServerAddress'?: string;
2723
- /** Optional. Second DNS server. */
2724
- 'staticIpAddress.dnsServerSecondaryAddress'?: string;
2725
- /** Optional. Domain name of the MonitoringPoint. */
2726
- 'staticIpAddress.domain'?: string;
2727
- /** Required. Gateway IP address. Example: "100.80.40.1". */
2728
- 'staticIpAddress.gatewayAddress'?: string;
2729
- /** Required. IP address of the MonitoringPoint. */
2730
- 'staticIpAddress.ipAddress'?: string;
2731
- /** Optional. Networkmask and CIDR range. Example: "255.255.255.0/24" */
2732
- 'staticIpAddress.netmask'?: string;
2733
- /** IANA Time Zone Database time zone. For example "America/New_York". */
2734
- 'timeZone.id'?: string;
2735
- /** Optional. IANA Time Zone Database version number. For example "2019a". */
2736
- 'timeZone.version'?: string;
2737
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2738
- upload_protocol?: string;
2739
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2740
- uploadType?: string;
2741
- /** Optional. Dynamic Host Configuration Protocol, is a network management protocol that automatically assigns IP addresses and other network configuration parameters to devices connecting to a network. */
2742
- useDhcp?: boolean;
2743
- }): Request<HttpBody>;
2744
- /** Downloads an install script for a specific Container MonitoringPoint. */
2745
- downloadRecreateInstallScript(request?: {
2746
- /** V1 error format. */
2747
- '$.xgafv'?: '1' | '2';
2748
- /** OAuth access token. */
2749
- access_token?: string;
2750
- /** Data format for response. */
2751
- alt?: 'json' | 'media' | 'proto';
2752
- /** JSONP */
2753
- callback?: string;
2754
- /** Selector specifying which fields to include in a partial response. */
2755
- fields?: string;
2756
- /** Optional. The hostname of the MonitoringPoint, e.g. "test-vm" */
2757
- hostname?: string;
2758
- /** 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. */
2759
- key?: string;
2760
- /** Required. Resource name of the MonitoringPoint. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point} */
2761
- name: string;
2762
- /** OAuth 2.0 token for the current user. */
2763
- oauth_token?: string;
2764
- /** Returns response with indentations and line breaks. */
2765
- prettyPrint?: boolean;
2766
- /** 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. */
2767
- quotaUser?: string;
2768
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2769
- upload_protocol?: string;
2770
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2771
- uploadType?: string;
2772
- }): Request<HttpBody>;
2773
- /** Downloads the server connect configuration for a given network monitoring provider. */
2774
- downloadServerConnectConfig(request?: {
2775
- /** V1 error format. */
2776
- '$.xgafv'?: '1' | '2';
2777
- /** OAuth access token. */
2778
- access_token?: string;
2779
- /** Data format for response. */
2780
- alt?: 'json' | 'media' | 'proto';
2781
- /** JSONP */
2782
- callback?: string;
2783
- /** Selector specifying which fields to include in a partial response. */
2784
- fields?: string;
2785
- /** 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. */
2786
- key?: string;
2787
- /** OAuth 2.0 token for the current user. */
2788
- oauth_token?: string;
2789
- /** Required. Parent value for DownloadServerConnectConfigRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
2790
- parent: string;
2791
- /** Returns response with indentations and line breaks. */
2792
- prettyPrint?: boolean;
2793
- /** 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. */
2794
- quotaUser?: string;
2795
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2796
- upload_protocol?: string;
2797
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2798
- uploadType?: string;
2799
- }): Request<HttpBody>;
2800
- /** Gets the MonitoringPoint resource. */
2801
- get(request?: {
2802
- /** V1 error format. */
2803
- '$.xgafv'?: '1' | '2';
2804
- /** OAuth access token. */
2805
- access_token?: string;
2806
- /** Data format for response. */
2807
- alt?: 'json' | 'media' | 'proto';
2808
- /** JSONP */
2809
- callback?: string;
2810
- /** Selector specifying which fields to include in a partial response. */
2811
- fields?: string;
2812
- /** 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. */
2813
- key?: string;
2814
- /** Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point} */
2815
- name: string;
2816
- /** OAuth 2.0 token for the current user. */
2817
- oauth_token?: string;
2818
- /** Returns response with indentations and line breaks. */
2819
- prettyPrint?: boolean;
2820
- /** 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. */
2821
- quotaUser?: string;
2822
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2823
- upload_protocol?: string;
2824
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2825
- uploadType?: string;
2826
- }): Request<MonitoringPoint>;
2827
- /** Lists MonitoringPoints for a given network monitoring provider. */
2828
- list(request?: {
2829
- /** V1 error format. */
2830
- '$.xgafv'?: '1' | '2';
2831
- /** OAuth access token. */
2832
- access_token?: string;
2833
- /** Data format for response. */
2834
- alt?: 'json' | 'media' | 'proto';
2835
- /** JSONP */
2836
- callback?: string;
2837
- /** Selector specifying which fields to include in a partial response. */
2838
- fields?: string;
2839
- /** 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. */
2840
- key?: string;
2841
- /** OAuth 2.0 token for the current user. */
2842
- oauth_token?: string;
2843
- /** Optional. The maximum number of monitoring points to return. The service may return fewer than this value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
2844
- pageSize?: number;
2845
- /** Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMonitoringPoints` must match the call that provided the page token. */
2846
- pageToken?: string;
2847
- /** Required. Parent value for ListMonitoringPointsRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
2848
- parent: string;
2849
- /** Returns response with indentations and line breaks. */
2850
- prettyPrint?: boolean;
2851
- /** 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. */
2852
- quotaUser?: string;
2853
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2854
- upload_protocol?: string;
2855
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2856
- uploadType?: string;
2857
- }): Request<ListMonitoringPointsResponse>;
2858
- }
2859
- interface NetworkPathsResource {
2860
- /** Gets the NetworkPath resource. */
2861
- get(request?: {
2862
- /** V1 error format. */
2863
- '$.xgafv'?: '1' | '2';
2864
- /** OAuth access token. */
2865
- access_token?: string;
2866
- /** Data format for response. */
2867
- alt?: 'json' | 'media' | 'proto';
2868
- /** JSONP */
2869
- callback?: string;
2870
- /** Selector specifying which fields to include in a partial response. */
2871
- fields?: string;
2872
- /** 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. */
2873
- key?: string;
2874
- /** Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/networkPaths/{network_path} */
2875
- name: string;
2876
- /** OAuth 2.0 token for the current user. */
2877
- oauth_token?: string;
2878
- /** Returns response with indentations and line breaks. */
2879
- prettyPrint?: boolean;
2880
- /** 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. */
2881
- quotaUser?: string;
2882
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2883
- upload_protocol?: string;
2884
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2885
- uploadType?: string;
2886
- }): Request<NetworkPath>;
2887
- /** Lists NetworkPaths for a given network monitoring provider. */
2888
- list(request?: {
2889
- /** V1 error format. */
2890
- '$.xgafv'?: '1' | '2';
2891
- /** OAuth access token. */
2892
- access_token?: string;
2893
- /** Data format for response. */
2894
- alt?: 'json' | 'media' | 'proto';
2895
- /** JSONP */
2896
- callback?: string;
2897
- /** Selector specifying which fields to include in a partial response. */
2898
- fields?: string;
2899
- /** 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. */
2900
- key?: string;
2901
- /** OAuth 2.0 token for the current user. */
2902
- oauth_token?: string;
2903
- /** Optional. The maximum number of network paths to return. The service may return fewer than this value. If unspecified, at most 20 network pathswill be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
2904
- pageSize?: number;
2905
- /** Optional. A page token, received from a previous `ListNetworkPaths` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNetworkPaths` must match the call that provided the page token. */
2906
- pageToken?: string;
2907
- /** Required. Parent value for ListNetworkPathsRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
2908
- parent: string;
2909
- /** Returns response with indentations and line breaks. */
2910
- prettyPrint?: boolean;
2911
- /** 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. */
2912
- quotaUser?: string;
2913
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2914
- upload_protocol?: string;
2915
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2916
- uploadType?: string;
2917
- }): Request<ListNetworkPathsResponse>;
2918
- }
2919
- interface WebPathsResource {
2920
- /** Gets the WebPath resource. */
2921
- get(request?: {
2922
- /** V1 error format. */
2923
- '$.xgafv'?: '1' | '2';
2924
- /** OAuth access token. */
2925
- access_token?: string;
2926
- /** Data format for response. */
2927
- alt?: 'json' | 'media' | 'proto';
2928
- /** JSONP */
2929
- callback?: string;
2930
- /** Selector specifying which fields to include in a partial response. */
2931
- fields?: string;
2932
- /** 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. */
2933
- key?: string;
2934
- /** Required. Name of the resource.. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/webPaths/{web_path} */
2935
- name: string;
2936
- /** OAuth 2.0 token for the current user. */
2937
- oauth_token?: string;
2938
- /** Returns response with indentations and line breaks. */
2939
- prettyPrint?: boolean;
2940
- /** 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. */
2941
- quotaUser?: string;
2942
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2943
- upload_protocol?: string;
2944
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2945
- uploadType?: string;
2946
- }): Request<WebPath>;
2947
- /** Lists WebPaths for a given network monitoring provider. */
2948
- list(request?: {
2949
- /** V1 error format. */
2950
- '$.xgafv'?: '1' | '2';
2951
- /** OAuth access token. */
2952
- access_token?: string;
2953
- /** Data format for response. */
2954
- alt?: 'json' | 'media' | 'proto';
2955
- /** JSONP */
2956
- callback?: string;
2957
- /** Selector specifying which fields to include in a partial response. */
2958
- fields?: string;
2959
- /** 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. */
2960
- key?: string;
2961
- /** OAuth 2.0 token for the current user. */
2962
- oauth_token?: string;
2963
- /** Optional. The maximum number of web paths to return. The service may return fewer than this value. If unspecified, at most 20 web paths will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
2964
- pageSize?: number;
2965
- /** Optional. A page token, received from a previous `ListWebPaths` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWebPaths` must match the call that provided the page token. */
2966
- pageToken?: string;
2967
- /** Required. Parent value for ListWebPathsRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
2968
- parent: string;
2969
- /** Returns response with indentations and line breaks. */
2970
- prettyPrint?: boolean;
2971
- /** 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. */
2972
- quotaUser?: string;
2973
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2974
- upload_protocol?: string;
2975
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2976
- uploadType?: string;
2977
- }): Request<ListWebPathsResponse>;
2978
- }
2979
- interface NetworkMonitoringProvidersResource {
2980
- /** Creates a NetworkMonitoringProvider resource. */
2981
- create(request: {
2982
- /** V1 error format. */
2983
- '$.xgafv'?: '1' | '2';
2984
- /** OAuth access token. */
2985
- access_token?: string;
2986
- /** Data format for response. */
2987
- alt?: 'json' | 'media' | 'proto';
2988
- /** JSONP */
2989
- callback?: string;
2990
- /** Selector specifying which fields to include in a partial response. */
2991
- fields?: string;
2992
- /** 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. */
2993
- key?: string;
2994
- /** Required. The ID to use for the NetworkMonitoringProvider resource, which will become the final component of the NetworkMonitoringProvider resource's name. */
2995
- networkMonitoringProviderId?: string;
2996
- /** OAuth 2.0 token for the current user. */
2997
- oauth_token?: string;
2998
- /** Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: projects/{project}/locations/{location} */
2999
- parent: string;
3000
- /** Returns response with indentations and line breaks. */
3001
- prettyPrint?: boolean;
3002
- /** 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. */
3003
- quotaUser?: string;
3004
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3005
- upload_protocol?: string;
3006
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3007
- uploadType?: string;
3008
- /** Request body */
3009
- resource: NetworkMonitoringProvider;
3010
- }): Request<Operation>;
3011
- create(
3012
- request: {
2185
+ }): Request<Location>;
2186
+ /** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
2187
+ list(request?: {
3013
2188
  /** V1 error format. */
3014
2189
  '$.xgafv'?: '1' | '2';
3015
2190
  /** OAuth access token. */
@@ -3018,532 +2193,1344 @@ declare namespace gapi.client {
3018
2193
  alt?: 'json' | 'media' | 'proto';
3019
2194
  /** JSONP */
3020
2195
  callback?: string;
2196
+ /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
2197
+ extraLocationTypes?: string | string[];
3021
2198
  /** Selector specifying which fields to include in a partial response. */
3022
2199
  fields?: string;
2200
+ /** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
2201
+ filter?: string;
3023
2202
  /** 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. */
3024
2203
  key?: string;
3025
- /** Required. The ID to use for the NetworkMonitoringProvider resource, which will become the final component of the NetworkMonitoringProvider resource's name. */
3026
- networkMonitoringProviderId?: string;
3027
- /** OAuth 2.0 token for the current user. */
3028
- oauth_token?: string;
3029
- /** Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: projects/{project}/locations/{location} */
3030
- parent: string;
3031
- /** Returns response with indentations and line breaks. */
3032
- prettyPrint?: boolean;
3033
- /** 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. */
3034
- quotaUser?: string;
3035
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3036
- upload_protocol?: string;
3037
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3038
- uploadType?: string;
3039
- },
3040
- body: NetworkMonitoringProvider,
3041
- ): Request<Operation>;
3042
- /** Deletes a NetworkMonitoringProvider resource and all of its child resources. */
3043
- delete(request?: {
3044
- /** V1 error format. */
3045
- '$.xgafv'?: '1' | '2';
3046
- /** OAuth access token. */
3047
- access_token?: string;
3048
- /** Data format for response. */
3049
- alt?: 'json' | 'media' | 'proto';
3050
- /** JSONP */
3051
- callback?: string;
3052
- /** Selector specifying which fields to include in a partial response. */
3053
- fields?: string;
3054
- /** Optional. If set to true, any nested MonitoringPoints, NetworkPaths and WebPaths resources from this NetworkMonitoringProvider will also be deleted. Otherwise, the request will only work if there are no nested resources. */
3055
- force?: boolean;
3056
- /** 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. */
3057
- key?: string;
3058
- /** Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
3059
- name: string;
3060
- /** OAuth 2.0 token for the current user. */
3061
- oauth_token?: string;
3062
- /** Returns response with indentations and line breaks. */
3063
- prettyPrint?: boolean;
3064
- /** 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. */
3065
- quotaUser?: string;
3066
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3067
- upload_protocol?: string;
3068
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3069
- uploadType?: string;
3070
- }): Request<Operation>;
3071
- /** Generates Monitoring Point configuration of a NetworkMonitoringProvider resource. */
3072
- generateMonitoringPointConfig(request?: {
3073
- /** V1 error format. */
3074
- '$.xgafv'?: '1' | '2';
3075
- /** OAuth access token. */
3076
- access_token?: string;
3077
- /** Data format for response. */
3078
- alt?: 'json' | 'media' | 'proto';
3079
- /** JSONP */
3080
- callback?: string;
3081
- /** Selector specifying which fields to include in a partial response. */
3082
- fields?: string;
3083
- /** 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. */
3084
- key?: string;
3085
- /** Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
3086
- name: string;
3087
- /** OAuth 2.0 token for the current user. */
3088
- oauth_token?: string;
3089
- /** Returns response with indentations and line breaks. */
3090
- prettyPrint?: boolean;
3091
- /** Optional. For Google Cloud MPs, this field indicates whether the Monitoring Point is deployed in a Private Service Connect deployment. Not used for non-Google Cloud MPs. */
3092
- privateConnectivityEnabled?: boolean;
3093
- /** 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. */
3094
- quotaUser?: string;
3095
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3096
- upload_protocol?: string;
3097
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3098
- uploadType?: string;
3099
- }): Request<GenerateMonitoringPointConfigResponse>;
3100
- /** Generates a provider access token for a given Google access token. Provider access token is a short-lived token that is used to access resources in the provider's platform. */
3101
- generateProviderAccessToken(request?: {
3102
- /** V1 error format. */
3103
- '$.xgafv'?: '1' | '2';
3104
- /** OAuth access token. */
3105
- access_token?: string;
3106
- /** Data format for response. */
3107
- alt?: 'json' | 'media' | 'proto';
3108
- /** JSONP */
3109
- callback?: string;
3110
- /** Selector specifying which fields to include in a partial response. */
3111
- fields?: string;
3112
- /** Required. Google access token. */
3113
- gcpAccessToken?: string;
3114
- /** 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. */
3115
- key?: string;
3116
- /** Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
3117
- name: string;
3118
- /** OAuth 2.0 token for the current user. */
3119
- oauth_token?: string;
3120
- /** Returns response with indentations and line breaks. */
3121
- prettyPrint?: boolean;
3122
- /** 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. */
3123
- quotaUser?: string;
3124
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3125
- upload_protocol?: string;
3126
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3127
- uploadType?: string;
3128
- }): Request<GenerateProviderAccessTokenResponse>;
3129
- /** Gets the NetworkMonitoringProvider resource. */
3130
- get(request?: {
3131
- /** V1 error format. */
3132
- '$.xgafv'?: '1' | '2';
3133
- /** OAuth access token. */
3134
- access_token?: string;
3135
- /** Data format for response. */
3136
- alt?: 'json' | 'media' | 'proto';
3137
- /** JSONP */
3138
- callback?: string;
3139
- /** Selector specifying which fields to include in a partial response. */
3140
- fields?: string;
3141
- /** 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. */
3142
- key?: string;
3143
- /** Required. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}` */
3144
- name: string;
3145
- /** OAuth 2.0 token for the current user. */
3146
- oauth_token?: string;
3147
- /** Returns response with indentations and line breaks. */
3148
- prettyPrint?: boolean;
3149
- /** 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. */
3150
- quotaUser?: string;
3151
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3152
- upload_protocol?: string;
3153
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3154
- uploadType?: string;
3155
- }): Request<NetworkMonitoringProvider>;
3156
- /** Lists NetworkMonitoringProviders for a given project and location. */
3157
- list(request?: {
3158
- /** V1 error format. */
3159
- '$.xgafv'?: '1' | '2';
3160
- /** OAuth access token. */
3161
- access_token?: string;
3162
- /** Data format for response. */
3163
- alt?: 'json' | 'media' | 'proto';
3164
- /** JSONP */
3165
- callback?: string;
3166
- /** Selector specifying which fields to include in a partial response. */
3167
- fields?: string;
3168
- /** 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. */
3169
- key?: string;
3170
- /** OAuth 2.0 token for the current user. */
3171
- oauth_token?: string;
3172
- /** Optional. The maximum number of monitoring points to return. The service may return fewer than this value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
3173
- pageSize?: number;
3174
- /** Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMonitoringPoints` must match the call that provided the page token. */
3175
- pageToken?: string;
3176
- /** Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: `projects/{project}/locations/{location}` */
3177
- parent: string;
3178
- /** Returns response with indentations and line breaks. */
3179
- prettyPrint?: boolean;
3180
- /** 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. */
3181
- quotaUser?: string;
3182
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3183
- upload_protocol?: string;
3184
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3185
- uploadType?: string;
3186
- }): Request<ListNetworkMonitoringProvidersResponse>;
3187
- monitoringPoints: MonitoringPointsResource;
3188
- networkPaths: NetworkPathsResource;
3189
- webPaths: WebPathsResource;
3190
- }
3191
- interface VpcFlowLogsConfigsResource {
3192
- /** 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 */
3193
- create(request: {
3194
- /** V1 error format. */
3195
- '$.xgafv'?: '1' | '2';
3196
- /** OAuth access token. */
3197
- access_token?: string;
3198
- /** Data format for response. */
3199
- alt?: 'json' | 'media' | 'proto';
3200
- /** JSONP */
3201
- callback?: string;
3202
- /** Selector specifying which fields to include in a partial response. */
3203
- fields?: string;
3204
- /** 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. */
3205
- key?: string;
3206
- /** OAuth 2.0 token for the current user. */
3207
- oauth_token?: string;
3208
- /** 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` */
3209
- parent: string;
3210
- /** Returns response with indentations and line breaks. */
3211
- prettyPrint?: boolean;
3212
- /** 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. */
3213
- quotaUser?: string;
3214
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3215
- upload_protocol?: string;
3216
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3217
- uploadType?: string;
3218
- /** Required. ID of the `VpcFlowLogsConfig`. */
3219
- vpcFlowLogsConfigId?: string;
3220
- /** Request body */
3221
- resource: VpcFlowLogsConfig;
3222
- }): Request<Operation>;
3223
- create(
3224
- request: {
3225
- /** V1 error format. */
3226
- '$.xgafv'?: '1' | '2';
3227
- /** OAuth access token. */
3228
- access_token?: string;
3229
- /** Data format for response. */
3230
- alt?: 'json' | 'media' | 'proto';
3231
- /** JSONP */
3232
- callback?: string;
3233
- /** Selector specifying which fields to include in a partial response. */
3234
- fields?: string;
3235
- /** 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. */
3236
- key?: string;
3237
- /** OAuth 2.0 token for the current user. */
3238
- oauth_token?: string;
3239
- /** 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` */
3240
- parent: string;
3241
- /** Returns response with indentations and line breaks. */
3242
- prettyPrint?: boolean;
3243
- /** 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. */
3244
- quotaUser?: string;
3245
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3246
- upload_protocol?: string;
3247
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3248
- uploadType?: string;
3249
- /** Required. ID of the `VpcFlowLogsConfig`. */
3250
- vpcFlowLogsConfigId?: string;
3251
- },
3252
- body: VpcFlowLogsConfig,
3253
- ): Request<Operation>;
3254
- /** Deletes a specific `VpcFlowLogsConfig`. */
3255
- delete(request?: {
3256
- /** V1 error format. */
3257
- '$.xgafv'?: '1' | '2';
3258
- /** OAuth access token. */
3259
- access_token?: string;
3260
- /** Data format for response. */
3261
- alt?: 'json' | 'media' | 'proto';
3262
- /** JSONP */
3263
- callback?: string;
3264
- /** Selector specifying which fields to include in a partial response. */
3265
- fields?: string;
3266
- /** 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. */
3267
- key?: string;
3268
- /** 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}` */
3269
- name: string;
3270
- /** OAuth 2.0 token for the current user. */
3271
- oauth_token?: string;
3272
- /** Returns response with indentations and line breaks. */
3273
- prettyPrint?: boolean;
3274
- /** 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. */
3275
- quotaUser?: string;
3276
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3277
- upload_protocol?: string;
3278
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3279
- uploadType?: string;
3280
- }): Request<Operation>;
3281
- /** Gets the details of a specific `VpcFlowLogsConfig`. */
3282
- get(request?: {
3283
- /** V1 error format. */
3284
- '$.xgafv'?: '1' | '2';
3285
- /** OAuth access token. */
3286
- access_token?: string;
3287
- /** Data format for response. */
3288
- alt?: 'json' | 'media' | 'proto';
3289
- /** JSONP */
3290
- callback?: string;
3291
- /** Selector specifying which fields to include in a partial response. */
3292
- fields?: string;
3293
- /** 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. */
3294
- key?: string;
3295
- /** 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}` */
3296
- name: string;
3297
- /** OAuth 2.0 token for the current user. */
3298
- oauth_token?: string;
3299
- /** Returns response with indentations and line breaks. */
3300
- prettyPrint?: boolean;
3301
- /** 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. */
3302
- quotaUser?: string;
3303
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3304
- upload_protocol?: string;
3305
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3306
- uploadType?: string;
3307
- }): Request<VpcFlowLogsConfig>;
3308
- /** Lists all `VpcFlowLogsConfigs` in a given project. */
3309
- list(request?: {
3310
- /** V1 error format. */
3311
- '$.xgafv'?: '1' | '2';
3312
- /** OAuth access token. */
3313
- access_token?: string;
3314
- /** Data format for response. */
3315
- alt?: 'json' | 'media' | 'proto';
3316
- /** JSONP */
3317
- callback?: string;
3318
- /** Selector specifying which fields to include in a partial response. */
3319
- fields?: string;
3320
- /** 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). */
3321
- filter?: string;
3322
- /** 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. */
3323
- key?: string;
3324
- /** OAuth 2.0 token for the current user. */
3325
- oauth_token?: string;
3326
- /** Optional. Field to use to sort the list. */
3327
- orderBy?: string;
3328
- /** Optional. Number of `VpcFlowLogsConfigs` to return. */
3329
- pageSize?: number;
3330
- /** Optional. Page token from an earlier query, as returned in `next_page_token`. */
3331
- pageToken?: string;
3332
- /** Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global` */
3333
- parent: string;
3334
- /** Returns response with indentations and line breaks. */
3335
- prettyPrint?: boolean;
3336
- /** 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. */
3337
- quotaUser?: string;
3338
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3339
- upload_protocol?: string;
3340
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3341
- uploadType?: string;
3342
- }): Request<ListVpcFlowLogsConfigsResponse>;
3343
- /** 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 */
3344
- patch(request: {
3345
- /** V1 error format. */
3346
- '$.xgafv'?: '1' | '2';
3347
- /** OAuth access token. */
3348
- access_token?: string;
3349
- /** Data format for response. */
3350
- alt?: 'json' | 'media' | 'proto';
3351
- /** JSONP */
3352
- callback?: string;
3353
- /** Selector specifying which fields to include in a partial response. */
3354
- fields?: string;
3355
- /** 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. */
3356
- key?: string;
3357
- /** 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}` */
3358
- name: string;
3359
- /** OAuth 2.0 token for the current user. */
3360
- oauth_token?: string;
3361
- /** Returns response with indentations and line breaks. */
3362
- prettyPrint?: boolean;
3363
- /** 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. */
3364
- quotaUser?: string;
3365
- /** 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" }` */
3366
- updateMask?: string;
3367
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3368
- upload_protocol?: string;
3369
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3370
- uploadType?: string;
3371
- /** Request body */
3372
- resource: VpcFlowLogsConfig;
3373
- }): Request<Operation>;
3374
- patch(
3375
- request: {
3376
- /** V1 error format. */
3377
- '$.xgafv'?: '1' | '2';
3378
- /** OAuth access token. */
3379
- access_token?: string;
3380
- /** Data format for response. */
3381
- alt?: 'json' | 'media' | 'proto';
3382
- /** JSONP */
3383
- callback?: string;
3384
- /** Selector specifying which fields to include in a partial response. */
3385
- fields?: string;
3386
- /** 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. */
3387
- key?: string;
3388
- /** 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}` */
2204
+ /** The resource that owns the locations collection, if applicable. */
3389
2205
  name: string;
3390
2206
  /** OAuth 2.0 token for the current user. */
3391
2207
  oauth_token?: string;
2208
+ /** The maximum number of results to return. If not set, the service selects a default. */
2209
+ pageSize?: number;
2210
+ /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
2211
+ pageToken?: string;
3392
2212
  /** Returns response with indentations and line breaks. */
3393
2213
  prettyPrint?: boolean;
3394
2214
  /** 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. */
3395
2215
  quotaUser?: string;
3396
- /** 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" }` */
3397
- updateMask?: string;
3398
2216
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3399
2217
  upload_protocol?: string;
3400
2218
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3401
2219
  uploadType?: string;
3402
- },
3403
- body: VpcFlowLogsConfig,
3404
- ): Request<Operation>;
3405
- /** QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow Logs configurations applicable to the specified project. */
3406
- queryOrgVpcFlowLogsConfigs(request?: {
3407
- /** V1 error format. */
3408
- '$.xgafv'?: '1' | '2';
3409
- /** OAuth access token. */
3410
- access_token?: string;
3411
- /** Data format for response. */
3412
- alt?: 'json' | 'media' | 'proto';
3413
- /** JSONP */
3414
- callback?: string;
3415
- /** Selector specifying which fields to include in a partial response. */
3416
- fields?: string;
3417
- /** 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). */
3418
- filter?: string;
3419
- /** 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. */
3420
- key?: string;
3421
- /** OAuth 2.0 token for the current user. */
3422
- oauth_token?: string;
3423
- /** Optional. Number of `VpcFlowLogsConfigs` to return. */
3424
- pageSize?: number;
3425
- /** Optional. Page token from an earlier query, as returned in `next_page_token`. */
3426
- pageToken?: string;
3427
- /** Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: `projects/{project_id}/locations/global` */
3428
- parent: string;
3429
- /** Returns response with indentations and line breaks. */
3430
- prettyPrint?: boolean;
3431
- /** 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. */
3432
- quotaUser?: string;
3433
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3434
- upload_protocol?: string;
3435
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3436
- uploadType?: string;
3437
- }): Request<QueryOrgVpcFlowLogsConfigsResponse>;
3438
- /** ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs configurations applicable to a specified resource. */
3439
- showEffectiveFlowLogsConfigs(request?: {
3440
- /** V1 error format. */
3441
- '$.xgafv'?: '1' | '2';
3442
- /** OAuth access token. */
3443
- access_token?: string;
3444
- /** Data format for response. */
3445
- alt?: 'json' | 'media' | 'proto';
3446
- /** JSONP */
3447
- callback?: string;
3448
- /** Selector specifying which fields to include in a partial response. */
3449
- fields?: string;
3450
- /** 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). */
3451
- filter?: string;
3452
- /** 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. */
3453
- key?: string;
3454
- /** OAuth 2.0 token for the current user. */
3455
- oauth_token?: string;
3456
- /** Optional. Number of `EffectiveVpcFlowLogsConfigs` to return. Default is 30. */
3457
- pageSize?: number;
3458
- /** Optional. Page token from an earlier query, as returned in `next_page_token`. */
3459
- pageToken?: string;
3460
- /** Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: `projects/{project_id}/locations/global` */
3461
- parent: string;
3462
- /** Returns response with indentations and line breaks. */
3463
- prettyPrint?: boolean;
3464
- /** 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. */
3465
- quotaUser?: string;
3466
- /** 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. */
3467
- resource?: string;
3468
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3469
- upload_protocol?: string;
3470
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3471
- uploadType?: string;
3472
- }): Request<ShowEffectiveFlowLogsConfigsResponse>;
3473
- }
3474
- interface LocationsResource {
3475
- /** Gets information about a location. */
3476
- get(request?: {
3477
- /** V1 error format. */
3478
- '$.xgafv'?: '1' | '2';
3479
- /** OAuth access token. */
3480
- access_token?: string;
3481
- /** Data format for response. */
3482
- alt?: 'json' | 'media' | 'proto';
3483
- /** JSONP */
3484
- callback?: string;
3485
- /** Selector specifying which fields to include in a partial response. */
3486
- fields?: string;
3487
- /** 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. */
3488
- key?: string;
3489
- /** Resource name for the location. */
3490
- name: string;
3491
- /** OAuth 2.0 token for the current user. */
3492
- oauth_token?: string;
3493
- /** Returns response with indentations and line breaks. */
3494
- prettyPrint?: boolean;
3495
- /** 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. */
3496
- quotaUser?: string;
3497
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3498
- upload_protocol?: string;
3499
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3500
- uploadType?: string;
3501
- }): Request<Location>;
3502
- /** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
3503
- list(request?: {
3504
- /** V1 error format. */
3505
- '$.xgafv'?: '1' | '2';
3506
- /** OAuth access token. */
3507
- access_token?: string;
3508
- /** Data format for response. */
3509
- alt?: 'json' | 'media' | 'proto';
3510
- /** JSONP */
3511
- callback?: string;
3512
- /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
3513
- extraLocationTypes?: string | string[];
3514
- /** Selector specifying which fields to include in a partial response. */
3515
- fields?: string;
3516
- /** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
3517
- filter?: string;
3518
- /** 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. */
3519
- key?: string;
3520
- /** The resource that owns the locations collection, if applicable. */
3521
- name: string;
3522
- /** OAuth 2.0 token for the current user. */
3523
- oauth_token?: string;
3524
- /** The maximum number of results to return. If not set, the service selects a default. */
3525
- pageSize?: number;
3526
- /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
3527
- pageToken?: string;
3528
- /** Returns response with indentations and line breaks. */
3529
- prettyPrint?: boolean;
3530
- /** 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. */
3531
- quotaUser?: string;
3532
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3533
- upload_protocol?: string;
3534
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3535
- uploadType?: string;
3536
- }): Request<ListLocationsResponse>;
3537
- global: GlobalResource;
3538
- networkMonitoringProviders: NetworkMonitoringProvidersResource;
3539
- vpcFlowLogsConfigs: VpcFlowLogsConfigsResource;
3540
- }
3541
- interface ProjectsResource {
3542
- locations: LocationsResource;
3543
- }
3544
-
3545
- const organizations: OrganizationsResource;
3546
-
3547
- const projects: ProjectsResource;
2220
+ }): Request<ListLocationsResponse>;
2221
+ global: {
2222
+ connectivityTests: {
2223
+ /** Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. If the endpoint specifications in `ConnectivityTest` are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of `AMBIGUOUS`. For more information, see the Connectivity Test documentation. */
2224
+ create(request: {
2225
+ /** V1 error format. */
2226
+ '$.xgafv'?: '1' | '2';
2227
+ /** OAuth access token. */
2228
+ access_token?: string;
2229
+ /** Data format for response. */
2230
+ alt?: 'json' | 'media' | 'proto';
2231
+ /** JSONP */
2232
+ callback?: string;
2233
+ /** Selector specifying which fields to include in a partial response. */
2234
+ fields?: string;
2235
+ /** 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. */
2236
+ key?: string;
2237
+ /** OAuth 2.0 token for the current user. */
2238
+ oauth_token?: string;
2239
+ /** Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global` */
2240
+ parent: string;
2241
+ /** Returns response with indentations and line breaks. */
2242
+ prettyPrint?: boolean;
2243
+ /** 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. */
2244
+ quotaUser?: string;
2245
+ /** Required. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project */
2246
+ testId?: string;
2247
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2248
+ upload_protocol?: string;
2249
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2250
+ uploadType?: string;
2251
+ /** Request body */
2252
+ resource: ConnectivityTest;
2253
+ }): Request<Operation>;
2254
+ create(
2255
+ request: {
2256
+ /** V1 error format. */
2257
+ '$.xgafv'?: '1' | '2';
2258
+ /** OAuth access token. */
2259
+ access_token?: string;
2260
+ /** Data format for response. */
2261
+ alt?: 'json' | 'media' | 'proto';
2262
+ /** JSONP */
2263
+ callback?: string;
2264
+ /** Selector specifying which fields to include in a partial response. */
2265
+ fields?: string;
2266
+ /** 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. */
2267
+ key?: string;
2268
+ /** OAuth 2.0 token for the current user. */
2269
+ oauth_token?: string;
2270
+ /** Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global` */
2271
+ parent: string;
2272
+ /** Returns response with indentations and line breaks. */
2273
+ prettyPrint?: boolean;
2274
+ /** 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. */
2275
+ quotaUser?: string;
2276
+ /** Required. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project */
2277
+ testId?: string;
2278
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2279
+ upload_protocol?: string;
2280
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2281
+ uploadType?: string;
2282
+ },
2283
+ body: ConnectivityTest,
2284
+ ): Request<Operation>;
2285
+ /** Deletes a specific `ConnectivityTest`. */
2286
+ delete(request?: {
2287
+ /** V1 error format. */
2288
+ '$.xgafv'?: '1' | '2';
2289
+ /** OAuth access token. */
2290
+ access_token?: string;
2291
+ /** Data format for response. */
2292
+ alt?: 'json' | 'media' | 'proto';
2293
+ /** JSONP */
2294
+ callback?: string;
2295
+ /** Selector specifying which fields to include in a partial response. */
2296
+ fields?: string;
2297
+ /** 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. */
2298
+ key?: string;
2299
+ /** Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
2300
+ name: string;
2301
+ /** OAuth 2.0 token for the current user. */
2302
+ oauth_token?: string;
2303
+ /** Returns response with indentations and line breaks. */
2304
+ prettyPrint?: boolean;
2305
+ /** 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. */
2306
+ quotaUser?: string;
2307
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2308
+ upload_protocol?: string;
2309
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2310
+ uploadType?: string;
2311
+ }): Request<Operation>;
2312
+ /** Gets the details of a specific Connectivity Test. */
2313
+ get(request?: {
2314
+ /** V1 error format. */
2315
+ '$.xgafv'?: '1' | '2';
2316
+ /** OAuth access token. */
2317
+ access_token?: string;
2318
+ /** Data format for response. */
2319
+ alt?: 'json' | 'media' | 'proto';
2320
+ /** JSONP */
2321
+ callback?: string;
2322
+ /** Selector specifying which fields to include in a partial response. */
2323
+ fields?: string;
2324
+ /** 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. */
2325
+ key?: string;
2326
+ /** Required. `ConnectivityTest` resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
2327
+ name: string;
2328
+ /** OAuth 2.0 token for the current user. */
2329
+ oauth_token?: string;
2330
+ /** Returns response with indentations and line breaks. */
2331
+ prettyPrint?: boolean;
2332
+ /** 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. */
2333
+ quotaUser?: string;
2334
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2335
+ upload_protocol?: string;
2336
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2337
+ uploadType?: string;
2338
+ }): Request<ConnectivityTest>;
2339
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2340
+ getIamPolicy(request?: {
2341
+ /** V1 error format. */
2342
+ '$.xgafv'?: '1' | '2';
2343
+ /** OAuth access token. */
2344
+ access_token?: string;
2345
+ /** Data format for response. */
2346
+ alt?: 'json' | 'media' | 'proto';
2347
+ /** JSONP */
2348
+ callback?: string;
2349
+ /** Selector specifying which fields to include in a partial response. */
2350
+ fields?: string;
2351
+ /** 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. */
2352
+ key?: string;
2353
+ /** OAuth 2.0 token for the current user. */
2354
+ oauth_token?: string;
2355
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
2356
+ 'options.requestedPolicyVersion'?: number;
2357
+ /** Returns response with indentations and line breaks. */
2358
+ prettyPrint?: boolean;
2359
+ /** 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. */
2360
+ quotaUser?: string;
2361
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
2362
+ resource: string;
2363
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2364
+ upload_protocol?: string;
2365
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2366
+ uploadType?: string;
2367
+ }): Request<Policy>;
2368
+ /** Lists all Connectivity Tests owned by a project. */
2369
+ list(request?: {
2370
+ /** V1 error format. */
2371
+ '$.xgafv'?: '1' | '2';
2372
+ /** OAuth access token. */
2373
+ access_token?: string;
2374
+ /** Data format for response. */
2375
+ alt?: 'json' | 'media' | 'proto';
2376
+ /** JSONP */
2377
+ callback?: string;
2378
+ /** Selector specifying which fields to include in a partial response. */
2379
+ fields?: string;
2380
+ /** Optional. Lists the `ConnectivityTests` that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form ` ` where operators: `<`, `>`, `<=`, `>=`, `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is roughly synonymous with equality). can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = "projects/proj-1/locations/global/connectivityTests/test-1 - Filter by labels: - Resources that have a key called `foo` labels.foo:* - Resources that have a key called `foo` whose value is `bar` labels.foo = bar */
2381
+ filter?: string;
2382
+ /** 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. */
2383
+ key?: string;
2384
+ /** OAuth 2.0 token for the current user. */
2385
+ oauth_token?: string;
2386
+ /** Optional. Field to use to sort the list. */
2387
+ orderBy?: string;
2388
+ /** Optional. Number of `ConnectivityTests` to return. */
2389
+ pageSize?: number;
2390
+ /** Optional. Page token from an earlier query, as returned in `next_page_token`. */
2391
+ pageToken?: string;
2392
+ /** Required. The parent resource of the Connectivity Tests: `projects/{project_id}/locations/global` */
2393
+ parent: string;
2394
+ /** Returns response with indentations and line breaks. */
2395
+ prettyPrint?: boolean;
2396
+ /** 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. */
2397
+ quotaUser?: string;
2398
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2399
+ upload_protocol?: string;
2400
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2401
+ uploadType?: string;
2402
+ }): Request<ListConnectivityTestsResponse>;
2403
+ /** Updates the configuration of an existing `ConnectivityTest`. After you update a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. The Reachability state in the test resource is updated with the new result. If the endpoint specifications in `ConnectivityTest` are invalid (for example, they contain non-existent resources in the network, or the user does not have read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of `AMBIGUOUS`. See the documentation in `ConnectivityTest` for more details. */
2404
+ patch(request: {
2405
+ /** V1 error format. */
2406
+ '$.xgafv'?: '1' | '2';
2407
+ /** OAuth access token. */
2408
+ access_token?: string;
2409
+ /** Data format for response. */
2410
+ alt?: 'json' | 'media' | 'proto';
2411
+ /** JSONP */
2412
+ callback?: string;
2413
+ /** Selector specifying which fields to include in a partial response. */
2414
+ fields?: string;
2415
+ /** 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. */
2416
+ key?: string;
2417
+ /** Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
2418
+ name: string;
2419
+ /** OAuth 2.0 token for the current user. */
2420
+ oauth_token?: string;
2421
+ /** Returns response with indentations and line breaks. */
2422
+ prettyPrint?: boolean;
2423
+ /** 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. */
2424
+ quotaUser?: string;
2425
+ /** Required. Mask of fields to update. At least one path must be supplied in this field. */
2426
+ updateMask?: string;
2427
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2428
+ upload_protocol?: string;
2429
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2430
+ uploadType?: string;
2431
+ /** Request body */
2432
+ resource: ConnectivityTest;
2433
+ }): Request<Operation>;
2434
+ patch(
2435
+ request: {
2436
+ /** V1 error format. */
2437
+ '$.xgafv'?: '1' | '2';
2438
+ /** OAuth access token. */
2439
+ access_token?: string;
2440
+ /** Data format for response. */
2441
+ alt?: 'json' | 'media' | 'proto';
2442
+ /** JSONP */
2443
+ callback?: string;
2444
+ /** Selector specifying which fields to include in a partial response. */
2445
+ fields?: string;
2446
+ /** 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. */
2447
+ key?: string;
2448
+ /** Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
2449
+ name: string;
2450
+ /** OAuth 2.0 token for the current user. */
2451
+ oauth_token?: string;
2452
+ /** Returns response with indentations and line breaks. */
2453
+ prettyPrint?: boolean;
2454
+ /** 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. */
2455
+ quotaUser?: string;
2456
+ /** Required. Mask of fields to update. At least one path must be supplied in this field. */
2457
+ updateMask?: string;
2458
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2459
+ upload_protocol?: string;
2460
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2461
+ uploadType?: string;
2462
+ },
2463
+ body: ConnectivityTest,
2464
+ ): Request<Operation>;
2465
+ /** Rerun an existing `ConnectivityTest`. After the user triggers the rerun, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. Even though the test configuration remains the same, the reachability result may change due to underlying network configuration changes. If the endpoint specifications in `ConnectivityTest` become invalid (for example, specified resources are deleted in the network, or you lost read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. */
2466
+ rerun(request: {
2467
+ /** V1 error format. */
2468
+ '$.xgafv'?: '1' | '2';
2469
+ /** OAuth access token. */
2470
+ access_token?: string;
2471
+ /** Data format for response. */
2472
+ alt?: 'json' | 'media' | 'proto';
2473
+ /** JSONP */
2474
+ callback?: string;
2475
+ /** Selector specifying which fields to include in a partial response. */
2476
+ fields?: string;
2477
+ /** 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. */
2478
+ key?: string;
2479
+ /** Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
2480
+ name: string;
2481
+ /** OAuth 2.0 token for the current user. */
2482
+ oauth_token?: string;
2483
+ /** Returns response with indentations and line breaks. */
2484
+ prettyPrint?: boolean;
2485
+ /** 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. */
2486
+ quotaUser?: string;
2487
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2488
+ upload_protocol?: string;
2489
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2490
+ uploadType?: string;
2491
+ /** Request body */
2492
+ resource: RerunConnectivityTestRequest;
2493
+ }): Request<Operation>;
2494
+ rerun(
2495
+ request: {
2496
+ /** V1 error format. */
2497
+ '$.xgafv'?: '1' | '2';
2498
+ /** OAuth access token. */
2499
+ access_token?: string;
2500
+ /** Data format for response. */
2501
+ alt?: 'json' | 'media' | 'proto';
2502
+ /** JSONP */
2503
+ callback?: string;
2504
+ /** Selector specifying which fields to include in a partial response. */
2505
+ fields?: string;
2506
+ /** 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. */
2507
+ key?: string;
2508
+ /** Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
2509
+ name: string;
2510
+ /** OAuth 2.0 token for the current user. */
2511
+ oauth_token?: string;
2512
+ /** Returns response with indentations and line breaks. */
2513
+ prettyPrint?: boolean;
2514
+ /** 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. */
2515
+ quotaUser?: string;
2516
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2517
+ upload_protocol?: string;
2518
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2519
+ uploadType?: string;
2520
+ },
2521
+ body: RerunConnectivityTestRequest,
2522
+ ): Request<Operation>;
2523
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2524
+ setIamPolicy(
2525
+ request: {
2526
+ /** V1 error format. */
2527
+ '$.xgafv'?: '1' | '2';
2528
+ /** OAuth access token. */
2529
+ access_token?: string;
2530
+ /** Data format for response. */
2531
+ alt?: 'json' | 'media' | 'proto';
2532
+ /** JSONP */
2533
+ callback?: string;
2534
+ /** Selector specifying which fields to include in a partial response. */
2535
+ fields?: string;
2536
+ /** 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. */
2537
+ key?: string;
2538
+ /** OAuth 2.0 token for the current user. */
2539
+ oauth_token?: string;
2540
+ /** Returns response with indentations and line breaks. */
2541
+ prettyPrint?: boolean;
2542
+ /** 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. */
2543
+ quotaUser?: string;
2544
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
2545
+ resource: string;
2546
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2547
+ upload_protocol?: string;
2548
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2549
+ uploadType?: string;
2550
+ },
2551
+ body: SetIamPolicyRequest,
2552
+ ): Request<Policy>;
2553
+ /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
2554
+ testIamPermissions(
2555
+ request: {
2556
+ /** V1 error format. */
2557
+ '$.xgafv'?: '1' | '2';
2558
+ /** OAuth access token. */
2559
+ access_token?: string;
2560
+ /** Data format for response. */
2561
+ alt?: 'json' | 'media' | 'proto';
2562
+ /** JSONP */
2563
+ callback?: string;
2564
+ /** Selector specifying which fields to include in a partial response. */
2565
+ fields?: string;
2566
+ /** 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. */
2567
+ key?: string;
2568
+ /** OAuth 2.0 token for the current user. */
2569
+ oauth_token?: string;
2570
+ /** Returns response with indentations and line breaks. */
2571
+ prettyPrint?: boolean;
2572
+ /** 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. */
2573
+ quotaUser?: string;
2574
+ /** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
2575
+ resource: string;
2576
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2577
+ upload_protocol?: string;
2578
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2579
+ uploadType?: string;
2580
+ },
2581
+ body: TestIamPermissionsRequest,
2582
+ ): Request<TestIamPermissionsResponse>;
2583
+ };
2584
+ operations: {
2585
+ /** 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`. */
2586
+ cancel(request: {
2587
+ /** V1 error format. */
2588
+ '$.xgafv'?: '1' | '2';
2589
+ /** OAuth access token. */
2590
+ access_token?: string;
2591
+ /** Data format for response. */
2592
+ alt?: 'json' | 'media' | 'proto';
2593
+ /** JSONP */
2594
+ callback?: string;
2595
+ /** Selector specifying which fields to include in a partial response. */
2596
+ fields?: string;
2597
+ /** 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. */
2598
+ key?: string;
2599
+ /** The name of the operation resource to be cancelled. */
2600
+ name: string;
2601
+ /** OAuth 2.0 token for the current user. */
2602
+ oauth_token?: string;
2603
+ /** Returns response with indentations and line breaks. */
2604
+ prettyPrint?: boolean;
2605
+ /** 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. */
2606
+ quotaUser?: string;
2607
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2608
+ upload_protocol?: string;
2609
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2610
+ uploadType?: string;
2611
+ /** Request body */
2612
+ resource: CancelOperationRequest;
2613
+ }): Request<{}>;
2614
+ cancel(
2615
+ request: {
2616
+ /** V1 error format. */
2617
+ '$.xgafv'?: '1' | '2';
2618
+ /** OAuth access token. */
2619
+ access_token?: string;
2620
+ /** Data format for response. */
2621
+ alt?: 'json' | 'media' | 'proto';
2622
+ /** JSONP */
2623
+ callback?: string;
2624
+ /** Selector specifying which fields to include in a partial response. */
2625
+ fields?: string;
2626
+ /** 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. */
2627
+ key?: string;
2628
+ /** The name of the operation resource to be cancelled. */
2629
+ name: string;
2630
+ /** OAuth 2.0 token for the current user. */
2631
+ oauth_token?: string;
2632
+ /** Returns response with indentations and line breaks. */
2633
+ prettyPrint?: boolean;
2634
+ /** 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. */
2635
+ quotaUser?: string;
2636
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2637
+ upload_protocol?: string;
2638
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2639
+ uploadType?: string;
2640
+ },
2641
+ body: CancelOperationRequest,
2642
+ ): Request<{}>;
2643
+ /** 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 support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
2644
+ delete(request?: {
2645
+ /** V1 error format. */
2646
+ '$.xgafv'?: '1' | '2';
2647
+ /** OAuth access token. */
2648
+ access_token?: string;
2649
+ /** Data format for response. */
2650
+ alt?: 'json' | 'media' | 'proto';
2651
+ /** JSONP */
2652
+ callback?: string;
2653
+ /** Selector specifying which fields to include in a partial response. */
2654
+ fields?: string;
2655
+ /** 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. */
2656
+ key?: string;
2657
+ /** The name of the operation resource to be deleted. */
2658
+ name: string;
2659
+ /** OAuth 2.0 token for the current user. */
2660
+ oauth_token?: string;
2661
+ /** Returns response with indentations and line breaks. */
2662
+ prettyPrint?: boolean;
2663
+ /** 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. */
2664
+ quotaUser?: string;
2665
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2666
+ upload_protocol?: string;
2667
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2668
+ uploadType?: string;
2669
+ }): Request<{}>;
2670
+ /** 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. */
2671
+ get(request?: {
2672
+ /** V1 error format. */
2673
+ '$.xgafv'?: '1' | '2';
2674
+ /** OAuth access token. */
2675
+ access_token?: string;
2676
+ /** Data format for response. */
2677
+ alt?: 'json' | 'media' | 'proto';
2678
+ /** JSONP */
2679
+ callback?: string;
2680
+ /** Selector specifying which fields to include in a partial response. */
2681
+ fields?: string;
2682
+ /** 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. */
2683
+ key?: string;
2684
+ /** The name of the operation resource. */
2685
+ name: string;
2686
+ /** OAuth 2.0 token for the current user. */
2687
+ oauth_token?: string;
2688
+ /** Returns response with indentations and line breaks. */
2689
+ prettyPrint?: boolean;
2690
+ /** 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. */
2691
+ quotaUser?: string;
2692
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2693
+ upload_protocol?: string;
2694
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2695
+ uploadType?: string;
2696
+ }): Request<Operation>;
2697
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
2698
+ list(request?: {
2699
+ /** V1 error format. */
2700
+ '$.xgafv'?: '1' | '2';
2701
+ /** OAuth access token. */
2702
+ access_token?: string;
2703
+ /** Data format for response. */
2704
+ alt?: 'json' | 'media' | 'proto';
2705
+ /** JSONP */
2706
+ callback?: string;
2707
+ /** Selector specifying which fields to include in a partial response. */
2708
+ fields?: string;
2709
+ /** The standard list filter. */
2710
+ filter?: string;
2711
+ /** 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. */
2712
+ key?: string;
2713
+ /** The name of the operation's parent resource. */
2714
+ name: string;
2715
+ /** OAuth 2.0 token for the current user. */
2716
+ oauth_token?: string;
2717
+ /** The standard list page size. */
2718
+ pageSize?: number;
2719
+ /** The standard list page token. */
2720
+ pageToken?: string;
2721
+ /** Returns response with indentations and line breaks. */
2722
+ prettyPrint?: boolean;
2723
+ /** 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. */
2724
+ quotaUser?: string;
2725
+ /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
2726
+ returnPartialSuccess?: boolean;
2727
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2728
+ upload_protocol?: string;
2729
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2730
+ uploadType?: string;
2731
+ }): Request<ListOperationsResponse>;
2732
+ };
2733
+ };
2734
+ networkMonitoringProviders: {
2735
+ /** Creates a NetworkMonitoringProvider resource. */
2736
+ create(request: {
2737
+ /** V1 error format. */
2738
+ '$.xgafv'?: '1' | '2';
2739
+ /** OAuth access token. */
2740
+ access_token?: string;
2741
+ /** Data format for response. */
2742
+ alt?: 'json' | 'media' | 'proto';
2743
+ /** JSONP */
2744
+ callback?: string;
2745
+ /** Selector specifying which fields to include in a partial response. */
2746
+ fields?: string;
2747
+ /** 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. */
2748
+ key?: string;
2749
+ /** Required. The ID to use for the NetworkMonitoringProvider resource, which will become the final component of the NetworkMonitoringProvider resource's name. */
2750
+ networkMonitoringProviderId?: string;
2751
+ /** OAuth 2.0 token for the current user. */
2752
+ oauth_token?: string;
2753
+ /** Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: projects/{project}/locations/{location} */
2754
+ parent: string;
2755
+ /** Returns response with indentations and line breaks. */
2756
+ prettyPrint?: boolean;
2757
+ /** 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. */
2758
+ quotaUser?: string;
2759
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2760
+ upload_protocol?: string;
2761
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2762
+ uploadType?: string;
2763
+ /** Request body */
2764
+ resource: NetworkMonitoringProvider;
2765
+ }): Request<Operation>;
2766
+ create(
2767
+ request: {
2768
+ /** V1 error format. */
2769
+ '$.xgafv'?: '1' | '2';
2770
+ /** OAuth access token. */
2771
+ access_token?: string;
2772
+ /** Data format for response. */
2773
+ alt?: 'json' | 'media' | 'proto';
2774
+ /** JSONP */
2775
+ callback?: string;
2776
+ /** Selector specifying which fields to include in a partial response. */
2777
+ fields?: string;
2778
+ /** 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. */
2779
+ key?: string;
2780
+ /** Required. The ID to use for the NetworkMonitoringProvider resource, which will become the final component of the NetworkMonitoringProvider resource's name. */
2781
+ networkMonitoringProviderId?: string;
2782
+ /** OAuth 2.0 token for the current user. */
2783
+ oauth_token?: string;
2784
+ /** Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: projects/{project}/locations/{location} */
2785
+ parent: string;
2786
+ /** Returns response with indentations and line breaks. */
2787
+ prettyPrint?: boolean;
2788
+ /** 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. */
2789
+ quotaUser?: string;
2790
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2791
+ upload_protocol?: string;
2792
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2793
+ uploadType?: string;
2794
+ },
2795
+ body: NetworkMonitoringProvider,
2796
+ ): Request<Operation>;
2797
+ /** Deletes a NetworkMonitoringProvider resource and all of its child resources. */
2798
+ delete(request?: {
2799
+ /** V1 error format. */
2800
+ '$.xgafv'?: '1' | '2';
2801
+ /** OAuth access token. */
2802
+ access_token?: string;
2803
+ /** Data format for response. */
2804
+ alt?: 'json' | 'media' | 'proto';
2805
+ /** JSONP */
2806
+ callback?: string;
2807
+ /** Selector specifying which fields to include in a partial response. */
2808
+ fields?: string;
2809
+ /** Optional. If set to true, any nested MonitoringPoints, NetworkPaths and WebPaths resources from this NetworkMonitoringProvider will also be deleted. Otherwise, the request will only work if there are no nested resources. */
2810
+ force?: boolean;
2811
+ /** 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. */
2812
+ key?: string;
2813
+ /** Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
2814
+ name: string;
2815
+ /** OAuth 2.0 token for the current user. */
2816
+ oauth_token?: string;
2817
+ /** Returns response with indentations and line breaks. */
2818
+ prettyPrint?: boolean;
2819
+ /** 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. */
2820
+ quotaUser?: string;
2821
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2822
+ upload_protocol?: string;
2823
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2824
+ uploadType?: string;
2825
+ }): Request<Operation>;
2826
+ /** Generates Monitoring Point configuration of a NetworkMonitoringProvider resource. */
2827
+ generateMonitoringPointConfig(request?: {
2828
+ /** V1 error format. */
2829
+ '$.xgafv'?: '1' | '2';
2830
+ /** OAuth access token. */
2831
+ access_token?: string;
2832
+ /** Data format for response. */
2833
+ alt?: 'json' | 'media' | 'proto';
2834
+ /** JSONP */
2835
+ callback?: string;
2836
+ /** Selector specifying which fields to include in a partial response. */
2837
+ fields?: string;
2838
+ /** 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. */
2839
+ key?: string;
2840
+ /** Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
2841
+ name: string;
2842
+ /** OAuth 2.0 token for the current user. */
2843
+ oauth_token?: string;
2844
+ /** Returns response with indentations and line breaks. */
2845
+ prettyPrint?: boolean;
2846
+ /** Optional. For Google Cloud MPs, this field indicates whether the Monitoring Point is deployed in a Private Service Connect deployment. Not used for non-Google Cloud MPs. */
2847
+ privateConnectivityEnabled?: boolean;
2848
+ /** 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. */
2849
+ quotaUser?: string;
2850
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2851
+ upload_protocol?: string;
2852
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2853
+ uploadType?: string;
2854
+ }): Request<GenerateMonitoringPointConfigResponse>;
2855
+ /** Generates a provider access token for a given Google access token. Provider access token is a short-lived token that is used to access resources in the provider's platform. */
2856
+ generateProviderAccessToken(request?: {
2857
+ /** V1 error format. */
2858
+ '$.xgafv'?: '1' | '2';
2859
+ /** OAuth access token. */
2860
+ access_token?: string;
2861
+ /** Data format for response. */
2862
+ alt?: 'json' | 'media' | 'proto';
2863
+ /** JSONP */
2864
+ callback?: string;
2865
+ /** Selector specifying which fields to include in a partial response. */
2866
+ fields?: string;
2867
+ /** Required. Google access token. */
2868
+ gcpAccessToken?: string;
2869
+ /** 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. */
2870
+ key?: string;
2871
+ /** Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
2872
+ name: string;
2873
+ /** OAuth 2.0 token for the current user. */
2874
+ oauth_token?: string;
2875
+ /** Returns response with indentations and line breaks. */
2876
+ prettyPrint?: boolean;
2877
+ /** 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. */
2878
+ quotaUser?: string;
2879
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2880
+ upload_protocol?: string;
2881
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2882
+ uploadType?: string;
2883
+ }): Request<GenerateProviderAccessTokenResponse>;
2884
+ /** Gets the NetworkMonitoringProvider resource. */
2885
+ get(request?: {
2886
+ /** V1 error format. */
2887
+ '$.xgafv'?: '1' | '2';
2888
+ /** OAuth access token. */
2889
+ access_token?: string;
2890
+ /** Data format for response. */
2891
+ alt?: 'json' | 'media' | 'proto';
2892
+ /** JSONP */
2893
+ callback?: string;
2894
+ /** Selector specifying which fields to include in a partial response. */
2895
+ fields?: string;
2896
+ /** 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. */
2897
+ key?: string;
2898
+ /** Required. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}` */
2899
+ name: string;
2900
+ /** OAuth 2.0 token for the current user. */
2901
+ oauth_token?: string;
2902
+ /** Returns response with indentations and line breaks. */
2903
+ prettyPrint?: boolean;
2904
+ /** 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. */
2905
+ quotaUser?: string;
2906
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2907
+ upload_protocol?: string;
2908
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2909
+ uploadType?: string;
2910
+ }): Request<NetworkMonitoringProvider>;
2911
+ /** Lists NetworkMonitoringProviders for a given project and location. */
2912
+ list(request?: {
2913
+ /** V1 error format. */
2914
+ '$.xgafv'?: '1' | '2';
2915
+ /** OAuth access token. */
2916
+ access_token?: string;
2917
+ /** Data format for response. */
2918
+ alt?: 'json' | 'media' | 'proto';
2919
+ /** JSONP */
2920
+ callback?: string;
2921
+ /** Selector specifying which fields to include in a partial response. */
2922
+ fields?: string;
2923
+ /** 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. */
2924
+ key?: string;
2925
+ /** OAuth 2.0 token for the current user. */
2926
+ oauth_token?: string;
2927
+ /** Optional. The maximum number of monitoring points to return. The service may return fewer than this value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
2928
+ pageSize?: number;
2929
+ /** Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMonitoringPoints` must match the call that provided the page token. */
2930
+ pageToken?: string;
2931
+ /** Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: `projects/{project}/locations/{location}` */
2932
+ parent: string;
2933
+ /** Returns response with indentations and line breaks. */
2934
+ prettyPrint?: boolean;
2935
+ /** 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. */
2936
+ quotaUser?: string;
2937
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2938
+ upload_protocol?: string;
2939
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2940
+ uploadType?: string;
2941
+ }): Request<ListNetworkMonitoringProvidersResponse>;
2942
+ monitoringPoints: {
2943
+ /** Downloads an install script for MonitoringPoints for a given network monitoring provider. */
2944
+ downloadInstallScript(request?: {
2945
+ /** Optional. Password for logging into the MonitoringPoint. */
2946
+ _password?: string;
2947
+ /** V1 error format. */
2948
+ '$.xgafv'?: '1' | '2';
2949
+ /** OAuth access token. */
2950
+ access_token?: string;
2951
+ /** Data format for response. */
2952
+ alt?: 'json' | 'media' | 'proto';
2953
+ /** JSONP */
2954
+ callback?: string;
2955
+ /** Optional. Specifies the deployment type for Cloud Monitoring Points. Supported values: `TERRAFORM` for `GCE_VM`; `BICEP` or `TERRAFORM` for `AZURE_VM`; and `CLOUD_FORMATION` or `TERRAFORM` for `AWS_EC2`. If unspecified, defaults to `TERRAFORM`, `BICEP`, and `CLOUD_FORMATION`, respectively. Leave it unspecified for other types. */
2956
+ cloudDeploymentType?:
2957
+ | 'CLOUD_DEPLOYMENT_TYPE_UNSPECIFIED'
2958
+ | 'TERRAFORM'
2959
+ | 'CLOUD_FORMATION'
2960
+ | 'BICEP';
2961
+ /** Selector specifying which fields to include in a partial response. */
2962
+ fields?: string;
2963
+ /** Required. The hostname of the MonitoringPoint, e.g. "test-vm" */
2964
+ hostname?: string;
2965
+ /** 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. */
2966
+ key?: string;
2967
+ /** Required. The type of the monitoring point. */
2968
+ monitoringPointType?:
2969
+ | 'MONITORING_POINT_TYPE_UNSPECIFIED'
2970
+ | 'CONTAINER'
2971
+ | 'KVM'
2972
+ | 'VMWARE'
2973
+ | 'HELM'
2974
+ | 'GCE_VM'
2975
+ | 'AZURE_VM'
2976
+ | 'AWS_EC2';
2977
+ /** Optional. Network Time Protocol a user can configure. If the user omits the field, the default is either NTP servers provided in the DHCP lease or a set of well-known NTP servers pre-configured on the monitoring point. This field can be an IP address or FQDN. */
2978
+ ntpServerAddress?: string;
2979
+ /** Optional. Second NTP server. */
2980
+ ntpServerSecondaryAddress?: string;
2981
+ /** OAuth 2.0 token for the current user. */
2982
+ oauth_token?: string;
2983
+ /** Required. Parent value for DownloadInstallScriptRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
2984
+ parent: string;
2985
+ /** Returns response with indentations and line breaks. */
2986
+ prettyPrint?: boolean;
2987
+ /** Optional. For Google Cloud MPs, this field indicates whether the Monitoring Point is deployed in a Private Service Connect deployment. Not used for non-Google Cloud MPs. */
2988
+ privateConnectivityEnabled?: boolean;
2989
+ /** 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. */
2990
+ quotaUser?: string;
2991
+ /** Required. DNS server. */
2992
+ 'staticIpAddress.dnsServerAddress'?: string;
2993
+ /** Optional. Second DNS server. */
2994
+ 'staticIpAddress.dnsServerSecondaryAddress'?: string;
2995
+ /** Optional. Domain name of the MonitoringPoint. */
2996
+ 'staticIpAddress.domain'?: string;
2997
+ /** Required. Gateway IP address. Example: "100.80.40.1". */
2998
+ 'staticIpAddress.gatewayAddress'?: string;
2999
+ /** Required. IP address of the MonitoringPoint. */
3000
+ 'staticIpAddress.ipAddress'?: string;
3001
+ /** Optional. Networkmask and CIDR range. Example: "255.255.255.0/24" */
3002
+ 'staticIpAddress.netmask'?: string;
3003
+ /** IANA Time Zone Database time zone. For example "America/New_York". */
3004
+ 'timeZone.id'?: string;
3005
+ /** Optional. IANA Time Zone Database version number. For example "2019a". */
3006
+ 'timeZone.version'?: string;
3007
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3008
+ upload_protocol?: string;
3009
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3010
+ uploadType?: string;
3011
+ /** Optional. Dynamic Host Configuration Protocol, is a network management protocol that automatically assigns IP addresses and other network configuration parameters to devices connecting to a network. */
3012
+ useDhcp?: boolean;
3013
+ }): Request<HttpBody>;
3014
+ /** Downloads an install script for a specific Container MonitoringPoint. */
3015
+ downloadRecreateInstallScript(request?: {
3016
+ /** V1 error format. */
3017
+ '$.xgafv'?: '1' | '2';
3018
+ /** OAuth access token. */
3019
+ access_token?: string;
3020
+ /** Data format for response. */
3021
+ alt?: 'json' | 'media' | 'proto';
3022
+ /** JSONP */
3023
+ callback?: string;
3024
+ /** Selector specifying which fields to include in a partial response. */
3025
+ fields?: string;
3026
+ /** Optional. The hostname of the MonitoringPoint, e.g. "test-vm" */
3027
+ hostname?: string;
3028
+ /** 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. */
3029
+ key?: string;
3030
+ /** Required. Resource name of the MonitoringPoint. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point} */
3031
+ name: string;
3032
+ /** OAuth 2.0 token for the current user. */
3033
+ oauth_token?: string;
3034
+ /** Returns response with indentations and line breaks. */
3035
+ prettyPrint?: boolean;
3036
+ /** 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. */
3037
+ quotaUser?: string;
3038
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3039
+ upload_protocol?: string;
3040
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3041
+ uploadType?: string;
3042
+ }): Request<HttpBody>;
3043
+ /** Downloads the server connect configuration for a given network monitoring provider. */
3044
+ downloadServerConnectConfig(request?: {
3045
+ /** V1 error format. */
3046
+ '$.xgafv'?: '1' | '2';
3047
+ /** OAuth access token. */
3048
+ access_token?: string;
3049
+ /** Data format for response. */
3050
+ alt?: 'json' | 'media' | 'proto';
3051
+ /** JSONP */
3052
+ callback?: string;
3053
+ /** Selector specifying which fields to include in a partial response. */
3054
+ fields?: string;
3055
+ /** 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. */
3056
+ key?: string;
3057
+ /** OAuth 2.0 token for the current user. */
3058
+ oauth_token?: string;
3059
+ /** Required. Parent value for DownloadServerConnectConfigRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
3060
+ parent: string;
3061
+ /** Returns response with indentations and line breaks. */
3062
+ prettyPrint?: boolean;
3063
+ /** 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. */
3064
+ quotaUser?: string;
3065
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3066
+ upload_protocol?: string;
3067
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3068
+ uploadType?: string;
3069
+ }): Request<HttpBody>;
3070
+ /** Gets the MonitoringPoint resource. */
3071
+ get(request?: {
3072
+ /** V1 error format. */
3073
+ '$.xgafv'?: '1' | '2';
3074
+ /** OAuth access token. */
3075
+ access_token?: string;
3076
+ /** Data format for response. */
3077
+ alt?: 'json' | 'media' | 'proto';
3078
+ /** JSONP */
3079
+ callback?: string;
3080
+ /** Selector specifying which fields to include in a partial response. */
3081
+ fields?: string;
3082
+ /** 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. */
3083
+ key?: string;
3084
+ /** Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point} */
3085
+ name: string;
3086
+ /** OAuth 2.0 token for the current user. */
3087
+ oauth_token?: string;
3088
+ /** Returns response with indentations and line breaks. */
3089
+ prettyPrint?: boolean;
3090
+ /** 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. */
3091
+ quotaUser?: string;
3092
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3093
+ upload_protocol?: string;
3094
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3095
+ uploadType?: string;
3096
+ }): Request<MonitoringPoint>;
3097
+ /** Lists MonitoringPoints for a given network monitoring provider. */
3098
+ list(request?: {
3099
+ /** V1 error format. */
3100
+ '$.xgafv'?: '1' | '2';
3101
+ /** OAuth access token. */
3102
+ access_token?: string;
3103
+ /** Data format for response. */
3104
+ alt?: 'json' | 'media' | 'proto';
3105
+ /** JSONP */
3106
+ callback?: string;
3107
+ /** Selector specifying which fields to include in a partial response. */
3108
+ fields?: string;
3109
+ /** 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. */
3110
+ key?: string;
3111
+ /** OAuth 2.0 token for the current user. */
3112
+ oauth_token?: string;
3113
+ /** Optional. The maximum number of monitoring points to return. The service may return fewer than this value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
3114
+ pageSize?: number;
3115
+ /** Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMonitoringPoints` must match the call that provided the page token. */
3116
+ pageToken?: string;
3117
+ /** Required. Parent value for ListMonitoringPointsRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
3118
+ parent: string;
3119
+ /** Returns response with indentations and line breaks. */
3120
+ prettyPrint?: boolean;
3121
+ /** 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. */
3122
+ quotaUser?: string;
3123
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3124
+ upload_protocol?: string;
3125
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3126
+ uploadType?: string;
3127
+ }): Request<ListMonitoringPointsResponse>;
3128
+ };
3129
+ networkPaths: {
3130
+ /** Gets the NetworkPath resource. */
3131
+ get(request?: {
3132
+ /** V1 error format. */
3133
+ '$.xgafv'?: '1' | '2';
3134
+ /** OAuth access token. */
3135
+ access_token?: string;
3136
+ /** Data format for response. */
3137
+ alt?: 'json' | 'media' | 'proto';
3138
+ /** JSONP */
3139
+ callback?: string;
3140
+ /** Selector specifying which fields to include in a partial response. */
3141
+ fields?: string;
3142
+ /** 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. */
3143
+ key?: string;
3144
+ /** Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/networkPaths/{network_path} */
3145
+ name: string;
3146
+ /** OAuth 2.0 token for the current user. */
3147
+ oauth_token?: string;
3148
+ /** Returns response with indentations and line breaks. */
3149
+ prettyPrint?: boolean;
3150
+ /** 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. */
3151
+ quotaUser?: string;
3152
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3153
+ upload_protocol?: string;
3154
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3155
+ uploadType?: string;
3156
+ }): Request<NetworkPath>;
3157
+ /** Lists NetworkPaths for a given network monitoring provider. */
3158
+ list(request?: {
3159
+ /** V1 error format. */
3160
+ '$.xgafv'?: '1' | '2';
3161
+ /** OAuth access token. */
3162
+ access_token?: string;
3163
+ /** Data format for response. */
3164
+ alt?: 'json' | 'media' | 'proto';
3165
+ /** JSONP */
3166
+ callback?: string;
3167
+ /** Selector specifying which fields to include in a partial response. */
3168
+ fields?: string;
3169
+ /** 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. */
3170
+ key?: string;
3171
+ /** OAuth 2.0 token for the current user. */
3172
+ oauth_token?: string;
3173
+ /** Optional. The maximum number of network paths to return. The service may return fewer than this value. If unspecified, at most 20 network pathswill be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
3174
+ pageSize?: number;
3175
+ /** Optional. A page token, received from a previous `ListNetworkPaths` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNetworkPaths` must match the call that provided the page token. */
3176
+ pageToken?: string;
3177
+ /** Required. Parent value for ListNetworkPathsRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
3178
+ parent: string;
3179
+ /** Returns response with indentations and line breaks. */
3180
+ prettyPrint?: boolean;
3181
+ /** 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. */
3182
+ quotaUser?: string;
3183
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3184
+ upload_protocol?: string;
3185
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3186
+ uploadType?: string;
3187
+ }): Request<ListNetworkPathsResponse>;
3188
+ };
3189
+ webPaths: {
3190
+ /** Gets the WebPath resource. */
3191
+ get(request?: {
3192
+ /** V1 error format. */
3193
+ '$.xgafv'?: '1' | '2';
3194
+ /** OAuth access token. */
3195
+ access_token?: string;
3196
+ /** Data format for response. */
3197
+ alt?: 'json' | 'media' | 'proto';
3198
+ /** JSONP */
3199
+ callback?: string;
3200
+ /** Selector specifying which fields to include in a partial response. */
3201
+ fields?: string;
3202
+ /** 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. */
3203
+ key?: string;
3204
+ /** Required. Name of the resource.. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/webPaths/{web_path} */
3205
+ name: string;
3206
+ /** OAuth 2.0 token for the current user. */
3207
+ oauth_token?: string;
3208
+ /** Returns response with indentations and line breaks. */
3209
+ prettyPrint?: boolean;
3210
+ /** 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. */
3211
+ quotaUser?: string;
3212
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3213
+ upload_protocol?: string;
3214
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3215
+ uploadType?: string;
3216
+ }): Request<WebPath>;
3217
+ /** Lists WebPaths for a given network monitoring provider. */
3218
+ list(request?: {
3219
+ /** V1 error format. */
3220
+ '$.xgafv'?: '1' | '2';
3221
+ /** OAuth access token. */
3222
+ access_token?: string;
3223
+ /** Data format for response. */
3224
+ alt?: 'json' | 'media' | 'proto';
3225
+ /** JSONP */
3226
+ callback?: string;
3227
+ /** Selector specifying which fields to include in a partial response. */
3228
+ fields?: string;
3229
+ /** 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. */
3230
+ key?: string;
3231
+ /** OAuth 2.0 token for the current user. */
3232
+ oauth_token?: string;
3233
+ /** Optional. The maximum number of web paths to return. The service may return fewer than this value. If unspecified, at most 20 web paths will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
3234
+ pageSize?: number;
3235
+ /** Optional. A page token, received from a previous `ListWebPaths` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWebPaths` must match the call that provided the page token. */
3236
+ pageToken?: string;
3237
+ /** Required. Parent value for ListWebPathsRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} */
3238
+ parent: string;
3239
+ /** Returns response with indentations and line breaks. */
3240
+ prettyPrint?: boolean;
3241
+ /** 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. */
3242
+ quotaUser?: string;
3243
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3244
+ upload_protocol?: string;
3245
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3246
+ uploadType?: string;
3247
+ }): Request<ListWebPathsResponse>;
3248
+ };
3249
+ };
3250
+ vpcFlowLogsConfigs: {
3251
+ /** 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 */
3252
+ create(request: {
3253
+ /** V1 error format. */
3254
+ '$.xgafv'?: '1' | '2';
3255
+ /** OAuth access token. */
3256
+ access_token?: string;
3257
+ /** Data format for response. */
3258
+ alt?: 'json' | 'media' | 'proto';
3259
+ /** JSONP */
3260
+ callback?: string;
3261
+ /** Selector specifying which fields to include in a partial response. */
3262
+ fields?: string;
3263
+ /** 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. */
3264
+ key?: string;
3265
+ /** OAuth 2.0 token for the current user. */
3266
+ oauth_token?: string;
3267
+ /** 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` */
3268
+ parent: string;
3269
+ /** Returns response with indentations and line breaks. */
3270
+ prettyPrint?: boolean;
3271
+ /** 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. */
3272
+ quotaUser?: string;
3273
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3274
+ upload_protocol?: string;
3275
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3276
+ uploadType?: string;
3277
+ /** Required. ID of the `VpcFlowLogsConfig`. */
3278
+ vpcFlowLogsConfigId?: string;
3279
+ /** Request body */
3280
+ resource: VpcFlowLogsConfig;
3281
+ }): Request<Operation>;
3282
+ create(
3283
+ request: {
3284
+ /** V1 error format. */
3285
+ '$.xgafv'?: '1' | '2';
3286
+ /** OAuth access token. */
3287
+ access_token?: string;
3288
+ /** Data format for response. */
3289
+ alt?: 'json' | 'media' | 'proto';
3290
+ /** JSONP */
3291
+ callback?: string;
3292
+ /** Selector specifying which fields to include in a partial response. */
3293
+ fields?: string;
3294
+ /** 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. */
3295
+ key?: string;
3296
+ /** OAuth 2.0 token for the current user. */
3297
+ oauth_token?: string;
3298
+ /** 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` */
3299
+ parent: string;
3300
+ /** Returns response with indentations and line breaks. */
3301
+ prettyPrint?: boolean;
3302
+ /** 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. */
3303
+ quotaUser?: string;
3304
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3305
+ upload_protocol?: string;
3306
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3307
+ uploadType?: string;
3308
+ /** Required. ID of the `VpcFlowLogsConfig`. */
3309
+ vpcFlowLogsConfigId?: string;
3310
+ },
3311
+ body: VpcFlowLogsConfig,
3312
+ ): Request<Operation>;
3313
+ /** Deletes a specific `VpcFlowLogsConfig`. */
3314
+ delete(request?: {
3315
+ /** V1 error format. */
3316
+ '$.xgafv'?: '1' | '2';
3317
+ /** OAuth access token. */
3318
+ access_token?: string;
3319
+ /** Data format for response. */
3320
+ alt?: 'json' | 'media' | 'proto';
3321
+ /** JSONP */
3322
+ callback?: string;
3323
+ /** Selector specifying which fields to include in a partial response. */
3324
+ fields?: string;
3325
+ /** 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. */
3326
+ key?: string;
3327
+ /** 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}` */
3328
+ name: string;
3329
+ /** OAuth 2.0 token for the current user. */
3330
+ oauth_token?: string;
3331
+ /** Returns response with indentations and line breaks. */
3332
+ prettyPrint?: boolean;
3333
+ /** 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. */
3334
+ quotaUser?: string;
3335
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3336
+ upload_protocol?: string;
3337
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3338
+ uploadType?: string;
3339
+ }): Request<Operation>;
3340
+ /** Gets the details of a specific `VpcFlowLogsConfig`. */
3341
+ get(request?: {
3342
+ /** V1 error format. */
3343
+ '$.xgafv'?: '1' | '2';
3344
+ /** OAuth access token. */
3345
+ access_token?: string;
3346
+ /** Data format for response. */
3347
+ alt?: 'json' | 'media' | 'proto';
3348
+ /** JSONP */
3349
+ callback?: string;
3350
+ /** Selector specifying which fields to include in a partial response. */
3351
+ fields?: string;
3352
+ /** 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. */
3353
+ key?: string;
3354
+ /** 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}` */
3355
+ name: string;
3356
+ /** OAuth 2.0 token for the current user. */
3357
+ oauth_token?: string;
3358
+ /** Returns response with indentations and line breaks. */
3359
+ prettyPrint?: boolean;
3360
+ /** 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. */
3361
+ quotaUser?: string;
3362
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3363
+ upload_protocol?: string;
3364
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3365
+ uploadType?: string;
3366
+ }): Request<VpcFlowLogsConfig>;
3367
+ /** Lists all `VpcFlowLogsConfigs` in a given project. */
3368
+ list(request?: {
3369
+ /** V1 error format. */
3370
+ '$.xgafv'?: '1' | '2';
3371
+ /** OAuth access token. */
3372
+ access_token?: string;
3373
+ /** Data format for response. */
3374
+ alt?: 'json' | 'media' | 'proto';
3375
+ /** JSONP */
3376
+ callback?: string;
3377
+ /** Selector specifying which fields to include in a partial response. */
3378
+ fields?: string;
3379
+ /** 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). */
3380
+ filter?: string;
3381
+ /** 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. */
3382
+ key?: string;
3383
+ /** OAuth 2.0 token for the current user. */
3384
+ oauth_token?: string;
3385
+ /** Optional. Field to use to sort the list. */
3386
+ orderBy?: string;
3387
+ /** Optional. Number of `VpcFlowLogsConfigs` to return. */
3388
+ pageSize?: number;
3389
+ /** Optional. Page token from an earlier query, as returned in `next_page_token`. */
3390
+ pageToken?: string;
3391
+ /** Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global` */
3392
+ parent: string;
3393
+ /** Returns response with indentations and line breaks. */
3394
+ prettyPrint?: boolean;
3395
+ /** 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. */
3396
+ quotaUser?: string;
3397
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3398
+ upload_protocol?: string;
3399
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3400
+ uploadType?: string;
3401
+ }): Request<ListVpcFlowLogsConfigsResponse>;
3402
+ /** 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 */
3403
+ patch(request: {
3404
+ /** V1 error format. */
3405
+ '$.xgafv'?: '1' | '2';
3406
+ /** OAuth access token. */
3407
+ access_token?: string;
3408
+ /** Data format for response. */
3409
+ alt?: 'json' | 'media' | 'proto';
3410
+ /** JSONP */
3411
+ callback?: string;
3412
+ /** Selector specifying which fields to include in a partial response. */
3413
+ fields?: string;
3414
+ /** 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. */
3415
+ key?: string;
3416
+ /** 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}` */
3417
+ name: string;
3418
+ /** OAuth 2.0 token for the current user. */
3419
+ oauth_token?: string;
3420
+ /** Returns response with indentations and line breaks. */
3421
+ prettyPrint?: boolean;
3422
+ /** 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. */
3423
+ quotaUser?: string;
3424
+ /** 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" }` */
3425
+ updateMask?: string;
3426
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3427
+ upload_protocol?: string;
3428
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3429
+ uploadType?: string;
3430
+ /** Request body */
3431
+ resource: VpcFlowLogsConfig;
3432
+ }): Request<Operation>;
3433
+ patch(
3434
+ request: {
3435
+ /** V1 error format. */
3436
+ '$.xgafv'?: '1' | '2';
3437
+ /** OAuth access token. */
3438
+ access_token?: string;
3439
+ /** Data format for response. */
3440
+ alt?: 'json' | 'media' | 'proto';
3441
+ /** JSONP */
3442
+ callback?: string;
3443
+ /** Selector specifying which fields to include in a partial response. */
3444
+ fields?: string;
3445
+ /** 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. */
3446
+ key?: string;
3447
+ /** 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}` */
3448
+ name: string;
3449
+ /** OAuth 2.0 token for the current user. */
3450
+ oauth_token?: string;
3451
+ /** Returns response with indentations and line breaks. */
3452
+ prettyPrint?: boolean;
3453
+ /** 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. */
3454
+ quotaUser?: string;
3455
+ /** 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" }` */
3456
+ updateMask?: string;
3457
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3458
+ upload_protocol?: string;
3459
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3460
+ uploadType?: string;
3461
+ },
3462
+ body: VpcFlowLogsConfig,
3463
+ ): Request<Operation>;
3464
+ /** QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow Logs configurations applicable to the specified project. */
3465
+ queryOrgVpcFlowLogsConfigs(request?: {
3466
+ /** V1 error format. */
3467
+ '$.xgafv'?: '1' | '2';
3468
+ /** OAuth access token. */
3469
+ access_token?: string;
3470
+ /** Data format for response. */
3471
+ alt?: 'json' | 'media' | 'proto';
3472
+ /** JSONP */
3473
+ callback?: string;
3474
+ /** Selector specifying which fields to include in a partial response. */
3475
+ fields?: string;
3476
+ /** 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). */
3477
+ filter?: string;
3478
+ /** 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. */
3479
+ key?: string;
3480
+ /** OAuth 2.0 token for the current user. */
3481
+ oauth_token?: string;
3482
+ /** Optional. Number of `VpcFlowLogsConfigs` to return. */
3483
+ pageSize?: number;
3484
+ /** Optional. Page token from an earlier query, as returned in `next_page_token`. */
3485
+ pageToken?: string;
3486
+ /** Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: `projects/{project_id}/locations/global` */
3487
+ parent: string;
3488
+ /** Returns response with indentations and line breaks. */
3489
+ prettyPrint?: boolean;
3490
+ /** 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. */
3491
+ quotaUser?: string;
3492
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3493
+ upload_protocol?: string;
3494
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3495
+ uploadType?: string;
3496
+ }): Request<QueryOrgVpcFlowLogsConfigsResponse>;
3497
+ /** ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs configurations applicable to a specified resource. */
3498
+ showEffectiveFlowLogsConfigs(request?: {
3499
+ /** V1 error format. */
3500
+ '$.xgafv'?: '1' | '2';
3501
+ /** OAuth access token. */
3502
+ access_token?: string;
3503
+ /** Data format for response. */
3504
+ alt?: 'json' | 'media' | 'proto';
3505
+ /** JSONP */
3506
+ callback?: string;
3507
+ /** Selector specifying which fields to include in a partial response. */
3508
+ fields?: string;
3509
+ /** 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). */
3510
+ filter?: string;
3511
+ /** 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. */
3512
+ key?: string;
3513
+ /** OAuth 2.0 token for the current user. */
3514
+ oauth_token?: string;
3515
+ /** Optional. Number of `EffectiveVpcFlowLogsConfigs` to return. Default is 30. */
3516
+ pageSize?: number;
3517
+ /** Optional. Page token from an earlier query, as returned in `next_page_token`. */
3518
+ pageToken?: string;
3519
+ /** Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: `projects/{project_id}/locations/global` */
3520
+ parent: string;
3521
+ /** Returns response with indentations and line breaks. */
3522
+ prettyPrint?: boolean;
3523
+ /** 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. */
3524
+ quotaUser?: string;
3525
+ /** 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. */
3526
+ resource?: string;
3527
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3528
+ upload_protocol?: string;
3529
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3530
+ uploadType?: string;
3531
+ }): Request<ShowEffectiveFlowLogsConfigsResponse>;
3532
+ };
3533
+ };
3534
+ };
3548
3535
  }
3549
3536
  }