File tree Expand file tree Collapse file tree 8 files changed +266
-4910
lines changed
packages/google-cloud-run
samples/generated_samples Expand file tree Collapse file tree 8 files changed +266
-4910
lines changed Original file line number Diff line number Diff line change 4646 ]
4747 }
4848 }
49- },
50- "rest" : {
51- "libraryClient" : " RevisionsClient" ,
52- "rpcs" : {
53- "DeleteRevision" : {
54- "methods" : [
55- " delete_revision"
56- ]
57- },
58- "GetRevision" : {
59- "methods" : [
60- " get_revision"
61- ]
62- },
63- "ListRevisions" : {
64- "methods" : [
65- " list_revisions"
66- ]
67- }
68- }
6949 }
7050 }
7151 },
160140 ]
161141 }
162142 }
163- },
164- "rest" : {
165- "libraryClient" : " ServicesClient" ,
166- "rpcs" : {
167- "CreateService" : {
168- "methods" : [
169- " create_service"
170- ]
171- },
172- "DeleteService" : {
173- "methods" : [
174- " delete_service"
175- ]
176- },
177- "GetIamPolicy" : {
178- "methods" : [
179- " get_iam_policy"
180- ]
181- },
182- "GetService" : {
183- "methods" : [
184- " get_service"
185- ]
186- },
187- "ListServices" : {
188- "methods" : [
189- " list_services"
190- ]
191- },
192- "SetIamPolicy" : {
193- "methods" : [
194- " set_iam_policy"
195- ]
196- },
197- "TestIamPermissions" : {
198- "methods" : [
199- " test_iam_permissions"
200- ]
201- },
202- "UpdateService" : {
203- "methods" : [
204- " update_service"
205- ]
206- }
207- }
208143 }
209144 }
210145 }
Original file line number Diff line number Diff line change 4747from .transports .base import RevisionsTransport , DEFAULT_CLIENT_INFO
4848from .transports .grpc import RevisionsGrpcTransport
4949from .transports .grpc_asyncio import RevisionsGrpcAsyncIOTransport
50- from .transports .rest import RevisionsRestTransport
5150
5251
5352class RevisionsClientMeta (type ):
@@ -61,7 +60,6 @@ class RevisionsClientMeta(type):
6160 _transport_registry = OrderedDict () # type: Dict[str, Type[RevisionsTransport]]
6261 _transport_registry ["grpc" ] = RevisionsGrpcTransport
6362 _transport_registry ["grpc_asyncio" ] = RevisionsGrpcAsyncIOTransport
64- _transport_registry ["rest" ] = RevisionsRestTransport
6563
6664 def get_transport_class (
6765 cls ,
@@ -464,9 +462,6 @@ def __init__(
464462 transport (Union[str, RevisionsTransport]): The
465463 transport to use. If set to None, a transport is chosen
466464 automatically.
467- NOTE: "rest" transport functionality is currently in a
468- beta state (preview). We welcome your feedback via an
469- issue in this library's source repository.
470465 client_options (google.api_core.client_options.ClientOptions): Custom options for the
471466 client. It won't take effect if a ``transport`` instance is provided.
472467 (1) The ``api_endpoint`` property can be used to override the
Original file line number Diff line number Diff line change 1919from .base import RevisionsTransport
2020from .grpc import RevisionsGrpcTransport
2121from .grpc_asyncio import RevisionsGrpcAsyncIOTransport
22- from .rest import RevisionsRestTransport
23- from .rest import RevisionsRestInterceptor
2422
2523
2624# Compile a registry of transports.
2725_transport_registry = OrderedDict () # type: Dict[str, Type[RevisionsTransport]]
2826_transport_registry ["grpc" ] = RevisionsGrpcTransport
2927_transport_registry ["grpc_asyncio" ] = RevisionsGrpcAsyncIOTransport
30- _transport_registry ["rest" ] = RevisionsRestTransport
3128
3229__all__ = (
3330 "RevisionsTransport" ,
3431 "RevisionsGrpcTransport" ,
3532 "RevisionsGrpcAsyncIOTransport" ,
36- "RevisionsRestTransport" ,
37- "RevisionsRestInterceptor" ,
3833)
Original file line number Diff line number Diff line change 5050from .transports .base import ServicesTransport , DEFAULT_CLIENT_INFO
5151from .transports .grpc import ServicesGrpcTransport
5252from .transports .grpc_asyncio import ServicesGrpcAsyncIOTransport
53- from .transports .rest import ServicesRestTransport
5453
5554
5655class ServicesClientMeta (type ):
@@ -64,7 +63,6 @@ class ServicesClientMeta(type):
6463 _transport_registry = OrderedDict () # type: Dict[str, Type[ServicesTransport]]
6564 _transport_registry ["grpc" ] = ServicesGrpcTransport
6665 _transport_registry ["grpc_asyncio" ] = ServicesGrpcAsyncIOTransport
67- _transport_registry ["rest" ] = ServicesRestTransport
6866
6967 def get_transport_class (
7068 cls ,
@@ -467,9 +465,6 @@ def __init__(
467465 transport (Union[str, ServicesTransport]): The
468466 transport to use. If set to None, a transport is chosen
469467 automatically.
470- NOTE: "rest" transport functionality is currently in a
471- beta state (preview). We welcome your feedback via an
472- issue in this library's source repository.
473468 client_options (google.api_core.client_options.ClientOptions): Custom options for the
474469 client. It won't take effect if a ``transport`` instance is provided.
475470 (1) The ``api_endpoint`` property can be used to override the
Original file line number Diff line number Diff line change 1919from .base import ServicesTransport
2020from .grpc import ServicesGrpcTransport
2121from .grpc_asyncio import ServicesGrpcAsyncIOTransport
22- from .rest import ServicesRestTransport
23- from .rest import ServicesRestInterceptor
2422
2523
2624# Compile a registry of transports.
2725_transport_registry = OrderedDict () # type: Dict[str, Type[ServicesTransport]]
2826_transport_registry ["grpc" ] = ServicesGrpcTransport
2927_transport_registry ["grpc_asyncio" ] = ServicesGrpcAsyncIOTransport
30- _transport_registry ["rest" ] = ServicesRestTransport
3128
3229__all__ = (
3330 "ServicesTransport" ,
3431 "ServicesGrpcTransport" ,
3532 "ServicesGrpcAsyncIOTransport" ,
36- "ServicesRestTransport" ,
37- "ServicesRestInterceptor" ,
3833)
You can’t perform that action at this time.
0 commit comments