Skip to content

Commit 01f5924

Browse files
chore: update to gapic-generator-python-1.4.2 (#47)
* chore: update to gapic-generator-python-1.4.2 (REST transport test fixes) PiperOrigin-RevId: 474313212 Source-Link: googleapis/googleapis@cec7333 Source-Link: googleapis/googleapis-gen@47afba9 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDdhZmJhOWQzNmI4NGNiYmFhODVkNmUzYmMzNGVmNjVlZmU2MjRlZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: Explicitly set transport to grpc for python targets PiperOrigin-RevId: 474394710 Source-Link: googleapis/googleapis@8f81acc Source-Link: googleapis/googleapis-gen@811c263 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODExYzI2M2NkNDY4ODY1OWNhZjY2Nzg1MDFiYTAzM2NiODg5ZTAyNiJ9 * 🦉 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>
1 parent b3d9c1f commit 01f5924

File tree

8 files changed

+266
-4910
lines changed

8 files changed

+266
-4910
lines changed

packages/google-cloud-run/google/cloud/run_v2/gapic_metadata.json

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -46,26 +46,6 @@
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
},
@@ -160,51 +140,6 @@
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
}

packages/google-cloud-run/google/cloud/run_v2/services/revisions/client.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
from .transports.base import RevisionsTransport, DEFAULT_CLIENT_INFO
4848
from .transports.grpc import RevisionsGrpcTransport
4949
from .transports.grpc_asyncio import RevisionsGrpcAsyncIOTransport
50-
from .transports.rest import RevisionsRestTransport
5150

5251

5352
class 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

packages/google-cloud-run/google/cloud/run_v2/services/revisions/transports/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,15 @@
1919
from .base import RevisionsTransport
2020
from .grpc import RevisionsGrpcTransport
2121
from .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
)

packages/google-cloud-run/google/cloud/run_v2/services/services/client.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
from .transports.base import ServicesTransport, DEFAULT_CLIENT_INFO
5151
from .transports.grpc import ServicesGrpcTransport
5252
from .transports.grpc_asyncio import ServicesGrpcAsyncIOTransport
53-
from .transports.rest import ServicesRestTransport
5453

5554

5655
class 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

packages/google-cloud-run/google/cloud/run_v2/services/services/transports/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,15 @@
1919
from .base import ServicesTransport
2020
from .grpc import ServicesGrpcTransport
2121
from .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
)

0 commit comments

Comments
 (0)