Skip to content

Commit 2e92cb8

Browse files
yoshi-automationleahecole
authored andcommitted
feat(networkmanagement)!: update the API
BREAKING CHANGE: This release has breaking changes. #### networkmanagement:v1 The following keys were deleted: - schemas.MonitoringPoint.properties.geoLocation.type - schemas.NetworkPath.properties.destinationGeoLocation.type The following keys were added: - schemas.DropInfo.properties.destinationGeolocationCode.description - schemas.DropInfo.properties.destinationGeolocationCode.type - schemas.DropInfo.properties.sourceGeolocationCode.description - schemas.DropInfo.properties.sourceGeolocationCode.type - schemas.FirewallInfo.properties.targetType.description - schemas.FirewallInfo.properties.targetType.enum - schemas.FirewallInfo.properties.targetType.enumDescriptions - schemas.FirewallInfo.properties.targetType.type - schemas.GeoLocation.description - schemas.GeoLocation.id - schemas.GeoLocation.properties.country.description - schemas.GeoLocation.properties.country.type - schemas.GeoLocation.properties.formattedAddress.description - schemas.GeoLocation.properties.formattedAddress.type - schemas.GeoLocation.type - schemas.InterconnectAttachmentInfo.description - schemas.InterconnectAttachmentInfo.id - schemas.InterconnectAttachmentInfo.properties.cloudRouterUri.description - schemas.InterconnectAttachmentInfo.properties.cloudRouterUri.type - schemas.InterconnectAttachmentInfo.properties.displayName.description - schemas.InterconnectAttachmentInfo.properties.displayName.type - schemas.InterconnectAttachmentInfo.properties.interconnectUri.description - schemas.InterconnectAttachmentInfo.properties.interconnectUri.type - schemas.InterconnectAttachmentInfo.properties.region.description - schemas.InterconnectAttachmentInfo.properties.region.type - schemas.InterconnectAttachmentInfo.properties.uri.description - schemas.InterconnectAttachmentInfo.properties.uri.type - schemas.InterconnectAttachmentInfo.type - schemas.MonitoringPoint.properties.geoLocation.$ref - schemas.MonitoringPoint.properties.upgradeAvailable.description - schemas.MonitoringPoint.properties.upgradeAvailable.readOnly - schemas.MonitoringPoint.properties.upgradeAvailable.type - schemas.NetworkMonitoringProvider.properties.errors.description - schemas.NetworkMonitoringProvider.properties.errors.items.type - schemas.NetworkMonitoringProvider.properties.errors.readOnly - schemas.NetworkMonitoringProvider.properties.errors.type - schemas.NetworkPath.properties.destinationGeoLocation.$ref - schemas.Step.properties.interconnectAttachment.$ref - schemas.Step.properties.interconnectAttachment.description The following keys were changed: - schemas.MonitoringPoint.properties.geoLocation.description - schemas.NetworkPath.properties.destinationGeoLocation.description - schemas.ProviderTag.properties.resourceType.enum - schemas.ProviderTag.properties.resourceType.enumDescriptions - schemas.Step.properties.state.enum - schemas.Step.properties.state.enumDeprecated - schemas.Step.properties.state.enumDescriptions
1 parent b912b13 commit 2e92cb8

File tree

2 files changed

+162
-15
lines changed

2 files changed

+162
-15
lines changed

discovery/networkmanagement-v1.json

Lines changed: 91 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,7 @@
12891289
}
12901290
}
12911291
},
1292-
"revision": "20250723",
1292+
"revision": "20250806",
12931293
"rootUrl": "https://networkmanagement.googleapis.com/",
12941294
"schemas": {
12951295
"AbortInfo": {
@@ -2051,6 +2051,10 @@
20512051
],
20522052
"type": "string"
20532053
},
2054+
"destinationGeolocationCode": {
2055+
"description": "Geolocation (region code) of the destination IP address (if relevant).",
2056+
"type": "string"
2057+
},
20542058
"destinationIp": {
20552059
"description": "Destination IP address of the dropped packet (if relevant).",
20562060
"type": "string"
@@ -2063,6 +2067,10 @@
20632067
"description": "URI of the resource that caused the drop.",
20642068
"type": "string"
20652069
},
2070+
"sourceGeolocationCode": {
2071+
"description": "Geolocation (region code) of the source IP address (if relevant).",
2072+
"type": "string"
2073+
},
20662074
"sourceIp": {
20672075
"description": "Source IP address of the dropped packet (if relevant).",
20682076
"type": "string"
@@ -2364,6 +2372,20 @@
23642372
},
23652373
"type": "array"
23662374
},
2375+
"targetType": {
2376+
"description": "Target type of the firewall rule.",
2377+
"enum": [
2378+
"TARGET_TYPE_UNSPECIFIED",
2379+
"INSTANCES",
2380+
"INTERNAL_MANAGED_LB"
2381+
],
2382+
"enumDescriptions": [
2383+
"Target type is not specified. In this case we treat the rule as applying to INSTANCES target type.",
2384+
"Firewall rule applies to instances.",
2385+
"Firewall rule applies to internal managed load balancers."
2386+
],
2387+
"type": "string"
2388+
},
23672389
"uri": {
23682390
"description": "The URI of the firewall rule. This field is not applicable to implied VPC firewall rules.",
23692391
"type": "string"
@@ -2507,6 +2529,21 @@
25072529
},
25082530
"type": "object"
25092531
},
2532+
"GeoLocation": {
2533+
"description": "The geographical location of the MonitoringPoint.",
2534+
"id": "GeoLocation",
2535+
"properties": {
2536+
"country": {
2537+
"description": "Country.",
2538+
"type": "string"
2539+
},
2540+
"formattedAddress": {
2541+
"description": "Formatted address.",
2542+
"type": "string"
2543+
}
2544+
},
2545+
"type": "object"
2546+
},
25102547
"GoogleServiceInfo": {
25112548
"description": "For display only. Details of a Google Service sending packets to a VPC network. Although the source IP might be a publicly routable address, some Google Services use special routes within Google production infrastructure to reach Compute Engine Instances. https://cloud.google.com/vpc/docs/routes#special_return_paths",
25122549
"id": "GoogleServiceInfo",
@@ -2658,6 +2695,33 @@
26582695
},
26592696
"type": "object"
26602697
},
2698+
"InterconnectAttachmentInfo": {
2699+
"description": "For display only. Metadata associated with an Interconnect attachment.",
2700+
"id": "InterconnectAttachmentInfo",
2701+
"properties": {
2702+
"cloudRouterUri": {
2703+
"description": "URI of the Cloud Router to be used for dynamic routing.",
2704+
"type": "string"
2705+
},
2706+
"displayName": {
2707+
"description": "Name of an Interconnect attachment.",
2708+
"type": "string"
2709+
},
2710+
"interconnectUri": {
2711+
"description": "URI of the Interconnect where the Interconnect attachment is configured.",
2712+
"type": "string"
2713+
},
2714+
"region": {
2715+
"description": "Name of a Google Cloud region where the Interconnect attachment is configured.",
2716+
"type": "string"
2717+
},
2718+
"uri": {
2719+
"description": "URI of an Interconnect attachment.",
2720+
"type": "string"
2721+
}
2722+
},
2723+
"type": "object"
2724+
},
26612725
"LatencyDistribution": {
26622726
"description": "Describes measured latency distribution.",
26632727
"id": "LatencyDistribution",
@@ -3101,9 +3165,9 @@
31013165
"type": "array"
31023166
},
31033167
"geoLocation": {
3104-
"description": "Output only. The geographical location of the MonitoringPoint. Examples: - \"New York, NY, USA\" - \"Berlin, Germany\"",
3105-
"readOnly": true,
3106-
"type": "string"
3168+
"$ref": "GeoLocation",
3169+
"description": "Output only. The geographical location of the MonitoringPoint. ;",
3170+
"readOnly": true
31073171
},
31083172
"host": {
31093173
"$ref": "Host",
@@ -3151,6 +3215,11 @@
31513215
"readOnly": true,
31523216
"type": "string"
31533217
},
3218+
"upgradeAvailable": {
3219+
"description": "Output only. Indicates if an upgrade is available for the MonitoringPoint.",
3220+
"readOnly": true,
3221+
"type": "boolean"
3222+
},
31543223
"upgradeType": {
31553224
"description": "Output only. The type of upgrade available for the MonitoringPoint.",
31563225
"enum": [
@@ -3338,6 +3407,14 @@
33383407
"readOnly": true,
33393408
"type": "string"
33403409
},
3410+
"errors": {
3411+
"description": "Output only. The list of error messages detected for the NetworkMonitoringProvider.",
3412+
"items": {
3413+
"type": "string"
3414+
},
3415+
"readOnly": true,
3416+
"type": "array"
3417+
},
33413418
"name": {
33423419
"description": "Output only. Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}`",
33433420
"readOnly": true,
@@ -3408,9 +3485,9 @@
34083485
"type": "string"
34093486
},
34103487
"destinationGeoLocation": {
3411-
"description": "Output only. Geographical location of the destination MonitoringPoint.",
3412-
"readOnly": true,
3413-
"type": "string"
3488+
"$ref": "GeoLocation",
3489+
"description": "Output only. Geographical location of the destination MonitoringPoint. ;",
3490+
"readOnly": true
34143491
},
34153492
"displayName": {
34163493
"description": "Output only. The display name of the network path.",
@@ -3702,15 +3779,13 @@
37023779
"enum": [
37033780
"RESOURCE_TYPE_UNSPECIFIED",
37043781
"NETWORK_PATH",
3705-
"PATH_TEMPLATE",
37063782
"WEB_PATH",
37073783
"MONITORING_POLICY",
37083784
"MONITORING_POINT"
37093785
],
37103786
"enumDescriptions": [
37113787
"The default value. This value is used if the status is omitted.",
37123788
"Network path.",
3713-
"Path template.",
37143789
"Web path.",
37153790
"Monitoring policy.",
37163791
"Monitoring point."
@@ -4257,6 +4332,10 @@
42574332
"$ref": "InstanceInfo",
42584333
"description": "Display information of a Compute Engine instance."
42594334
},
4335+
"interconnectAttachment": {
4336+
"$ref": "InterconnectAttachmentInfo",
4337+
"description": "Display information of an interconnect attachment."
4338+
},
42604339
"loadBalancer": {
42614340
"$ref": "LoadBalancerInfo",
42624341
"deprecated": true,
@@ -4331,6 +4410,7 @@
43314410
"ARRIVE_AT_EXTERNAL_LOAD_BALANCER",
43324411
"ARRIVE_AT_VPN_GATEWAY",
43334412
"ARRIVE_AT_VPN_TUNNEL",
4413+
"ARRIVE_AT_INTERCONNECT_ATTACHMENT",
43344414
"ARRIVE_AT_VPC_CONNECTOR",
43354415
"DIRECT_VPC_EGRESS_CONNECTION",
43364416
"SERVERLESS_EXTERNAL_CONNECTION",
@@ -4378,6 +4458,7 @@
43784458
false,
43794459
false,
43804460
false,
4461+
false,
43814462
false
43824463
],
43834464
"enumDescriptions": [
@@ -4407,6 +4488,7 @@
44074488
"Forwarding state: arriving at a Compute Engine external load balancer.",
44084489
"Forwarding state: arriving at a Cloud VPN gateway.",
44094490
"Forwarding state: arriving at a Cloud VPN tunnel.",
4491+
"Forwarding state: arriving at an interconnect attachment.",
44104492
"Forwarding state: arriving at a VPC connector.",
44114493
"Forwarding state: for packets originating from a serverless endpoint forwarded through Direct VPC egress.",
44124494
"Forwarding state: for packets originating from a serverless endpoint forwarded through public (external) connectivity.",

src/apis/networkmanagement/v1.ts

Lines changed: 71 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,10 @@ export namespace networkmanagement_v1 {
444444
* Cause that the packet is dropped.
445445
*/
446446
cause?: string | null;
447+
/**
448+
* Geolocation (region code) of the destination IP address (if relevant).
449+
*/
450+
destinationGeolocationCode?: string | null;
447451
/**
448452
* Destination IP address of the dropped packet (if relevant).
449453
*/
@@ -456,6 +460,10 @@ export namespace networkmanagement_v1 {
456460
* URI of the resource that caused the drop.
457461
*/
458462
resourceUri?: string | null;
463+
/**
464+
* Geolocation (region code) of the source IP address (if relevant).
465+
*/
466+
sourceGeolocationCode?: string | null;
459467
/**
460468
* Source IP address of the dropped packet (if relevant).
461469
*/
@@ -657,6 +665,10 @@ export namespace networkmanagement_v1 {
657665
* The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
658666
*/
659667
targetTags?: string[] | null;
668+
/**
669+
* Target type of the firewall rule.
670+
*/
671+
targetType?: string | null;
660672
/**
661673
* The URI of the firewall rule. This field is not applicable to implied VPC firewall rules.
662674
*/
@@ -728,6 +740,19 @@ export namespace networkmanagement_v1 {
728740
*/
729741
vip?: string | null;
730742
}
743+
/**
744+
* The geographical location of the MonitoringPoint.
745+
*/
746+
export interface Schema$GeoLocation {
747+
/**
748+
* Country.
749+
*/
750+
country?: string | null;
751+
/**
752+
* Formatted address.
753+
*/
754+
formattedAddress?: string | null;
755+
}
731756
/**
732757
* For display only. Metadata associated with a Google Kubernetes Engine (GKE) cluster master.
733758
*/
@@ -852,6 +877,31 @@ export namespace networkmanagement_v1 {
852877
*/
853878
uri?: string | null;
854879
}
880+
/**
881+
* For display only. Metadata associated with an Interconnect attachment.
882+
*/
883+
export interface Schema$InterconnectAttachmentInfo {
884+
/**
885+
* URI of the Cloud Router to be used for dynamic routing.
886+
*/
887+
cloudRouterUri?: string | null;
888+
/**
889+
* Name of an Interconnect attachment.
890+
*/
891+
displayName?: string | null;
892+
/**
893+
* URI of the Interconnect where the Interconnect attachment is configured.
894+
*/
895+
interconnectUri?: string | null;
896+
/**
897+
* Name of a Google Cloud region where the Interconnect attachment is configured.
898+
*/
899+
region?: string | null;
900+
/**
901+
* URI of an Interconnect attachment.
902+
*/
903+
uri?: string | null;
904+
}
855905
/**
856906
* Describes measured latency distribution.
857907
*/
@@ -1131,9 +1181,9 @@ export namespace networkmanagement_v1 {
11311181
*/
11321182
errors?: string[] | null;
11331183
/**
1134-
* Output only. The geographical location of the MonitoringPoint. Examples: - "New York, NY, USA" - "Berlin, Germany"
1184+
* Output only. The geographical location of the MonitoringPoint. ;
11351185
*/
1136-
geoLocation?: string | null;
1186+
geoLocation?: Schema$GeoLocation;
11371187
/**
11381188
* Output only. The host information of the MonitoringPoint.
11391189
*/
@@ -1166,6 +1216,10 @@ export namespace networkmanagement_v1 {
11661216
* Output only. The time the MonitoringPoint was updated.
11671217
*/
11681218
updateTime?: string | null;
1219+
/**
1220+
* Output only. Indicates if an upgrade is available for the MonitoringPoint.
1221+
*/
1222+
upgradeAvailable?: boolean | null;
11691223
/**
11701224
* Output only. The type of upgrade available for the MonitoringPoint.
11711225
*/
@@ -1298,6 +1352,10 @@ export namespace networkmanagement_v1 {
12981352
* Output only. The time the NetworkMonitoringProvider was created.
12991353
*/
13001354
createTime?: string | null;
1355+
/**
1356+
* Output only. The list of error messages detected for the NetworkMonitoringProvider.
1357+
*/
1358+
errors?: string[] | null;
13011359
/**
13021360
* Output only. Identifier. Name of the resource. Format: `projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}`
13031361
*/
@@ -1332,9 +1390,9 @@ export namespace networkmanagement_v1 {
13321390
*/
13331391
destination?: string | null;
13341392
/**
1335-
* Output only. Geographical location of the destination MonitoringPoint.
1393+
* Output only. Geographical location of the destination MonitoringPoint. ;
13361394
*/
1337-
destinationGeoLocation?: string | null;
1395+
destinationGeoLocation?: Schema$GeoLocation;
13381396
/**
13391397
* Output only. The display name of the network path.
13401398
*/
@@ -1911,6 +1969,10 @@ export namespace networkmanagement_v1 {
19111969
* Display information of a Compute Engine instance.
19121970
*/
19131971
instance?: Schema$InstanceInfo;
1972+
/**
1973+
* Display information of an interconnect attachment.
1974+
*/
1975+
interconnectAttachment?: Schema$InterconnectAttachmentInfo;
19141976
/**
19151977
* Display information of the load balancers. Deprecated in favor of the `load_balancer_backend_info` field, not used in new tests.
19161978
*/
@@ -5741,6 +5803,7 @@ export namespace networkmanagement_v1 {
57415803
* // request body parameters
57425804
* // {
57435805
* // "createTime": "my_createTime",
5806+
* // "errors": [],
57445807
* // "name": "my_name",
57455808
* // "providerType": "my_providerType",
57465809
* // "providerUri": "my_providerUri",
@@ -6042,6 +6105,7 @@ export namespace networkmanagement_v1 {
60426105
* // Example response
60436106
* // {
60446107
* // "createTime": "my_createTime",
6108+
* // "errors": [],
60456109
* // "name": "my_name",
60466110
* // "providerType": "my_providerType",
60476111
* // "providerUri": "my_providerUri",
@@ -6400,7 +6464,7 @@ export namespace networkmanagement_v1 {
64006464
* // "createTime": "my_createTime",
64016465
* // "displayName": "my_displayName",
64026466
* // "errors": [],
6403-
* // "geoLocation": "my_geoLocation",
6467+
* // "geoLocation": {},
64046468
* // "host": {},
64056469
* // "hostname": "my_hostname",
64066470
* // "name": "my_name",
@@ -6409,6 +6473,7 @@ export namespace networkmanagement_v1 {
64096473
* // "providerTags": [],
64106474
* // "type": "my_type",
64116475
* // "updateTime": "my_updateTime",
6476+
* // "upgradeAvailable": false,
64126477
* // "upgradeType": "my_upgradeType",
64136478
* // "version": "my_version"
64146479
* // }
@@ -6735,7 +6800,7 @@ export namespace networkmanagement_v1 {
67356800
* // {
67366801
* // "createTime": "my_createTime",
67376802
* // "destination": "my_destination",
6738-
* // "destinationGeoLocation": "my_destinationGeoLocation",
6803+
* // "destinationGeoLocation": {},
67396804
* // "displayName": "my_displayName",
67406805
* // "dualEnded": false,
67416806
* // "monitoringEnabled": false,

0 commit comments

Comments
 (0)