Skip to content

Commit 9180bb9

Browse files
yoshi-automationsofisl
authored andcommitted
feat(networkmanagement): update the API
#### networkmanagement:v1beta1 The following keys were added: - schemas.NetworkInfo.properties.matchedSubnetUri.description - schemas.NetworkInfo.properties.matchedSubnetUri.type - schemas.NetworkInfo.properties.region.description - schemas.NetworkInfo.properties.region.type - schemas.RedisClusterInfo.description - schemas.RedisClusterInfo.id - schemas.RedisClusterInfo.properties.discoveryEndpointIpAddress.description - schemas.RedisClusterInfo.properties.discoveryEndpointIpAddress.type - schemas.RedisClusterInfo.properties.displayName.description - schemas.RedisClusterInfo.properties.displayName.type - schemas.RedisClusterInfo.properties.location.description - schemas.RedisClusterInfo.properties.location.type - schemas.RedisClusterInfo.properties.networkUri.description - schemas.RedisClusterInfo.properties.networkUri.type - schemas.RedisClusterInfo.properties.secondaryEndpointIpAddress.description - schemas.RedisClusterInfo.properties.secondaryEndpointIpAddress.type - schemas.RedisClusterInfo.properties.uri.description - schemas.RedisClusterInfo.properties.uri.type - schemas.RedisClusterInfo.type - schemas.RouteInfo.properties.advertisedRouteNextHopUri.description - schemas.RouteInfo.properties.advertisedRouteNextHopUri.type - schemas.RouteInfo.properties.advertisedRouteSourceRouterUri.description - schemas.RouteInfo.properties.advertisedRouteSourceRouterUri.type - schemas.RouteInfo.properties.region.description - schemas.RouteInfo.properties.region.type - schemas.Step.properties.redisCluster.$ref - schemas.Step.properties.redisCluster.description The following keys were changed: - schemas.AbortInfo.properties.cause.enum - schemas.AbortInfo.properties.cause.enumDeprecated - schemas.AbortInfo.properties.cause.enumDescriptions - schemas.DeliverInfo.properties.target.enum - schemas.DeliverInfo.properties.target.enumDescriptions - schemas.DropInfo.properties.cause.enum - schemas.DropInfo.properties.cause.enumDescriptions - schemas.NetworkInfo.description - schemas.NetworkInfo.properties.matchedIpRange.description - schemas.RouteInfo.properties.routeType.enum - schemas.RouteInfo.properties.routeType.enumDescriptions - schemas.RouteInfo.properties.uri.description - schemas.Step.properties.state.enum - schemas.Step.properties.state.enumDeprecated - schemas.Step.properties.state.enumDescriptions #### networkmanagement:v1 The following keys were added: - schemas.Endpoint.properties.redisCluster.description - schemas.Endpoint.properties.redisCluster.type - schemas.Endpoint.properties.redisInstance.description - schemas.Endpoint.properties.redisInstance.type - schemas.NetworkInfo.properties.matchedSubnetUri.description - schemas.NetworkInfo.properties.matchedSubnetUri.type - schemas.NetworkInfo.properties.region.description - schemas.NetworkInfo.properties.region.type - schemas.RedisClusterInfo.description - schemas.RedisClusterInfo.id - schemas.RedisClusterInfo.properties.discoveryEndpointIpAddress.description - schemas.RedisClusterInfo.properties.discoveryEndpointIpAddress.type - schemas.RedisClusterInfo.properties.displayName.description - schemas.RedisClusterInfo.properties.displayName.type - schemas.RedisClusterInfo.properties.location.description - schemas.RedisClusterInfo.properties.location.type - schemas.RedisClusterInfo.properties.networkUri.description - schemas.RedisClusterInfo.properties.networkUri.type - schemas.RedisClusterInfo.properties.secondaryEndpointIpAddress.description - schemas.RedisClusterInfo.properties.secondaryEndpointIpAddress.type - schemas.RedisClusterInfo.properties.uri.description - schemas.RedisClusterInfo.properties.uri.type - schemas.RedisClusterInfo.type - schemas.RouteInfo.properties.advertisedRouteNextHopUri.description - schemas.RouteInfo.properties.advertisedRouteNextHopUri.type - schemas.RouteInfo.properties.advertisedRouteSourceRouterUri.description - schemas.RouteInfo.properties.advertisedRouteSourceRouterUri.type - schemas.RouteInfo.properties.region.description - schemas.RouteInfo.properties.region.type - schemas.Step.properties.redisCluster.$ref - schemas.Step.properties.redisCluster.description The following keys were changed: - schemas.AbortInfo.properties.cause.enum - schemas.AbortInfo.properties.cause.enumDeprecated - schemas.AbortInfo.properties.cause.enumDescriptions - schemas.DeliverInfo.properties.target.enum - schemas.DeliverInfo.properties.target.enumDescriptions - schemas.DropInfo.properties.cause.enum - schemas.DropInfo.properties.cause.enumDescriptions - schemas.NetworkInfo.description - schemas.NetworkInfo.properties.matchedIpRange.description - schemas.RouteInfo.properties.routeType.enum - schemas.RouteInfo.properties.routeType.enumDescriptions - schemas.RouteInfo.properties.uri.description - schemas.Step.properties.state.enum - schemas.Step.properties.state.enumDeprecated - schemas.Step.properties.state.enumDescriptions
1 parent 748ab35 commit 9180bb9

File tree

4 files changed

+344
-26
lines changed

4 files changed

+344
-26
lines changed

discovery/networkmanagement-v1.json

Lines changed: 116 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@
591591
}
592592
}
593593
},
594-
"revision": "20240821",
594+
"revision": "20240918",
595595
"rootUrl": "https://networkmanagement.googleapis.com/",
596596
"schemas": {
597597
"AbortInfo": {
@@ -630,6 +630,8 @@
630630
"ROUTE_CONFIG_NOT_FOUND",
631631
"GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT",
632632
"SOURCE_PSC_CLOUD_SQL_UNSUPPORTED",
633+
"SOURCE_REDIS_CLUSTER_UNSUPPORTED",
634+
"SOURCE_REDIS_INSTANCE_UNSUPPORTED",
633635
"SOURCE_FORWARDING_RULE_UNSUPPORTED",
634636
"NON_ROUTABLE_IP_ADDRESS",
635637
"UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT",
@@ -668,6 +670,8 @@
668670
false,
669671
false,
670672
false,
673+
false,
674+
false,
671675
false
672676
],
673677
"enumDescriptions": [
@@ -700,6 +704,8 @@
700704
"Aborted because expected route configuration was missing.",
701705
"Aborted because a PSC endpoint selection for the Google-managed service is ambiguous (several PSC endpoints satisfy test input).",
702706
"Aborted because tests with a PSC-based Cloud SQL instance as a source are not supported.",
707+
"Aborted because tests with a Redis Cluster as a source are not supported.",
708+
"Aborted because tests with a Redis Instance as a source are not supported.",
703709
"Aborted because tests with a forwarding rule as a source are not supported.",
704710
"Aborted because one of the endpoints is a non-routable IP address (loopback, link-local, etc).",
705711
"Aborted due to an unknown issue in the Google-managed project.",
@@ -1045,7 +1051,9 @@
10451051
"CLOUD_FUNCTION",
10461052
"APP_ENGINE_VERSION",
10471053
"CLOUD_RUN_REVISION",
1048-
"GOOGLE_MANAGED_SERVICE"
1054+
"GOOGLE_MANAGED_SERVICE",
1055+
"REDIS_INSTANCE",
1056+
"REDIS_CLUSTER"
10491057
],
10501058
"enumDescriptions": [
10511059
"Target not specified.",
@@ -1063,7 +1071,9 @@
10631071
"Target is a Cloud Function. Used only for return traces.",
10641072
"Target is a App Engine service version. Used only for return traces.",
10651073
"Target is a Cloud Run revision. Used only for return traces.",
1066-
"Target is a Google-managed service. Used only for return traces."
1074+
"Target is a Google-managed service. Used only for return traces.",
1075+
"Target is a Redis Instance.",
1076+
"Target is a Redis Cluster."
10671077
],
10681078
"type": "string"
10691079
}
@@ -1106,6 +1116,7 @@
11061116
"GKE_CLUSTER_NOT_RUNNING",
11071117
"CLOUD_SQL_INSTANCE_NOT_RUNNING",
11081118
"REDIS_INSTANCE_NOT_RUNNING",
1119+
"REDIS_CLUSTER_NOT_RUNNING",
11091120
"TRAFFIC_TYPE_BLOCKED",
11101121
"GKE_MASTER_UNAUTHORIZED_ACCESS",
11111122
"CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS",
@@ -1145,7 +1156,20 @@
11451156
"DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE",
11461157
"LOAD_BALANCER_BACKEND_INVALID_NETWORK",
11471158
"BACKEND_SERVICE_NAMED_PORT_NOT_DEFINED",
1148-
"DESTINATION_IS_PRIVATE_NAT_IP_RANGE"
1159+
"DESTINATION_IS_PRIVATE_NAT_IP_RANGE",
1160+
"DROPPED_INSIDE_REDIS_INSTANCE_SERVICE",
1161+
"REDIS_INSTANCE_UNSUPPORTED_PORT",
1162+
"REDIS_INSTANCE_CONNECTING_FROM_PUPI_ADDRESS",
1163+
"REDIS_INSTANCE_NO_ROUTE_TO_DESTINATION_NETWORK",
1164+
"REDIS_INSTANCE_NO_EXTERNAL_IP",
1165+
"REDIS_INSTANCE_UNSUPPORTED_PROTOCOL",
1166+
"DROPPED_INSIDE_REDIS_CLUSTER_SERVICE",
1167+
"REDIS_CLUSTER_UNSUPPORTED_PORT",
1168+
"REDIS_CLUSTER_NO_EXTERNAL_IP",
1169+
"REDIS_CLUSTER_UNSUPPORTED_PROTOCOL",
1170+
"NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION",
1171+
"NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION",
1172+
"NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION"
11491173
],
11501174
"enumDescriptions": [
11511175
"Cause is unspecified.",
@@ -1177,6 +1201,7 @@
11771201
"Packet sent from or to a GKE cluster that is not in running state.",
11781202
"Packet sent from or to a Cloud SQL instance that is not in running state.",
11791203
"Packet sent from or to a Redis Instance that is not in running state.",
1204+
"Packet sent from or to a Redis Cluster that is not in running state.",
11801205
"The type of traffic is blocked and the user cannot configure a firewall rule to enable it. See [Always blocked traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for more details.",
11811206
"Access to Google Kubernetes Engine cluster master's endpoint is not authorized. See [Access to the cluster endpoints](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#access_to_the_cluster_endpoints) for more details.",
11821207
"Access to the Cloud SQL instance endpoint is not authorized. See [Authorizing with authorized networks](https://cloud.google.com/sql/docs/mysql/authorize-networks) for more details.",
@@ -1216,7 +1241,20 @@
12161241
"Packet is dropped due to an unspecified reason inside a Google-managed service. Used only for return traces.",
12171242
"Packet is dropped due to a load balancer backend instance not having a network interface in the network expected by the load balancer.",
12181243
"Packet is dropped due to a backend service named port not being defined on the instance group level.",
1219-
"Packet is dropped due to a destination IP range being part of a Private NAT IP range."
1244+
"Packet is dropped due to a destination IP range being part of a Private NAT IP range.",
1245+
"Generic drop cause for a packet being dropped inside a Redis Instance service project.",
1246+
"Packet is dropped due to an unsupported port being used to connect to a Redis Instance. Port 6379 should be used to connect to a Redis Instance.",
1247+
"Packet is dropped due to connecting from PUPI address to a PSA based Redis Instance.",
1248+
"Packet is dropped due to no route to the destination network.",
1249+
"Redis Instance does not have an external IP address.",
1250+
"Packet is dropped due to an unsupported protocol being used to connect to a Redis Instance. Only TCP connections are accepted by a Redis Instance.",
1251+
"Generic drop cause for a packet being dropped inside a Redis Cluster service project.",
1252+
"Packet is dropped due to an unsupported port being used to connect to a Redis Cluster. Ports 6379 and 11000 to 13047 should be used to connect to a Redis Cluster.",
1253+
"Redis Cluster does not have an external IP address.",
1254+
"Packet is dropped due to an unsupported protocol being used to connect to a Redis Cluster. Only TCP connections are accepted by a Redis Cluster.",
1255+
"Packet from the non-GCP (on-prem) or unknown GCP network is dropped due to the destination IP address not belonging to any IP prefix advertised via BGP by the Cloud Router.",
1256+
"Packet from the non-GCP (on-prem) or unknown GCP network is dropped due to the destination IP address not belonging to any IP prefix included to the local traffic selector of the VPN tunnel.",
1257+
"Packet from the unknown peered network is dropped due to no known route from the source network to the destination IP address."
12201258
],
12211259
"type": "string"
12221260
},
@@ -1373,6 +1411,14 @@
13731411
"projectId": {
13741412
"description": "Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID: 1. Only the IP address is specified, and the IP address is within a Google Cloud project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.",
13751413
"type": "string"
1414+
},
1415+
"redisCluster": {
1416+
"description": "A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.",
1417+
"type": "string"
1418+
},
1419+
"redisInstance": {
1420+
"description": "A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.",
1421+
"type": "string"
13761422
}
13771423
},
13781424
"type": "object"
@@ -2098,15 +2144,23 @@
20982144
"type": "object"
20992145
},
21002146
"NetworkInfo": {
2101-
"description": "For display only. Metadata associated with a Compute Engine network.",
2147+
"description": "For display only. Metadata associated with a Compute Engine network. Next ID: 7",
21022148
"id": "NetworkInfo",
21032149
"properties": {
21042150
"displayName": {
21052151
"description": "Name of a Compute Engine network.",
21062152
"type": "string"
21072153
},
21082154
"matchedIpRange": {
2109-
"description": "The IP range that matches the test.",
2155+
"description": "The IP range of the subnet matching the source IP address of the test.",
2156+
"type": "string"
2157+
},
2158+
"matchedSubnetUri": {
2159+
"description": "URI of the subnet matching the source IP address of the test.",
2160+
"type": "string"
2161+
},
2162+
"region": {
2163+
"description": "The region of the subnet matching the source IP address of the test.",
21102164
"type": "string"
21112165
},
21122166
"uri": {
@@ -2385,6 +2439,37 @@
23852439
},
23862440
"type": "object"
23872441
},
2442+
"RedisClusterInfo": {
2443+
"description": "For display only. Metadata associated with a Redis Cluster.",
2444+
"id": "RedisClusterInfo",
2445+
"properties": {
2446+
"discoveryEndpointIpAddress": {
2447+
"description": "Discovery endpoint IP address of a Redis Cluster.",
2448+
"type": "string"
2449+
},
2450+
"displayName": {
2451+
"description": "Name of a Redis Cluster.",
2452+
"type": "string"
2453+
},
2454+
"location": {
2455+
"description": "Name of the region in which the Redis Cluster is defined. For example, \"us-central1\".",
2456+
"type": "string"
2457+
},
2458+
"networkUri": {
2459+
"description": "URI of a Redis Cluster network in format \"projects/{project_id}/global/networks/{network_id}\".",
2460+
"type": "string"
2461+
},
2462+
"secondaryEndpointIpAddress": {
2463+
"description": "Secondary endpoint IP address of a Redis Cluster.",
2464+
"type": "string"
2465+
},
2466+
"uri": {
2467+
"description": "URI of a Redis Cluster in format \"projects/{project_id}/locations/{location}/clusters/{cluster_id}\"",
2468+
"type": "string"
2469+
}
2470+
},
2471+
"type": "object"
2472+
},
23882473
"RedisInstanceInfo": {
23892474
"description": "For display only. Metadata associated with a Cloud Redis Instance.",
23902475
"id": "RedisInstanceInfo",
@@ -2426,6 +2511,14 @@
24262511
"description": "For display only. Metadata associated with a Compute Engine route.",
24272512
"id": "RouteInfo",
24282513
"properties": {
2514+
"advertisedRouteNextHopUri": {
2515+
"description": "For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.",
2516+
"type": "string"
2517+
},
2518+
"advertisedRouteSourceRouterUri": {
2519+
"description": "For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.",
2520+
"type": "string"
2521+
},
24292522
"destIpRange": {
24302523
"description": "Destination IP range of the route.",
24312524
"type": "string"
@@ -2510,6 +2603,10 @@
25102603
},
25112604
"type": "array"
25122605
},
2606+
"region": {
2607+
"description": "Region of the route (if applicable).",
2608+
"type": "string"
2609+
},
25132610
"routeScope": {
25142611
"description": "Indicates where route is applicable.",
25152612
"enum": [
@@ -2534,7 +2631,8 @@
25342631
"PEERING_SUBNET",
25352632
"PEERING_STATIC",
25362633
"PEERING_DYNAMIC",
2537-
"POLICY_BASED"
2634+
"POLICY_BASED",
2635+
"ADVERTISED"
25382636
],
25392637
"enumDescriptions": [
25402638
"Unspecified type. Default value.",
@@ -2544,7 +2642,8 @@
25442642
"A subnet route received from peering network.",
25452643
"A static route received from peering network.",
25462644
"A dynamic route received from peering network.",
2547-
"Policy based route."
2645+
"Policy based route.",
2646+
"Advertised route. Synthetic route which is used to transition from the StartFromPrivateNetwork state in Connectivity tests."
25482647
],
25492648
"type": "string"
25502649
},
@@ -2560,7 +2659,7 @@
25602659
"type": "array"
25612660
},
25622661
"uri": {
2563-
"description": "URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.",
2662+
"description": "URI of a route (if applicable).",
25642663
"type": "string"
25652664
}
25662665
},
@@ -2713,6 +2812,10 @@
27132812
"$ref": "ProxyConnectionInfo",
27142813
"description": "Display information of a ProxyConnection."
27152814
},
2815+
"redisCluster": {
2816+
"$ref": "RedisClusterInfo",
2817+
"description": "Display information of a Redis Cluster."
2818+
},
27162819
"redisInstance": {
27172820
"$ref": "RedisInstanceInfo",
27182821
"description": "Display information of a Redis Instance."
@@ -2736,6 +2839,7 @@
27362839
"START_FROM_GKE_MASTER",
27372840
"START_FROM_CLOUD_SQL_INSTANCE",
27382841
"START_FROM_REDIS_INSTANCE",
2842+
"START_FROM_REDIS_CLUSTER",
27392843
"START_FROM_CLOUD_FUNCTION",
27402844
"START_FROM_APP_ENGINE_VERSION",
27412845
"START_FROM_CLOUD_RUN_REVISION",
@@ -2784,6 +2888,7 @@
27842888
false,
27852889
false,
27862890
false,
2891+
false,
27872892
true,
27882893
true,
27892894
false,
@@ -2806,6 +2911,7 @@
28062911
"Initial state: packet originating from a Google Kubernetes Engine cluster master. A GKEMasterInfo is populated with starting instance information.",
28072912
"Initial state: packet originating from a Cloud SQL instance. A CloudSQLInstanceInfo is populated with starting instance information.",
28082913
"Initial state: packet originating from a Redis instance. A RedisInstanceInfo is populated with starting instance information.",
2914+
"Initial state: packet originating from a Redis Cluster. A RedisClusterInfo is populated with starting Cluster information.",
28092915
"Initial state: packet originating from a Cloud Function. A CloudFunctionInfo is populated with starting function information.",
28102916
"Initial state: packet originating from an App Engine service version. An AppEngineVersionInfo is populated with starting version information.",
28112917
"Initial state: packet originating from a Cloud Run revision. A CloudRunRevisionInfo is populated with starting revision information.",

0 commit comments

Comments
 (0)