Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
fix!: remove policy based routing API (#228)
Browse files Browse the repository at this point in the history
* fix!: remove policy based routing API

PiperOrigin-RevId: 505139690

Source-Link: googleapis/googleapis@183d61a

Source-Link: googleapis/googleapis-gen@58af86a
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNThhZjg2YWM0OTZiNWQxYTBjMGY1YmE0MDE5MTQ5ZjlkNjZiNTY2MyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* remove policy based routing API

* remove policy based routing API

* chore: Update gapic-generator-python to v1.8.4

PiperOrigin-RevId: 507808936

Source-Link: googleapis/googleapis@64cf849

Source-Link: googleapis/googleapis-gen@53c48ca
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTNjNDhjYWMxNTNkM2IzN2YzZDJjMmRlYzQ4MzBjZmQ5MWVjNDE1MyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
3 people committed Feb 9, 2023
1 parent 6adc046 commit 03f9adb
Show file tree
Hide file tree
Showing 26 changed files with 1 addition and 6,921 deletions.
10 changes: 0 additions & 10 deletions docs/networkconnectivity_v1/policy_based_routing_service.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/networkconnectivity_v1/services.rst
Expand Up @@ -4,4 +4,3 @@ Services for Google Cloud Networkconnectivity v1 API
:maxdepth: 2

hub_service
policy_based_routing_service
22 changes: 0 additions & 22 deletions google/cloud/networkconnectivity/__init__.py
Expand Up @@ -24,12 +24,6 @@
from google.cloud.networkconnectivity_v1.services.hub_service.client import (
HubServiceClient,
)
from google.cloud.networkconnectivity_v1.services.policy_based_routing_service.async_client import (
PolicyBasedRoutingServiceAsyncClient,
)
from google.cloud.networkconnectivity_v1.services.policy_based_routing_service.client import (
PolicyBasedRoutingServiceClient,
)
from google.cloud.networkconnectivity_v1.types.common import OperationMetadata
from google.cloud.networkconnectivity_v1.types.hub import (
CreateHubRequest,
Expand All @@ -55,20 +49,10 @@
UpdateHubRequest,
UpdateSpokeRequest,
)
from google.cloud.networkconnectivity_v1.types.policy_based_routing import (
CreatePolicyBasedRouteRequest,
DeletePolicyBasedRouteRequest,
GetPolicyBasedRouteRequest,
ListPolicyBasedRoutesRequest,
ListPolicyBasedRoutesResponse,
PolicyBasedRoute,
)

__all__ = (
"HubServiceClient",
"HubServiceAsyncClient",
"PolicyBasedRoutingServiceClient",
"PolicyBasedRoutingServiceAsyncClient",
"OperationMetadata",
"CreateHubRequest",
"CreateSpokeRequest",
Expand All @@ -92,10 +76,4 @@
"UpdateSpokeRequest",
"LocationFeature",
"State",
"CreatePolicyBasedRouteRequest",
"DeletePolicyBasedRouteRequest",
"GetPolicyBasedRouteRequest",
"ListPolicyBasedRoutesRequest",
"ListPolicyBasedRoutesResponse",
"PolicyBasedRoute",
)
20 changes: 0 additions & 20 deletions google/cloud/networkconnectivity_v1/__init__.py
Expand Up @@ -19,10 +19,6 @@


from .services.hub_service import HubServiceAsyncClient, HubServiceClient
from .services.policy_based_routing_service import (
PolicyBasedRoutingServiceAsyncClient,
PolicyBasedRoutingServiceClient,
)
from .types.common import OperationMetadata
from .types.hub import (
CreateHubRequest,
Expand All @@ -48,26 +44,14 @@
UpdateHubRequest,
UpdateSpokeRequest,
)
from .types.policy_based_routing import (
CreatePolicyBasedRouteRequest,
DeletePolicyBasedRouteRequest,
GetPolicyBasedRouteRequest,
ListPolicyBasedRoutesRequest,
ListPolicyBasedRoutesResponse,
PolicyBasedRoute,
)

__all__ = (
"HubServiceAsyncClient",
"PolicyBasedRoutingServiceAsyncClient",
"CreateHubRequest",
"CreatePolicyBasedRouteRequest",
"CreateSpokeRequest",
"DeleteHubRequest",
"DeletePolicyBasedRouteRequest",
"DeleteSpokeRequest",
"GetHubRequest",
"GetPolicyBasedRouteRequest",
"GetSpokeRequest",
"Hub",
"HubServiceClient",
Expand All @@ -76,15 +60,11 @@
"LinkedVpnTunnels",
"ListHubsRequest",
"ListHubsResponse",
"ListPolicyBasedRoutesRequest",
"ListPolicyBasedRoutesResponse",
"ListSpokesRequest",
"ListSpokesResponse",
"LocationFeature",
"LocationMetadata",
"OperationMetadata",
"PolicyBasedRoute",
"PolicyBasedRoutingServiceClient",
"RouterApplianceInstance",
"RoutingVPC",
"Spoke",
Expand Down
54 changes: 0 additions & 54 deletions google/cloud/networkconnectivity_v1/gapic_metadata.json
Expand Up @@ -118,60 +118,6 @@
}
}
}
},
"PolicyBasedRoutingService": {
"clients": {
"grpc": {
"libraryClient": "PolicyBasedRoutingServiceClient",
"rpcs": {
"CreatePolicyBasedRoute": {
"methods": [
"create_policy_based_route"
]
},
"DeletePolicyBasedRoute": {
"methods": [
"delete_policy_based_route"
]
},
"GetPolicyBasedRoute": {
"methods": [
"get_policy_based_route"
]
},
"ListPolicyBasedRoutes": {
"methods": [
"list_policy_based_routes"
]
}
}
},
"grpc-async": {
"libraryClient": "PolicyBasedRoutingServiceAsyncClient",
"rpcs": {
"CreatePolicyBasedRoute": {
"methods": [
"create_policy_based_route"
]
},
"DeletePolicyBasedRoute": {
"methods": [
"delete_policy_based_route"
]
},
"GetPolicyBasedRoute": {
"methods": [
"get_policy_based_route"
]
},
"ListPolicyBasedRoutes": {
"methods": [
"list_policy_based_routes"
]
}
}
}
}
}
}
}

This file was deleted.

0 comments on commit 03f9adb

Please sign in to comment.