Skip to content

Commit

Permalink
feat(networkmanagement): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 27, 2024
1 parent 1c2cc5f commit 3c4d5be
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 8 deletions.
10 changes: 7 additions & 3 deletions discovery/networkmanagement-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@
}
}
},
"revision": "20240725",
"revision": "20240807",
"rootUrl": "https://networkmanagement.googleapis.com/",
"schemas": {
"AbortInfo": {
Expand Down Expand Up @@ -1142,7 +1142,9 @@
"CLOUD_NAT_NO_ADDRESSES",
"ROUTING_LOOP",
"DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE",
"LOAD_BALANCER_BACKEND_INVALID_NETWORK"
"LOAD_BALANCER_BACKEND_INVALID_NETWORK",
"BACKEND_SERVICE_NAMED_PORT_NOT_DEFINED",
"DESTINATION_IS_PRIVATE_NAT_IP_RANGE"
],
"enumDescriptions": [
"Cause is unspecified.",
Expand Down Expand Up @@ -1210,7 +1212,9 @@
"Packet sent to Cloud Nat without active NAT IPs.",
"Packet is stuck in a routing loop.",
"Packet is dropped due to an unspecified reason inside a Google-managed service. Used only for return traces.",
"Packet is dropped due to a load balancer backend instance not having a network interface in the network expected by the load balancer."
"Packet is dropped due to a load balancer backend instance not having a network interface in the network expected by the load balancer.",
"Packet is dropped due to a backend service named port not being defined on the instance group level.",
"Packet is dropped due to a destination IP range being part of a Private NAT IP range."
],
"type": "string"
},
Expand Down
14 changes: 11 additions & 3 deletions discovery/networkmanagement-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@
"vpcFlowLogsConfigs": {
"methods": {
"create": {
"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",
"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 ",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs",
"httpMethod": "POST",
"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.create",
Expand Down Expand Up @@ -718,7 +718,7 @@
]
},
"patch": {
"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",
"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 ",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}",
"httpMethod": "PATCH",
"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.patch",
Expand Down Expand Up @@ -758,7 +758,7 @@
}
}
},
"revision": "20240807",
"revision": "20240812",
"rootUrl": "https://networkmanagement.googleapis.com/",
"schemas": {
"AbortInfo": {
Expand Down Expand Up @@ -1543,6 +1543,14 @@
"projectId": {
"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.",
"type": "string"
},
"redisCluster": {
"description": "A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.",
"type": "string"
},
"redisInstance": {
"description": "A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.",
"type": "string"
}
},
"type": "object"
Expand Down
12 changes: 10 additions & 2 deletions src/apis/networkmanagement/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,14 @@ export namespace networkmanagement_v1beta1 {
* 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.
*/
projectId?: string | null;
/**
* A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.
*/
redisCluster?: string | null;
/**
* A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.
*/
redisInstance?: string | null;
}
/**
* 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.
Expand Down Expand Up @@ -3237,7 +3245,7 @@ export namespace networkmanagement_v1beta1 {
}

/**
* 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
* 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
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down Expand Up @@ -3603,7 +3611,7 @@ export namespace networkmanagement_v1beta1 {
}

/**
* 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
* 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
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down

0 comments on commit 3c4d5be

Please sign in to comment.