Skip to content

Commit fd8ae4b

Browse files
feat!: [google-cloud-gke-connect-gateway] Update default transport type for Connect Gateway v1 client to "rest" (#13268)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat!: [google-cloud-gke-connect-gateway] Update default transport type for Connect Gateway v1 client to "rest" fix!: gRPC support is being removed in favor of HTTP support, as gRPC is not currently supported by Connect Gateway fix!: Remove async client which requires gRPC END_COMMIT_OVERRIDE BREAKING CHANGE: gRPC support is being removed in favor of HTTP support, as gRPC is not currently supported by Connect Gateway. PiperOrigin-RevId: 695803161 Source-Link: googleapis/googleapis@de97a5f Source-Link: googleapis/googleapis-gen@aebeaed Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWdrZS1jb25uZWN0LWdhdGV3YXkvLk93bEJvdC55YW1sIiwiaCI6ImFlYmVhZWRlZGU1NDU0NWVlMTZlOWMxMmFmNjVjZGJhNDM3MTAzMGQifQ== BEGIN_NESTED_COMMIT feat!: [google-cloud-gke-connect-gateway] Update default transport type for Connect Gateway v1beta1 client to "rest" BREAKING CHANGE: gRPC support is being removed in favor of HTTP support, as gRPC is not currently supported by Connect Gateway. PiperOrigin-RevId: 695487411 Source-Link: googleapis/googleapis@5257378 Source-Link: googleapis/googleapis-gen@5dbaade Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWdrZS1jb25uZWN0LWdhdGV3YXkvLk93bEJvdC55YW1sIiwiaCI6IjVkYmFhZGU2ZGMyZjE0NWFhMWVhZjMzZDBkOGEwNTIxNTZhNDkwODgifQ== END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent e0ea31c commit fd8ae4b

25 files changed

+747
-3743
lines changed

packages/google-cloud-gke-connect-gateway/google/cloud/gkeconnect/gateway/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
__version__ = package_version.__version__
1919

2020

21-
from google.cloud.gkeconnect.gateway_v1.services.gateway_control.async_client import (
22-
GatewayControlAsyncClient,
23-
)
2421
from google.cloud.gkeconnect.gateway_v1.services.gateway_control.client import (
2522
GatewayControlClient,
2623
)
@@ -31,7 +28,6 @@
3128

3229
__all__ = (
3330
"GatewayControlClient",
34-
"GatewayControlAsyncClient",
3531
"GenerateCredentialsRequest",
3632
"GenerateCredentialsResponse",
3733
)

packages/google-cloud-gke-connect-gateway/google/cloud/gkeconnect/gateway_v1/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@
1818
__version__ = package_version.__version__
1919

2020

21-
from .services.gateway_control import GatewayControlAsyncClient, GatewayControlClient
21+
from .services.gateway_control import GatewayControlClient
2222
from .types.control import GenerateCredentialsRequest, GenerateCredentialsResponse
2323

2424
__all__ = (
25-
"GatewayControlAsyncClient",
2625
"GatewayControlClient",
2726
"GenerateCredentialsRequest",
2827
"GenerateCredentialsResponse",

packages/google-cloud-gke-connect-gateway/google/cloud/gkeconnect/gateway_v1/gapic_metadata.json

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,6 @@
77
"services": {
88
"GatewayControl": {
99
"clients": {
10-
"grpc": {
11-
"libraryClient": "GatewayControlClient",
12-
"rpcs": {
13-
"GenerateCredentials": {
14-
"methods": [
15-
"generate_credentials"
16-
]
17-
}
18-
}
19-
},
20-
"grpc-async": {
21-
"libraryClient": "GatewayControlAsyncClient",
22-
"rpcs": {
23-
"GenerateCredentials": {
24-
"methods": [
25-
"generate_credentials"
26-
]
27-
}
28-
}
29-
},
3010
"rest": {
3111
"libraryClient": "GatewayControlClient",
3212
"rpcs": {

packages/google-cloud-gke-connect-gateway/google/cloud/gkeconnect/gateway_v1/services/gateway_control/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
from .async_client import GatewayControlAsyncClient
1716
from .client import GatewayControlClient
1817

19-
__all__ = (
20-
"GatewayControlClient",
21-
"GatewayControlAsyncClient",
22-
)
18+
__all__ = ("GatewayControlClient",)

0 commit comments

Comments
 (0)