Skip to content

Commit

Permalink
feat!: [google-cloud-gke-connect-gateway] removed the nonfunctional G…
Browse files Browse the repository at this point in the history
…atewayService and replaced it with the GatewayControl service (#13028)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 666340312

Source-Link:
googleapis/googleapis@82ab100

Source-Link:
googleapis/googleapis-gen@3f5c714
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWdrZS1jb25uZWN0LWdhdGV3YXkvLk93bEJvdC55YW1sIiwiaCI6IjNmNWM3MTRhYTRmYWFhNzM1MGYxMTQ1MjQyZjE5MjcwNDliZGQ5YTgifQ==

BEGIN_COMMIT_OVERRIDE
fix!: Set google.cloud.gkeconnect.gateway_v1 as the default import
feat!: [google-cloud-gke-connect-gateway] removed the nonfunctional
GatewayService and replaced it with the GatewayControl service

BREAKING CHANGE: existing client libraries are being regenerated to
remove unused functionality and introduce new features.
END_COMMIT_OVERRIDE


BEGIN_NESTED_COMMIT
feat!: [google-cloud-gke-connect-gateway] removed the nonfunctional
GatewayService and replaced it with the GatewayControl service
BREAKING CHANGE: existing client libraries are being regenerated to
remove unused functionality and introduce new features.

PiperOrigin-RevId: 665564055

Source-Link:
googleapis/googleapis@71434fd

Source-Link:
googleapis/googleapis-gen@3fcf6a6
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWdrZS1jb25uZWN0LWdhdGV3YXkvLk93bEJvdC55YW1sIiwiaCI6IjNmY2Y2YTY5NDNhOTMwY2JhOTA5MGY4Yjg4YTZjYWY3MWM4ZmI2OTQifQ==
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
feat!: [google-cloud-gke-connect-gateway] removed the nonfunctional
GatewayService and replaced it with the GatewayControl service
BREAKING CHANGE: existing client libraries are being regenerated to
remove unused functionality and introduce new features.

PiperOrigin-RevId: 665485495

Source-Link:
googleapis/googleapis@5e76753

Source-Link:
googleapis/googleapis-gen@565ebdf
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWdrZS1jb25uZWN0LWdhdGV3YXkvLk93bEJvdC55YW1sIiwiaCI6IjU2NWViZGY4YjMzY2VlYWFlZDk3MmUwZDlmYmU0YWEwNjNlNTI5MmUifQ==
END_NESTED_COMMIT

---------

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 Aug 22, 2024
1 parent 0b90478 commit 6639798
Show file tree
Hide file tree
Showing 53 changed files with 6,989 additions and 5,312 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-cloud-gke-connect-gateway",
"api_id": "connectgateway.googleapis.com",
"default_version": "v1beta1",
"default_version": "v1",
"codeowner_team": "",
"api_shortname": "connectgateway",
"api_description": "builds on the power of fleets to let Anthos users connect to and run commands against registered Anthos clusters in a simple, consistent, and secured way, whether the clusters are on Google Cloud, other public clouds, or on premises, and makes it easier to automate DevOps processes across all your clusters."
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
GatewayControl
--------------------------------

.. automodule:: google.cloud.gkeconnect.gateway_v1.services.gateway_control
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Services for Google Cloud Gkeconnect Gateway v1 API
===================================================
.. toctree::
:maxdepth: 2

gateway_control
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Types for Google Cloud Gkeconnect Gateway v1 API
================================================

.. automodule:: google.cloud.gkeconnect.gateway_v1.types
:members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GatewayService
GatewayControl
--------------------------------

.. automodule:: google.cloud.gkeconnect.gateway_v1beta1.services.gateway_service
.. automodule:: google.cloud.gkeconnect.gateway_v1beta1.services.gateway_control
:members:
:inherited-members:
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Services for Google Cloud Gkeconnect Gateway v1beta1 API
.. toctree::
:maxdepth: 2

gateway_service
gateway_control
11 changes: 11 additions & 0 deletions packages/google-cloud-gke-connect-gateway/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

.. include:: multiprocessing.rst

This package includes clients for multiple versions of GKE Connect Gateway.
By default, you will get version ``gateway_v1``.


API Reference
-------------
.. toctree::
:maxdepth: 2

gateway_v1/services_
gateway_v1/types_

API Reference
-------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,20 @@
__version__ = package_version.__version__


from google.cloud.gkeconnect.gateway_v1beta1.services.gateway_service.async_client import (
GatewayServiceAsyncClient,
from google.cloud.gkeconnect.gateway_v1.services.gateway_control.async_client import (
GatewayControlAsyncClient,
)
from google.cloud.gkeconnect.gateway_v1beta1.services.gateway_service.client import (
GatewayServiceClient,
from google.cloud.gkeconnect.gateway_v1.services.gateway_control.client import (
GatewayControlClient,
)
from google.cloud.gkeconnect.gateway_v1.types.control import (
GenerateCredentialsRequest,
GenerateCredentialsResponse,
)

__all__ = (
"GatewayServiceClient",
"GatewayServiceAsyncClient",
"GatewayControlClient",
"GatewayControlAsyncClient",
"GenerateCredentialsRequest",
"GenerateCredentialsResponse",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# -*- 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 google.cloud.gkeconnect.gateway_v1 import gapic_version as package_version

__version__ = package_version.__version__


from .services.gateway_control import GatewayControlAsyncClient, GatewayControlClient
from .types.control import GenerateCredentialsRequest, GenerateCredentialsResponse

__all__ = (
"GatewayControlAsyncClient",
"GatewayControlClient",
"GenerateCredentialsRequest",
"GenerateCredentialsResponse",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.gkeconnect.gateway_v1",
"protoPackage": "google.cloud.gkeconnect.gateway.v1",
"schema": "1.0",
"services": {
"GatewayControl": {
"clients": {
"grpc": {
"libraryClient": "GatewayControlClient",
"rpcs": {
"GenerateCredentials": {
"methods": [
"generate_credentials"
]
}
}
},
"grpc-async": {
"libraryClient": "GatewayControlAsyncClient",
"rpcs": {
"GenerateCredentials": {
"methods": [
"generate_credentials"
]
}
}
},
"rest": {
"libraryClient": "GatewayControlClient",
"rpcs": {
"GenerateCredentials": {
"methods": [
"generate_credentials"
]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- 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.
#
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-gke-connect-gateway package uses inline types.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# -*- 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.
#
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from .async_client import GatewayServiceAsyncClient
from .client import GatewayServiceClient
from .async_client import GatewayControlAsyncClient
from .client import GatewayControlClient

__all__ = (
"GatewayServiceClient",
"GatewayServiceAsyncClient",
"GatewayControlClient",
"GatewayControlAsyncClient",
)
Loading

0 comments on commit 6639798

Please sign in to comment.