Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
chore: release 0.2.0 (#46)
Browse files Browse the repository at this point in the history
🤖 I have created a release \*beep\* \*boop\*
---
## [0.2.0](https://www.github.com/googleapis/python-gke-hub/compare/v0.1.2...v0.2.0) (2021-07-24)


### Features

* add always_use_jwt_access ([f11dcfd](https://www.github.com/googleapis/python-gke-hub/commit/f11dcfdf34ce4fa26de2fc4779b5b4f46a5c52bd))
* add always_use_jwt_access ([#45](https://www.github.com/googleapis/python-gke-hub/issues/45)) ([225d132](https://www.github.com/googleapis/python-gke-hub/commit/225d13235789a5d778658c2938e2c07df847a0cd))
* add v1 ([#51](https://www.github.com/googleapis/python-gke-hub/issues/51)) ([f11dcfd](https://www.github.com/googleapis/python-gke-hub/commit/f11dcfdf34ce4fa26de2fc4779b5b4f46a5c52bd))


### Bug Fixes

* **deps:** pin 'google-{api,cloud}-core', 'google-auth' to allow 2.x versions ([#55](https://www.github.com/googleapis/python-gke-hub/issues/55)) ([7035364](https://www.github.com/googleapis/python-gke-hub/commit/703536465a766c452a8c27a6ee951dec35cf3c4f))
* enable self signed jwt for grpc ([#58](https://www.github.com/googleapis/python-gke-hub/issues/58)) ([66f14c9](https://www.github.com/googleapis/python-gke-hub/commit/66f14c93978f97f8180ca8f0a02856d4d633a2bf))
* **v1beta1:** disable always_use_jwt_access ([#52](https://www.github.com/googleapis/python-gke-hub/issues/52)) ([100f72e](https://www.github.com/googleapis/python-gke-hub/commit/100f72e7181f4faeb04a76e106888ffd766ed9ef))


### Documentation

* omit mention of Python 2.7 in 'CONTRIBUTING.rst' ([#1127](https://www.github.com/googleapis/python-gke-hub/issues/1127)) ([#40](https://www.github.com/googleapis/python-gke-hub/issues/40)) ([8f703d7](https://www.github.com/googleapis/python-gke-hub/commit/8f703d74ad3d9b3ea31b2136ed4e97594b52f832)), closes [#1126](https://www.github.com/googleapis/python-gke-hub/issues/1126)
* add Samples section to CONTRIBUTING.rst ([#56](https://www.github.com/googleapis/python-gke-hub/issues/56)) ([b08cf7e](https://www.github.com/googleapis/python-gke-hub/commit/b08cf7e5f2dbb1f3615f5b652c2d69f991d8aa69))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
  • Loading branch information
release-please[bot] authored Jul 27, 2021
1 parent 66f14c9 commit fcb849d
Show file tree
Hide file tree
Showing 18 changed files with 152 additions and 185 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## [0.2.0](https://www.github.com/googleapis/python-gke-hub/compare/v0.1.2...v0.2.0) (2021-07-24)


### Features

* add always_use_jwt_access ([f11dcfd](https://www.github.com/googleapis/python-gke-hub/commit/f11dcfdf34ce4fa26de2fc4779b5b4f46a5c52bd))
* add always_use_jwt_access ([#45](https://www.github.com/googleapis/python-gke-hub/issues/45)) ([225d132](https://www.github.com/googleapis/python-gke-hub/commit/225d13235789a5d778658c2938e2c07df847a0cd))
* add v1 ([#51](https://www.github.com/googleapis/python-gke-hub/issues/51)) ([f11dcfd](https://www.github.com/googleapis/python-gke-hub/commit/f11dcfdf34ce4fa26de2fc4779b5b4f46a5c52bd))


### Bug Fixes

* **deps:** pin 'google-{api,cloud}-core', 'google-auth' to allow 2.x versions ([#55](https://www.github.com/googleapis/python-gke-hub/issues/55)) ([7035364](https://www.github.com/googleapis/python-gke-hub/commit/703536465a766c452a8c27a6ee951dec35cf3c4f))
* enable self signed jwt for grpc ([#58](https://www.github.com/googleapis/python-gke-hub/issues/58)) ([66f14c9](https://www.github.com/googleapis/python-gke-hub/commit/66f14c93978f97f8180ca8f0a02856d4d633a2bf))
* **v1beta1:** disable always_use_jwt_access ([#52](https://www.github.com/googleapis/python-gke-hub/issues/52)) ([100f72e](https://www.github.com/googleapis/python-gke-hub/commit/100f72e7181f4faeb04a76e106888ffd766ed9ef))


### Documentation

* omit mention of Python 2.7 in 'CONTRIBUTING.rst' ([#1127](https://www.github.com/googleapis/python-gke-hub/issues/1127)) ([#40](https://www.github.com/googleapis/python-gke-hub/issues/40)) ([8f703d7](https://www.github.com/googleapis/python-gke-hub/commit/8f703d74ad3d9b3ea31b2136ed4e97594b52f832)), closes [#1126](https://www.github.com/googleapis/python-gke-hub/issues/1126)
* add Samples section to CONTRIBUTING.rst ([#56](https://www.github.com/googleapis/python-gke-hub/issues/56)) ([b08cf7e](https://www.github.com/googleapis/python-gke-hub/commit/b08cf7e5f2dbb1f3615f5b652c2d69f991d8aa69))

### [0.1.2](https://www.github.com/googleapis/python-gke-hub/compare/v0.1.1...v0.1.2) (2021-06-16)


Expand Down
84 changes: 84 additions & 0 deletions google/cloud/gkehub/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# -*- coding: utf-8 -*-
# Copyright 2020 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.gkehub_v1.services.gke_hub.client import GkeHubClient
from google.cloud.gkehub_v1.services.gke_hub.async_client import GkeHubAsyncClient

from google.cloud.gkehub_v1.types.feature import CommonFeatureSpec
from google.cloud.gkehub_v1.types.feature import CommonFeatureState
from google.cloud.gkehub_v1.types.feature import Feature
from google.cloud.gkehub_v1.types.feature import FeatureResourceState
from google.cloud.gkehub_v1.types.feature import FeatureState
from google.cloud.gkehub_v1.types.feature import MembershipFeatureSpec
from google.cloud.gkehub_v1.types.feature import MembershipFeatureState
from google.cloud.gkehub_v1.types.membership import Authority
from google.cloud.gkehub_v1.types.membership import GkeCluster
from google.cloud.gkehub_v1.types.membership import KubernetesMetadata
from google.cloud.gkehub_v1.types.membership import Membership
from google.cloud.gkehub_v1.types.membership import MembershipEndpoint
from google.cloud.gkehub_v1.types.membership import MembershipState
from google.cloud.gkehub_v1.types.service import ConnectAgentResource
from google.cloud.gkehub_v1.types.service import CreateFeatureRequest
from google.cloud.gkehub_v1.types.service import CreateMembershipRequest
from google.cloud.gkehub_v1.types.service import DeleteFeatureRequest
from google.cloud.gkehub_v1.types.service import DeleteMembershipRequest
from google.cloud.gkehub_v1.types.service import GenerateConnectManifestRequest
from google.cloud.gkehub_v1.types.service import GenerateConnectManifestResponse
from google.cloud.gkehub_v1.types.service import GetFeatureRequest
from google.cloud.gkehub_v1.types.service import GetMembershipRequest
from google.cloud.gkehub_v1.types.service import ListFeaturesRequest
from google.cloud.gkehub_v1.types.service import ListFeaturesResponse
from google.cloud.gkehub_v1.types.service import ListMembershipsRequest
from google.cloud.gkehub_v1.types.service import ListMembershipsResponse
from google.cloud.gkehub_v1.types.service import OperationMetadata
from google.cloud.gkehub_v1.types.service import TypeMeta
from google.cloud.gkehub_v1.types.service import UpdateFeatureRequest
from google.cloud.gkehub_v1.types.service import UpdateMembershipRequest

__all__ = (
"GkeHubClient",
"GkeHubAsyncClient",
"CommonFeatureSpec",
"CommonFeatureState",
"Feature",
"FeatureResourceState",
"FeatureState",
"MembershipFeatureSpec",
"MembershipFeatureState",
"Authority",
"GkeCluster",
"KubernetesMetadata",
"Membership",
"MembershipEndpoint",
"MembershipState",
"ConnectAgentResource",
"CreateFeatureRequest",
"CreateMembershipRequest",
"DeleteFeatureRequest",
"DeleteMembershipRequest",
"GenerateConnectManifestRequest",
"GenerateConnectManifestResponse",
"GetFeatureRequest",
"GetMembershipRequest",
"ListFeaturesRequest",
"ListFeaturesResponse",
"ListMembershipsRequest",
"ListMembershipsResponse",
"OperationMetadata",
"TypeMeta",
"UpdateFeatureRequest",
"UpdateMembershipRequest",
)
94 changes: 0 additions & 94 deletions google/cloud/gkehub/configmanagement/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions google/cloud/gkehub/configmanagement/py.typed

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


__protobuf__ = proto.module(
package="google.cloud.gkehub.configmanagement_v1",
package="google.cloud.gkehub.configmanagement.v1",
manifest={
"DeploymentState",
"MembershipState",
Expand Down
22 changes: 0 additions & 22 deletions google/cloud/gkehub/multiclusteringress/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions google/cloud/gkehub/multiclusteringress/py.typed

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


__protobuf__ = proto.module(
package="google.cloud.gkehub.multiclusteringress_v1", manifest={"FeatureSpec",},
package="google.cloud.gkehub.multiclusteringress.v1", manifest={"FeatureSpec",},
)


Expand Down
4 changes: 2 additions & 2 deletions google/cloud/gkehub_v1/services/gke_hub/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ class GkeHubAsyncClient:
The GKE Hub service operates on the following resources:
- [Membership][google.cloud.gkehub_v1.Membership]
- [Feature][google.cloud.gkehub_v1.Feature]
- [Membership][google.cloud.gkehub.v1.Membership]
- [Feature][google.cloud.gkehub.v1.Feature]
GKE Hub is currently only available in the global region.
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/gkehub_v1/services/gke_hub/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ class GkeHubClient(metaclass=GkeHubClientMeta):
The GKE Hub service operates on the following resources:
- [Membership][google.cloud.gkehub_v1.Membership]
- [Feature][google.cloud.gkehub_v1.Feature]
- [Membership][google.cloud.gkehub.v1.Membership]
- [Feature][google.cloud.gkehub.v1.Feature]
GKE Hub is currently only available in the global region.
Expand Down
26 changes: 13 additions & 13 deletions google/cloud/gkehub_v1/services/gke_hub/transports/grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ class GkeHubGrpcTransport(GkeHubTransport):
The GKE Hub service operates on the following resources:
- [Membership][google.cloud.gkehub_v1.Membership]
- [Feature][google.cloud.gkehub_v1.Feature]
- [Membership][google.cloud.gkehub.v1.Membership]
- [Feature][google.cloud.gkehub.v1.Feature]
GKE Hub is currently only available in the global region.
Expand Down Expand Up @@ -277,7 +277,7 @@ def list_memberships(
# to pass in the functions for each.
if "list_memberships" not in self._stubs:
self._stubs["list_memberships"] = self.grpc_channel.unary_unary(
"/google.cloud.gkehub_v1.GkeHub/ListMemberships",
"/google.cloud.gkehub.v1.GkeHub/ListMemberships",
request_serializer=service.ListMembershipsRequest.serialize,
response_deserializer=service.ListMembershipsResponse.deserialize,
)
Expand All @@ -303,7 +303,7 @@ def list_features(
# to pass in the functions for each.
if "list_features" not in self._stubs:
self._stubs["list_features"] = self.grpc_channel.unary_unary(
"/google.cloud.gkehub_v1.GkeHub/ListFeatures",
"/google.cloud.gkehub.v1.GkeHub/ListFeatures",
request_serializer=service.ListFeaturesRequest.serialize,
response_deserializer=service.ListFeaturesResponse.deserialize,
)
Expand All @@ -329,7 +329,7 @@ def get_membership(
# to pass in the functions for each.
if "get_membership" not in self._stubs:
self._stubs["get_membership"] = self.grpc_channel.unary_unary(
"/google.cloud.gkehub_v1.GkeHub/GetMembership",
"/google.cloud.gkehub.v1.GkeHub/GetMembership",
request_serializer=service.GetMembershipRequest.serialize,
response_deserializer=membership.Membership.deserialize,
)
Expand All @@ -353,7 +353,7 @@ def get_feature(self) -> Callable[[service.GetFeatureRequest], feature.Feature]:
# to pass in the functions for each.
if "get_feature" not in self._stubs:
self._stubs["get_feature"] = self.grpc_channel.unary_unary(
"/google.cloud.gkehub_v1.GkeHub/GetFeature",
"/google.cloud.gkehub.v1.GkeHub/GetFeature",
request_serializer=service.GetFeatureRequest.serialize,
response_deserializer=feature.Feature.deserialize,
)
Expand Down Expand Up @@ -383,7 +383,7 @@ def create_membership(
# to pass in the functions for each.
if "create_membership" not in self._stubs:
self._stubs["create_membership"] = self.grpc_channel.unary_unary(
"/google.cloud.gkehub_v1.GkeHub/CreateMembership",
"/google.cloud.gkehub.v1.GkeHub/CreateMembership",
request_serializer=service.CreateMembershipRequest.serialize,
response_deserializer=operations_pb2.Operation.FromString,
)
Expand All @@ -409,7 +409,7 @@ def create_feature(
# to pass in the functions for each.
if "create_feature" not in self._stubs:
self._stubs["create_feature"] = self.grpc_channel.unary_unary(
"/google.cloud.gkehub_v1.GkeHub/CreateFeature",
"/google.cloud.gkehub.v1.GkeHub/CreateFeature",
request_serializer=service.CreateFeatureRequest.serialize,
response_deserializer=operations_pb2.Operation.FromString,
)
Expand Down Expand Up @@ -440,7 +440,7 @@ def delete_membership(
# to pass in the functions for each.
if "delete_membership" not in self._stubs:
self._stubs["delete_membership"] = self.grpc_channel.unary_unary(
"/google.cloud.gkehub_v1.GkeHub/DeleteMembership",
"/google.cloud.gkehub.v1.GkeHub/DeleteMembership",
request_serializer=service.DeleteMembershipRequest.serialize,
response_deserializer=operations_pb2.Operation.FromString,
)
Expand All @@ -466,7 +466,7 @@ def delete_feature(
# to pass in the functions for each.
if "delete_feature" not in self._stubs:
self._stubs["delete_feature"] = self.grpc_channel.unary_unary(
"/google.cloud.gkehub_v1.GkeHub/DeleteFeature",
"/google.cloud.gkehub.v1.GkeHub/DeleteFeature",
request_serializer=service.DeleteFeatureRequest.serialize,
response_deserializer=operations_pb2.Operation.FromString,
)
Expand All @@ -492,7 +492,7 @@ def update_membership(
# to pass in the functions for each.
if "update_membership" not in self._stubs:
self._stubs["update_membership"] = self.grpc_channel.unary_unary(
"/google.cloud.gkehub_v1.GkeHub/UpdateMembership",
"/google.cloud.gkehub.v1.GkeHub/UpdateMembership",
request_serializer=service.UpdateMembershipRequest.serialize,
response_deserializer=operations_pb2.Operation.FromString,
)
Expand All @@ -518,7 +518,7 @@ def update_feature(
# to pass in the functions for each.
if "update_feature" not in self._stubs:
self._stubs["update_feature"] = self.grpc_channel.unary_unary(
"/google.cloud.gkehub_v1.GkeHub/UpdateFeature",
"/google.cloud.gkehub.v1.GkeHub/UpdateFeature",
request_serializer=service.UpdateFeatureRequest.serialize,
response_deserializer=operations_pb2.Operation.FromString,
)
Expand Down Expand Up @@ -550,7 +550,7 @@ def generate_connect_manifest(
# to pass in the functions for each.
if "generate_connect_manifest" not in self._stubs:
self._stubs["generate_connect_manifest"] = self.grpc_channel.unary_unary(
"/google.cloud.gkehub_v1.GkeHub/GenerateConnectManifest",
"/google.cloud.gkehub.v1.GkeHub/GenerateConnectManifest",
request_serializer=service.GenerateConnectManifestRequest.serialize,
response_deserializer=service.GenerateConnectManifestResponse.deserialize,
)
Expand Down
Loading

0 comments on commit fcb849d

Please sign in to comment.