Skip to content

Commit

Permalink
feat: [google-cloud-network-services] publish DEP proto (#12503)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 618868225

Source-Link:
googleapis/googleapis@d3ccbbd

Source-Link:
googleapis/googleapis-gen@f866918
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldHdvcmstc2VydmljZXMvLk93bEJvdC55YW1sIiwiaCI6ImY4NjY5MThiYjhiMTMzYjIxYmVjMTljNzI4ZDM5YWQwYTRlMzgxNzIifQ==

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Mar 25, 2024
1 parent 32cec00 commit f17c4fc
Show file tree
Hide file tree
Showing 39 changed files with 24,238 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
DepService
----------------------------

.. automodule:: google.cloud.network_services_v1.services.dep_service
:members:
:inherited-members:

.. automodule:: google.cloud.network_services_v1.services.dep_service.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ Services for Google Cloud Network Services v1 API
.. toctree::
:maxdepth: 2

dep_service
network_services
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
__version__ = package_version.__version__


from google.cloud.network_services_v1.services.dep_service.async_client import (
DepServiceAsyncClient,
)
from google.cloud.network_services_v1.services.dep_service.client import (
DepServiceClient,
)
from google.cloud.network_services_v1.services.network_services.async_client import (
NetworkServicesAsyncClient,
)
Expand All @@ -29,6 +35,25 @@
OperationMetadata,
TrafficPortSelector,
)
from google.cloud.network_services_v1.types.dep import (
CreateLbRouteExtensionRequest,
CreateLbTrafficExtensionRequest,
DeleteLbRouteExtensionRequest,
DeleteLbTrafficExtensionRequest,
EventType,
ExtensionChain,
GetLbRouteExtensionRequest,
GetLbTrafficExtensionRequest,
LbRouteExtension,
LbTrafficExtension,
ListLbRouteExtensionsRequest,
ListLbRouteExtensionsResponse,
ListLbTrafficExtensionsRequest,
ListLbTrafficExtensionsResponse,
LoadBalancingScheme,
UpdateLbRouteExtensionRequest,
UpdateLbTrafficExtensionRequest,
)
from google.cloud.network_services_v1.types.endpoint_policy import (
CreateEndpointPolicyRequest,
DeleteEndpointPolicyRequest,
Expand Down Expand Up @@ -102,11 +127,30 @@
)

__all__ = (
"DepServiceClient",
"DepServiceAsyncClient",
"NetworkServicesClient",
"NetworkServicesAsyncClient",
"EndpointMatcher",
"OperationMetadata",
"TrafficPortSelector",
"CreateLbRouteExtensionRequest",
"CreateLbTrafficExtensionRequest",
"DeleteLbRouteExtensionRequest",
"DeleteLbTrafficExtensionRequest",
"ExtensionChain",
"GetLbRouteExtensionRequest",
"GetLbTrafficExtensionRequest",
"LbRouteExtension",
"LbTrafficExtension",
"ListLbRouteExtensionsRequest",
"ListLbRouteExtensionsResponse",
"ListLbTrafficExtensionsRequest",
"ListLbTrafficExtensionsResponse",
"UpdateLbRouteExtensionRequest",
"UpdateLbTrafficExtensionRequest",
"EventType",
"LoadBalancingScheme",
"CreateEndpointPolicyRequest",
"DeleteEndpointPolicyRequest",
"EndpointPolicy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,28 @@
__version__ = package_version.__version__


from .services.dep_service import DepServiceAsyncClient, DepServiceClient
from .services.network_services import NetworkServicesAsyncClient, NetworkServicesClient
from .types.common import EndpointMatcher, OperationMetadata, TrafficPortSelector
from .types.dep import (
CreateLbRouteExtensionRequest,
CreateLbTrafficExtensionRequest,
DeleteLbRouteExtensionRequest,
DeleteLbTrafficExtensionRequest,
EventType,
ExtensionChain,
GetLbRouteExtensionRequest,
GetLbTrafficExtensionRequest,
LbRouteExtension,
LbTrafficExtension,
ListLbRouteExtensionsRequest,
ListLbRouteExtensionsResponse,
ListLbTrafficExtensionsRequest,
ListLbTrafficExtensionsResponse,
LoadBalancingScheme,
UpdateLbRouteExtensionRequest,
UpdateLbTrafficExtensionRequest,
)
from .types.endpoint_policy import (
CreateEndpointPolicyRequest,
DeleteEndpointPolicyRequest,
Expand Down Expand Up @@ -93,11 +113,14 @@
)

__all__ = (
"DepServiceAsyncClient",
"NetworkServicesAsyncClient",
"CreateEndpointPolicyRequest",
"CreateGatewayRequest",
"CreateGrpcRouteRequest",
"CreateHttpRouteRequest",
"CreateLbRouteExtensionRequest",
"CreateLbTrafficExtensionRequest",
"CreateMeshRequest",
"CreateServiceBindingRequest",
"CreateTcpRouteRequest",
Expand All @@ -106,23 +129,32 @@
"DeleteGatewayRequest",
"DeleteGrpcRouteRequest",
"DeleteHttpRouteRequest",
"DeleteLbRouteExtensionRequest",
"DeleteLbTrafficExtensionRequest",
"DeleteMeshRequest",
"DeleteServiceBindingRequest",
"DeleteTcpRouteRequest",
"DeleteTlsRouteRequest",
"DepServiceClient",
"EndpointMatcher",
"EndpointPolicy",
"EventType",
"ExtensionChain",
"Gateway",
"GetEndpointPolicyRequest",
"GetGatewayRequest",
"GetGrpcRouteRequest",
"GetHttpRouteRequest",
"GetLbRouteExtensionRequest",
"GetLbTrafficExtensionRequest",
"GetMeshRequest",
"GetServiceBindingRequest",
"GetTcpRouteRequest",
"GetTlsRouteRequest",
"GrpcRoute",
"HttpRoute",
"LbRouteExtension",
"LbTrafficExtension",
"ListEndpointPoliciesRequest",
"ListEndpointPoliciesResponse",
"ListGatewaysRequest",
Expand All @@ -131,6 +163,10 @@
"ListGrpcRoutesResponse",
"ListHttpRoutesRequest",
"ListHttpRoutesResponse",
"ListLbRouteExtensionsRequest",
"ListLbRouteExtensionsResponse",
"ListLbTrafficExtensionsRequest",
"ListLbTrafficExtensionsResponse",
"ListMeshesRequest",
"ListMeshesResponse",
"ListServiceBindingsRequest",
Expand All @@ -139,6 +175,7 @@
"ListTcpRoutesResponse",
"ListTlsRoutesRequest",
"ListTlsRoutesResponse",
"LoadBalancingScheme",
"Mesh",
"NetworkServicesClient",
"OperationMetadata",
Expand All @@ -150,6 +187,8 @@
"UpdateGatewayRequest",
"UpdateGrpcRouteRequest",
"UpdateHttpRouteRequest",
"UpdateLbRouteExtensionRequest",
"UpdateLbTrafficExtensionRequest",
"UpdateMeshRequest",
"UpdateTcpRouteRequest",
"UpdateTlsRouteRequest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,175 @@
"protoPackage": "google.cloud.networkservices.v1",
"schema": "1.0",
"services": {
"DepService": {
"clients": {
"grpc": {
"libraryClient": "DepServiceClient",
"rpcs": {
"CreateLbRouteExtension": {
"methods": [
"create_lb_route_extension"
]
},
"CreateLbTrafficExtension": {
"methods": [
"create_lb_traffic_extension"
]
},
"DeleteLbRouteExtension": {
"methods": [
"delete_lb_route_extension"
]
},
"DeleteLbTrafficExtension": {
"methods": [
"delete_lb_traffic_extension"
]
},
"GetLbRouteExtension": {
"methods": [
"get_lb_route_extension"
]
},
"GetLbTrafficExtension": {
"methods": [
"get_lb_traffic_extension"
]
},
"ListLbRouteExtensions": {
"methods": [
"list_lb_route_extensions"
]
},
"ListLbTrafficExtensions": {
"methods": [
"list_lb_traffic_extensions"
]
},
"UpdateLbRouteExtension": {
"methods": [
"update_lb_route_extension"
]
},
"UpdateLbTrafficExtension": {
"methods": [
"update_lb_traffic_extension"
]
}
}
},
"grpc-async": {
"libraryClient": "DepServiceAsyncClient",
"rpcs": {
"CreateLbRouteExtension": {
"methods": [
"create_lb_route_extension"
]
},
"CreateLbTrafficExtension": {
"methods": [
"create_lb_traffic_extension"
]
},
"DeleteLbRouteExtension": {
"methods": [
"delete_lb_route_extension"
]
},
"DeleteLbTrafficExtension": {
"methods": [
"delete_lb_traffic_extension"
]
},
"GetLbRouteExtension": {
"methods": [
"get_lb_route_extension"
]
},
"GetLbTrafficExtension": {
"methods": [
"get_lb_traffic_extension"
]
},
"ListLbRouteExtensions": {
"methods": [
"list_lb_route_extensions"
]
},
"ListLbTrafficExtensions": {
"methods": [
"list_lb_traffic_extensions"
]
},
"UpdateLbRouteExtension": {
"methods": [
"update_lb_route_extension"
]
},
"UpdateLbTrafficExtension": {
"methods": [
"update_lb_traffic_extension"
]
}
}
},
"rest": {
"libraryClient": "DepServiceClient",
"rpcs": {
"CreateLbRouteExtension": {
"methods": [
"create_lb_route_extension"
]
},
"CreateLbTrafficExtension": {
"methods": [
"create_lb_traffic_extension"
]
},
"DeleteLbRouteExtension": {
"methods": [
"delete_lb_route_extension"
]
},
"DeleteLbTrafficExtension": {
"methods": [
"delete_lb_traffic_extension"
]
},
"GetLbRouteExtension": {
"methods": [
"get_lb_route_extension"
]
},
"GetLbTrafficExtension": {
"methods": [
"get_lb_traffic_extension"
]
},
"ListLbRouteExtensions": {
"methods": [
"list_lb_route_extensions"
]
},
"ListLbTrafficExtensions": {
"methods": [
"list_lb_traffic_extensions"
]
},
"UpdateLbRouteExtension": {
"methods": [
"update_lb_route_extension"
]
},
"UpdateLbTrafficExtension": {
"methods": [
"update_lb_traffic_extension"
]
}
}
}
}
},
"NetworkServices": {
"clients": {
"grpc": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from .async_client import DepServiceAsyncClient
from .client import DepServiceClient

__all__ = (
"DepServiceClient",
"DepServiceAsyncClient",
)
Loading

0 comments on commit f17c4fc

Please sign in to comment.