Skip to content

Commit 001dc73

Browse files
yoshi-automationsofisl
authored andcommitted
feat(networkmanagement): update the API
#### networkmanagement:v1beta1 The following keys were added: - schemas.CloudRunRevisionInfo.properties.serviceName.deprecated - schemas.CloudRunRevisionInfo.properties.serviceName.description - schemas.CloudRunRevisionInfo.properties.serviceName.type The following keys were changed: - schemas.DropInfo.properties.cause.enum - schemas.DropInfo.properties.cause.enumDescriptions #### networkmanagement:v1 The following keys were changed: - schemas.DropInfo.properties.cause.enum - schemas.DropInfo.properties.cause.enumDescriptions
1 parent 99b5af7 commit 001dc73

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

discovery/networkmanagement-v1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@
591591
}
592592
}
593593
},
594-
"revision": "20240515",
594+
"revision": "20240619",
595595
"rootUrl": "https://networkmanagement.googleapis.com/",
596596
"schemas": {
597597
"AbortInfo": {
@@ -1120,6 +1120,7 @@
11201120
"CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC",
11211121
"PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION",
11221122
"CLOUD_SQL_INSTANCE_NO_ROUTE",
1123+
"CLOUD_SQL_CONNECTOR_REQUIRED",
11231124
"CLOUD_FUNCTION_NOT_ACTIVE",
11241125
"VPC_CONNECTOR_NOT_SET",
11251126
"VPC_CONNECTOR_NOT_RUNNING",
@@ -1132,6 +1133,7 @@
11321133
"PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS",
11331134
"CLOUD_SQL_PSC_NEG_UNSUPPORTED",
11341135
"NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT",
1136+
"PSC_TRANSITIVITY_NOT_PROPAGATED",
11351137
"HYBRID_NEG_NON_DYNAMIC_ROUTE_MATCHED",
11361138
"HYBRID_NEG_NON_LOCAL_DYNAMIC_ROUTE_MATCHED",
11371139
"CLOUD_RUN_REVISION_NOT_READY",
@@ -1185,6 +1187,7 @@
11851187
"Packet sent from a Cloud SQL instance to an external IP address is not allowed. The Cloud SQL instance is not configured to send packets to external IP addresses.",
11861188
"Packet sent from a Cloud SQL instance with only a public IP address to a private IP address.",
11871189
"Packet was dropped because there is no route from a Cloud SQL instance to a destination network.",
1190+
"Packet was dropped because the Cloud SQL instance requires all connections to use Cloud SQL connectors and to target the Cloud SQL proxy port (3307).",
11881191
"Packet could be dropped because the Cloud Function is not in an active status.",
11891192
"Packet could be dropped because no VPC connector is set.",
11901193
"Packet could be dropped because the VPC connector is not in a running state.",
@@ -1197,6 +1200,7 @@
11971200
"The packet is sent to the Private Service Connect backend (network endpoint group), but the producer PSC forwarding rule has multiple ports specified.",
11981201
"The packet is sent to the Private Service Connect backend (network endpoint group) targeting a Cloud SQL service attachment, but this configuration is not supported.",
11991202
"No NAT subnets are defined for the PSC service attachment.",
1203+
"PSC endpoint is accessed via NCC, but PSC transitivity configuration is not yet propagated.",
12001204
"The packet sent from the hybrid NEG proxy matches a non-dynamic route, but such a configuration is not supported.",
12011205
"The packet sent from the hybrid NEG proxy matches a dynamic route with a next hop in a different region, but such a configuration is not supported.",
12021206
"Packet sent from a Cloud Run revision that is not ready.",

discovery/networkmanagement-v1beta1.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@
591591
}
592592
}
593593
},
594-
"revision": "20240515",
594+
"revision": "20240612",
595595
"rootUrl": "https://networkmanagement.googleapis.com/",
596596
"schemas": {
597597
"AbortInfo": {
@@ -893,6 +893,11 @@
893893
"description": "Location in which this revision is deployed.",
894894
"type": "string"
895895
},
896+
"serviceName": {
897+
"deprecated": true,
898+
"description": "ID of Cloud Run Service this revision belongs to. Was never set, is not exported to v1 proto and public protos. Do not export to v1beta1 public proto.",
899+
"type": "string"
900+
},
896901
"serviceUri": {
897902
"description": "URI of Cloud Run service this revision belongs to.",
898903
"type": "string"
@@ -1120,6 +1125,7 @@
11201125
"CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC",
11211126
"PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION",
11221127
"CLOUD_SQL_INSTANCE_NO_ROUTE",
1128+
"CLOUD_SQL_CONNECTOR_REQUIRED",
11231129
"CLOUD_FUNCTION_NOT_ACTIVE",
11241130
"VPC_CONNECTOR_NOT_SET",
11251131
"VPC_CONNECTOR_NOT_RUNNING",
@@ -1132,6 +1138,7 @@
11321138
"PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS",
11331139
"CLOUD_SQL_PSC_NEG_UNSUPPORTED",
11341140
"NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT",
1141+
"PSC_TRANSITIVITY_NOT_PROPAGATED",
11351142
"HYBRID_NEG_NON_DYNAMIC_ROUTE_MATCHED",
11361143
"HYBRID_NEG_NON_LOCAL_DYNAMIC_ROUTE_MATCHED",
11371144
"CLOUD_RUN_REVISION_NOT_READY",
@@ -1185,6 +1192,7 @@
11851192
"Packet sent from a Cloud SQL instance to an external IP address is not allowed. The Cloud SQL instance is not configured to send packets to external IP addresses.",
11861193
"Packet sent from a Cloud SQL instance with only a public IP address to a private IP address.",
11871194
"Packet was dropped because there is no route from a Cloud SQL instance to a destination network.",
1195+
"Packet was dropped because the Cloud SQL instance requires all connections to use Cloud SQL connectors and to target the Cloud SQL proxy port (3307).",
11881196
"Packet could be dropped because the Cloud Function is not in an active status.",
11891197
"Packet could be dropped because no VPC connector is set.",
11901198
"Packet could be dropped because the VPC connector is not in a running state.",
@@ -1197,6 +1205,7 @@
11971205
"The packet is sent to the Private Service Connect backend (network endpoint group), but the producer PSC forwarding rule has multiple ports specified.",
11981206
"The packet is sent to the Private Service Connect backend (network endpoint group) targeting a Cloud SQL service attachment, but this configuration is not supported.",
11991207
"No NAT subnets are defined for the PSC service attachment.",
1208+
"PSC endpoint is accessed via NCC, but PSC transitivity configuration is not yet propagated.",
12001209
"The packet sent from the hybrid NEG proxy matches a non-dynamic route, but such a configuration is not supported.",
12011210
"The packet sent from the hybrid NEG proxy matches a dynamic route with a next hop in a different region, but such a configuration is not supported.",
12021211
"Packet sent from a Cloud Run revision that is not ready.",

src/apis/networkmanagement/v1beta1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,10 @@ export namespace networkmanagement_v1beta1 {
273273
* Location in which this revision is deployed.
274274
*/
275275
location?: string | null;
276+
/**
277+
* ID of Cloud Run Service this revision belongs to. Was never set, is not exported to v1 proto and public protos. Do not export to v1beta1 public proto.
278+
*/
279+
serviceName?: string | null;
276280
/**
277281
* URI of Cloud Run service this revision belongs to.
278282
*/

0 commit comments

Comments
 (0)