Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Network Connectivity Center APIs related to VPC spokes #11769

Merged
merged 3 commits into from
Sep 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/google-cloud-network-connectivity/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ Running System Tests
$ nox -s system

# Run a single system test
$ nox -s system- -- -k <name of test>
$ nox -s system-3.11 -- -k <name of test>


.. note::

System tests are only configured to run under Python.
System tests are only configured to run under Python 3.8, 3.9, 3.10 and 3.11.
For expediency, we do not run them in older versions of Python 3.

This alone will not run the tests. You'll need to change some local
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,48 @@
)
from google.cloud.networkconnectivity_v1.types.common import OperationMetadata
from google.cloud.networkconnectivity_v1.types.hub import (
AcceptHubSpokeRequest,
AcceptHubSpokeResponse,
CreateHubRequest,
CreateSpokeRequest,
DeleteHubRequest,
DeleteSpokeRequest,
GetGroupRequest,
GetHubRequest,
GetRouteRequest,
GetRouteTableRequest,
GetSpokeRequest,
Group,
Hub,
LinkedInterconnectAttachments,
LinkedRouterApplianceInstances,
LinkedVpcNetwork,
LinkedVpnTunnels,
ListGroupsRequest,
ListGroupsResponse,
ListHubSpokesRequest,
ListHubSpokesResponse,
ListHubsRequest,
ListHubsResponse,
ListRoutesRequest,
ListRoutesResponse,
ListRouteTablesRequest,
ListRouteTablesResponse,
ListSpokesRequest,
ListSpokesResponse,
LocationFeature,
LocationMetadata,
NextHopVpcNetwork,
RejectHubSpokeRequest,
RejectHubSpokeResponse,
Route,
RouterApplianceInstance,
RouteTable,
RouteType,
RoutingVPC,
Spoke,
SpokeSummary,
SpokeType,
State,
UpdateHubRequest,
UpdateSpokeRequest,
Expand All @@ -70,27 +93,50 @@
"PolicyBasedRoutingServiceClient",
"PolicyBasedRoutingServiceAsyncClient",
"OperationMetadata",
"AcceptHubSpokeRequest",
"AcceptHubSpokeResponse",
"CreateHubRequest",
"CreateSpokeRequest",
"DeleteHubRequest",
"DeleteSpokeRequest",
"GetGroupRequest",
"GetHubRequest",
"GetRouteRequest",
"GetRouteTableRequest",
"GetSpokeRequest",
"Group",
"Hub",
"LinkedInterconnectAttachments",
"LinkedRouterApplianceInstances",
"LinkedVpcNetwork",
"LinkedVpnTunnels",
"ListGroupsRequest",
"ListGroupsResponse",
"ListHubSpokesRequest",
"ListHubSpokesResponse",
"ListHubsRequest",
"ListHubsResponse",
"ListRoutesRequest",
"ListRoutesResponse",
"ListRouteTablesRequest",
"ListRouteTablesResponse",
"ListSpokesRequest",
"ListSpokesResponse",
"LocationMetadata",
"NextHopVpcNetwork",
"RejectHubSpokeRequest",
"RejectHubSpokeResponse",
"Route",
"RouterApplianceInstance",
"RouteTable",
"RoutingVPC",
"Spoke",
"SpokeSummary",
"UpdateHubRequest",
"UpdateSpokeRequest",
"LocationFeature",
"RouteType",
"SpokeType",
"State",
"CreatePolicyBasedRouteRequest",
"DeletePolicyBasedRouteRequest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.1.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,48 @@
)
from .types.common import OperationMetadata
from .types.hub import (
AcceptHubSpokeRequest,
AcceptHubSpokeResponse,
CreateHubRequest,
CreateSpokeRequest,
DeleteHubRequest,
DeleteSpokeRequest,
GetGroupRequest,
GetHubRequest,
GetRouteRequest,
GetRouteTableRequest,
GetSpokeRequest,
Group,
Hub,
LinkedInterconnectAttachments,
LinkedRouterApplianceInstances,
LinkedVpcNetwork,
LinkedVpnTunnels,
ListGroupsRequest,
ListGroupsResponse,
ListHubSpokesRequest,
ListHubSpokesResponse,
ListHubsRequest,
ListHubsResponse,
ListRoutesRequest,
ListRoutesResponse,
ListRouteTablesRequest,
ListRouteTablesResponse,
ListSpokesRequest,
ListSpokesResponse,
LocationFeature,
LocationMetadata,
NextHopVpcNetwork,
RejectHubSpokeRequest,
RejectHubSpokeResponse,
Route,
RouterApplianceInstance,
RouteTable,
RouteType,
RoutingVPC,
Spoke,
SpokeSummary,
SpokeType,
State,
UpdateHubRequest,
UpdateSpokeRequest,
Expand All @@ -60,34 +83,57 @@
__all__ = (
"HubServiceAsyncClient",
"PolicyBasedRoutingServiceAsyncClient",
"AcceptHubSpokeRequest",
"AcceptHubSpokeResponse",
"CreateHubRequest",
"CreatePolicyBasedRouteRequest",
"CreateSpokeRequest",
"DeleteHubRequest",
"DeletePolicyBasedRouteRequest",
"DeleteSpokeRequest",
"GetGroupRequest",
"GetHubRequest",
"GetPolicyBasedRouteRequest",
"GetRouteRequest",
"GetRouteTableRequest",
"GetSpokeRequest",
"Group",
"Hub",
"HubServiceClient",
"LinkedInterconnectAttachments",
"LinkedRouterApplianceInstances",
"LinkedVpcNetwork",
"LinkedVpnTunnels",
"ListGroupsRequest",
"ListGroupsResponse",
"ListHubSpokesRequest",
"ListHubSpokesResponse",
"ListHubsRequest",
"ListHubsResponse",
"ListPolicyBasedRoutesRequest",
"ListPolicyBasedRoutesResponse",
"ListRouteTablesRequest",
"ListRouteTablesResponse",
"ListRoutesRequest",
"ListRoutesResponse",
"ListSpokesRequest",
"ListSpokesResponse",
"LocationFeature",
"LocationMetadata",
"NextHopVpcNetwork",
"OperationMetadata",
"PolicyBasedRoute",
"PolicyBasedRoutingServiceClient",
"RejectHubSpokeRequest",
"RejectHubSpokeResponse",
"Route",
"RouteTable",
"RouteType",
"RouterApplianceInstance",
"RoutingVPC",
"Spoke",
"SpokeSummary",
"SpokeType",
"State",
"UpdateHubRequest",
"UpdateSpokeRequest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"grpc": {
"libraryClient": "HubServiceClient",
"rpcs": {
"AcceptHubSpoke": {
"methods": [
"accept_hub_spoke"
]
},
"CreateHub": {
"methods": [
"create_hub"
Expand All @@ -30,26 +35,66 @@
"delete_spoke"
]
},
"GetGroup": {
"methods": [
"get_group"
]
},
"GetHub": {
"methods": [
"get_hub"
]
},
"GetRoute": {
"methods": [
"get_route"
]
},
"GetRouteTable": {
"methods": [
"get_route_table"
]
},
"GetSpoke": {
"methods": [
"get_spoke"
]
},
"ListGroups": {
"methods": [
"list_groups"
]
},
"ListHubSpokes": {
"methods": [
"list_hub_spokes"
]
},
"ListHubs": {
"methods": [
"list_hubs"
]
},
"ListRouteTables": {
"methods": [
"list_route_tables"
]
},
"ListRoutes": {
"methods": [
"list_routes"
]
},
"ListSpokes": {
"methods": [
"list_spokes"
]
},
"RejectHubSpoke": {
"methods": [
"reject_hub_spoke"
]
},
"UpdateHub": {
"methods": [
"update_hub"
Expand All @@ -65,6 +110,11 @@
"grpc-async": {
"libraryClient": "HubServiceAsyncClient",
"rpcs": {
"AcceptHubSpoke": {
"methods": [
"accept_hub_spoke"
]
},
"CreateHub": {
"methods": [
"create_hub"
Expand All @@ -85,26 +135,66 @@
"delete_spoke"
]
},
"GetGroup": {
"methods": [
"get_group"
]
},
"GetHub": {
"methods": [
"get_hub"
]
},
"GetRoute": {
"methods": [
"get_route"
]
},
"GetRouteTable": {
"methods": [
"get_route_table"
]
},
"GetSpoke": {
"methods": [
"get_spoke"
]
},
"ListGroups": {
"methods": [
"list_groups"
]
},
"ListHubSpokes": {
"methods": [
"list_hub_spokes"
]
},
"ListHubs": {
"methods": [
"list_hubs"
]
},
"ListRouteTables": {
"methods": [
"list_route_tables"
]
},
"ListRoutes": {
"methods": [
"list_routes"
]
},
"ListSpokes": {
"methods": [
"list_spokes"
]
},
"RejectHubSpoke": {
"methods": [
"reject_hub_spoke"
]
},
"UpdateHub": {
"methods": [
"update_hub"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.1.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Loading