Skip to content

Commit 3c4d5be

Browse files
yoshi-automationsofisl
authored andcommitted
feat(networkmanagement): update the API
#### networkmanagement:v1beta1 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 The following keys were changed: - resources.projects.resources.locations.resources.vpcFlowLogsConfigs.methods.create.description - resources.projects.resources.locations.resources.vpcFlowLogsConfigs.methods.patch.description #### networkmanagement:v1 The following keys were changed: - schemas.DropInfo.properties.cause.enum - schemas.DropInfo.properties.cause.enumDescriptions
1 parent 1c2cc5f commit 3c4d5be

File tree

3 files changed

+28
-8
lines changed

3 files changed

+28
-8
lines changed

discovery/networkmanagement-v1.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@
591591
}
592592
}
593593
},
594-
"revision": "20240725",
594+
"revision": "20240807",
595595
"rootUrl": "https://networkmanagement.googleapis.com/",
596596
"schemas": {
597597
"AbortInfo": {
@@ -1142,7 +1142,9 @@
11421142
"CLOUD_NAT_NO_ADDRESSES",
11431143
"ROUTING_LOOP",
11441144
"DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE",
1145-
"LOAD_BALANCER_BACKEND_INVALID_NETWORK"
1145+
"LOAD_BALANCER_BACKEND_INVALID_NETWORK",
1146+
"BACKEND_SERVICE_NAMED_PORT_NOT_DEFINED",
1147+
"DESTINATION_IS_PRIVATE_NAT_IP_RANGE"
11461148
],
11471149
"enumDescriptions": [
11481150
"Cause is unspecified.",
@@ -1210,7 +1212,9 @@
12101212
"Packet sent to Cloud Nat without active NAT IPs.",
12111213
"Packet is stuck in a routing loop.",
12121214
"Packet is dropped due to an unspecified reason inside a Google-managed service. Used only for return traces.",
1213-
"Packet is dropped due to a load balancer backend instance not having a network interface in the network expected by the load balancer."
1215+
"Packet is dropped due to a load balancer backend instance not having a network interface in the network expected by the load balancer.",
1216+
"Packet is dropped due to a backend service named port not being defined on the instance group level.",
1217+
"Packet is dropped due to a destination IP range being part of a Private NAT IP range."
12141218
],
12151219
"type": "string"
12161220
},

discovery/networkmanagement-v1beta1.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@
589589
"vpcFlowLogsConfigs": {
590590
"methods": {
591591
"create": {
592-
"description": "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 considrered 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",
592+
"description": "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 ",
593593
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs",
594594
"httpMethod": "POST",
595595
"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.create",
@@ -718,7 +718,7 @@
718718
]
719719
},
720720
"patch": {
721-
"description": "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. The following fields are not considrered 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",
721+
"description": "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 ",
722722
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}",
723723
"httpMethod": "PATCH",
724724
"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.patch",
@@ -758,7 +758,7 @@
758758
}
759759
}
760760
},
761-
"revision": "20240807",
761+
"revision": "20240812",
762762
"rootUrl": "https://networkmanagement.googleapis.com/",
763763
"schemas": {
764764
"AbortInfo": {
@@ -1543,6 +1543,14 @@
15431543
"projectId": {
15441544
"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.",
15451545
"type": "string"
1546+
},
1547+
"redisCluster": {
1548+
"description": "A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.",
1549+
"type": "string"
1550+
},
1551+
"redisInstance": {
1552+
"description": "A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.",
1553+
"type": "string"
15461554
}
15471555
},
15481556
"type": "object"

src/apis/networkmanagement/v1beta1.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,14 @@ export namespace networkmanagement_v1beta1 {
499499
* 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.
500500
*/
501501
projectId?: string | null;
502+
/**
503+
* A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.
504+
*/
505+
redisCluster?: string | null;
506+
/**
507+
* A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.
508+
*/
509+
redisInstance?: string | null;
502510
}
503511
/**
504512
* For display only. The specification of the endpoints for the test. EndpointInfo is derived from source and destination Endpoint and validated by the backend data plane model.
@@ -3237,7 +3245,7 @@ export namespace networkmanagement_v1beta1 {
32373245
}
32383246

32393247
/**
3240-
* 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 considrered 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
3248+
* 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
32413249
*
32423250
* @param params - Parameters for request
32433251
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -3603,7 +3611,7 @@ export namespace networkmanagement_v1beta1 {
36033611
}
36043612

36053613
/**
3606-
* 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. The following fields are not considrered 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
3614+
* 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
36073615
*
36083616
* @param params - Parameters for request
36093617
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)