Skip to content

Commit

Permalink
feat: add Network Connectivity Center APIs related to VPC spokes (#11769
Browse files Browse the repository at this point in the history
)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 569346113

Source-Link:
googleapis/googleapis@1df1c4f

Source-Link:
googleapis/googleapis-gen@5ac186a
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldHdvcmstY29ubmVjdGl2aXR5Ly5Pd2xCb3QueWFtbCIsImgiOiI1YWMxODZhYTg2YmUxNzBkZWI0NjFmNzExODE4ODA5MDBhZjAxNzZiIn0=

---------

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 authored Sep 30, 2023
1 parent b9d7b71 commit 4cf708c
Show file tree
Hide file tree
Showing 38 changed files with 10,729 additions and 704 deletions.
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

0 comments on commit 4cf708c

Please sign in to comment.