Skip to content

Commit 729c511

Browse files
chore: release 0.2.0 (#46)
🤖 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).
1 parent ed66971 commit 729c511

File tree

18 files changed

+152
-185
lines changed

18 files changed

+152
-185
lines changed

packages/google-cloud-gke-hub/CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

3+
## [0.2.0](https://www.github.com/googleapis/python-gke-hub/compare/v0.1.2...v0.2.0) (2021-07-24)
4+
5+
6+
### Features
7+
8+
* add always_use_jwt_access ([f11dcfd](https://www.github.com/googleapis/python-gke-hub/commit/f11dcfdf34ce4fa26de2fc4779b5b4f46a5c52bd))
9+
* 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))
10+
* add v1 ([#51](https://www.github.com/googleapis/python-gke-hub/issues/51)) ([f11dcfd](https://www.github.com/googleapis/python-gke-hub/commit/f11dcfdf34ce4fa26de2fc4779b5b4f46a5c52bd))
11+
12+
13+
### Bug Fixes
14+
15+
* **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))
16+
* 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))
17+
* **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))
18+
19+
20+
### Documentation
21+
22+
* 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)
23+
* 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))
24+
325
### [0.1.2](https://www.github.com/googleapis/python-gke-hub/compare/v0.1.1...v0.1.2) (2021-06-16)
426

527

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2020 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
from google.cloud.gkehub_v1.services.gke_hub.client import GkeHubClient
18+
from google.cloud.gkehub_v1.services.gke_hub.async_client import GkeHubAsyncClient
19+
20+
from google.cloud.gkehub_v1.types.feature import CommonFeatureSpec
21+
from google.cloud.gkehub_v1.types.feature import CommonFeatureState
22+
from google.cloud.gkehub_v1.types.feature import Feature
23+
from google.cloud.gkehub_v1.types.feature import FeatureResourceState
24+
from google.cloud.gkehub_v1.types.feature import FeatureState
25+
from google.cloud.gkehub_v1.types.feature import MembershipFeatureSpec
26+
from google.cloud.gkehub_v1.types.feature import MembershipFeatureState
27+
from google.cloud.gkehub_v1.types.membership import Authority
28+
from google.cloud.gkehub_v1.types.membership import GkeCluster
29+
from google.cloud.gkehub_v1.types.membership import KubernetesMetadata
30+
from google.cloud.gkehub_v1.types.membership import Membership
31+
from google.cloud.gkehub_v1.types.membership import MembershipEndpoint
32+
from google.cloud.gkehub_v1.types.membership import MembershipState
33+
from google.cloud.gkehub_v1.types.service import ConnectAgentResource
34+
from google.cloud.gkehub_v1.types.service import CreateFeatureRequest
35+
from google.cloud.gkehub_v1.types.service import CreateMembershipRequest
36+
from google.cloud.gkehub_v1.types.service import DeleteFeatureRequest
37+
from google.cloud.gkehub_v1.types.service import DeleteMembershipRequest
38+
from google.cloud.gkehub_v1.types.service import GenerateConnectManifestRequest
39+
from google.cloud.gkehub_v1.types.service import GenerateConnectManifestResponse
40+
from google.cloud.gkehub_v1.types.service import GetFeatureRequest
41+
from google.cloud.gkehub_v1.types.service import GetMembershipRequest
42+
from google.cloud.gkehub_v1.types.service import ListFeaturesRequest
43+
from google.cloud.gkehub_v1.types.service import ListFeaturesResponse
44+
from google.cloud.gkehub_v1.types.service import ListMembershipsRequest
45+
from google.cloud.gkehub_v1.types.service import ListMembershipsResponse
46+
from google.cloud.gkehub_v1.types.service import OperationMetadata
47+
from google.cloud.gkehub_v1.types.service import TypeMeta
48+
from google.cloud.gkehub_v1.types.service import UpdateFeatureRequest
49+
from google.cloud.gkehub_v1.types.service import UpdateMembershipRequest
50+
51+
__all__ = (
52+
"GkeHubClient",
53+
"GkeHubAsyncClient",
54+
"CommonFeatureSpec",
55+
"CommonFeatureState",
56+
"Feature",
57+
"FeatureResourceState",
58+
"FeatureState",
59+
"MembershipFeatureSpec",
60+
"MembershipFeatureState",
61+
"Authority",
62+
"GkeCluster",
63+
"KubernetesMetadata",
64+
"Membership",
65+
"MembershipEndpoint",
66+
"MembershipState",
67+
"ConnectAgentResource",
68+
"CreateFeatureRequest",
69+
"CreateMembershipRequest",
70+
"DeleteFeatureRequest",
71+
"DeleteMembershipRequest",
72+
"GenerateConnectManifestRequest",
73+
"GenerateConnectManifestResponse",
74+
"GetFeatureRequest",
75+
"GetMembershipRequest",
76+
"ListFeaturesRequest",
77+
"ListFeaturesResponse",
78+
"ListMembershipsRequest",
79+
"ListMembershipsResponse",
80+
"OperationMetadata",
81+
"TypeMeta",
82+
"UpdateFeatureRequest",
83+
"UpdateMembershipRequest",
84+
)

packages/google-cloud-gke-hub/google/cloud/gkehub/configmanagement/__init__.py

Lines changed: 0 additions & 94 deletions
This file was deleted.

packages/google-cloud-gke-hub/google/cloud/gkehub/configmanagement/py.typed

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/google-cloud-gke-hub/google/cloud/gkehub/configmanagement_v1/types/configmanagement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020

2121
__protobuf__ = proto.module(
22-
package="google.cloud.gkehub.configmanagement_v1",
22+
package="google.cloud.gkehub.configmanagement.v1",
2323
manifest={
2424
"DeploymentState",
2525
"MembershipState",

packages/google-cloud-gke-hub/google/cloud/gkehub/multiclusteringress/__init__.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

packages/google-cloud-gke-hub/google/cloud/gkehub/multiclusteringress/py.typed

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/google-cloud-gke-hub/google/cloud/gkehub/multiclusteringress_v1/types/multiclusteringress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
__protobuf__ = proto.module(
20-
package="google.cloud.gkehub.multiclusteringress_v1", manifest={"FeatureSpec",},
20+
package="google.cloud.gkehub.multiclusteringress.v1", manifest={"FeatureSpec",},
2121
)
2222

2323

packages/google-cloud-gke-hub/google/cloud/gkehub_v1/services/gke_hub/async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ class GkeHubAsyncClient:
4747
4848
The GKE Hub service operates on the following resources:
4949
50-
- [Membership][google.cloud.gkehub_v1.Membership]
51-
- [Feature][google.cloud.gkehub_v1.Feature]
50+
- [Membership][google.cloud.gkehub.v1.Membership]
51+
- [Feature][google.cloud.gkehub.v1.Feature]
5252
5353
GKE Hub is currently only available in the global region.
5454

packages/google-cloud-gke-hub/google/cloud/gkehub_v1/services/gke_hub/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ class GkeHubClient(metaclass=GkeHubClientMeta):
8282
8383
The GKE Hub service operates on the following resources:
8484
85-
- [Membership][google.cloud.gkehub_v1.Membership]
86-
- [Feature][google.cloud.gkehub_v1.Feature]
85+
- [Membership][google.cloud.gkehub.v1.Membership]
86+
- [Feature][google.cloud.gkehub.v1.Feature]
8787
8888
GKE Hub is currently only available in the global region.
8989

packages/google-cloud-gke-hub/google/cloud/gkehub_v1/services/gke_hub/transports/grpc.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ class GkeHubGrpcTransport(GkeHubTransport):
4141
4242
The GKE Hub service operates on the following resources:
4343
44-
- [Membership][google.cloud.gkehub_v1.Membership]
45-
- [Feature][google.cloud.gkehub_v1.Feature]
44+
- [Membership][google.cloud.gkehub.v1.Membership]
45+
- [Feature][google.cloud.gkehub.v1.Feature]
4646
4747
GKE Hub is currently only available in the global region.
4848
@@ -277,7 +277,7 @@ def list_memberships(
277277
# to pass in the functions for each.
278278
if "list_memberships" not in self._stubs:
279279
self._stubs["list_memberships"] = self.grpc_channel.unary_unary(
280-
"/google.cloud.gkehub_v1.GkeHub/ListMemberships",
280+
"/google.cloud.gkehub.v1.GkeHub/ListMemberships",
281281
request_serializer=service.ListMembershipsRequest.serialize,
282282
response_deserializer=service.ListMembershipsResponse.deserialize,
283283
)
@@ -303,7 +303,7 @@ def list_features(
303303
# to pass in the functions for each.
304304
if "list_features" not in self._stubs:
305305
self._stubs["list_features"] = self.grpc_channel.unary_unary(
306-
"/google.cloud.gkehub_v1.GkeHub/ListFeatures",
306+
"/google.cloud.gkehub.v1.GkeHub/ListFeatures",
307307
request_serializer=service.ListFeaturesRequest.serialize,
308308
response_deserializer=service.ListFeaturesResponse.deserialize,
309309
)
@@ -329,7 +329,7 @@ def get_membership(
329329
# to pass in the functions for each.
330330
if "get_membership" not in self._stubs:
331331
self._stubs["get_membership"] = self.grpc_channel.unary_unary(
332-
"/google.cloud.gkehub_v1.GkeHub/GetMembership",
332+
"/google.cloud.gkehub.v1.GkeHub/GetMembership",
333333
request_serializer=service.GetMembershipRequest.serialize,
334334
response_deserializer=membership.Membership.deserialize,
335335
)
@@ -353,7 +353,7 @@ def get_feature(self) -> Callable[[service.GetFeatureRequest], feature.Feature]:
353353
# to pass in the functions for each.
354354
if "get_feature" not in self._stubs:
355355
self._stubs["get_feature"] = self.grpc_channel.unary_unary(
356-
"/google.cloud.gkehub_v1.GkeHub/GetFeature",
356+
"/google.cloud.gkehub.v1.GkeHub/GetFeature",
357357
request_serializer=service.GetFeatureRequest.serialize,
358358
response_deserializer=feature.Feature.deserialize,
359359
)
@@ -383,7 +383,7 @@ def create_membership(
383383
# to pass in the functions for each.
384384
if "create_membership" not in self._stubs:
385385
self._stubs["create_membership"] = self.grpc_channel.unary_unary(
386-
"/google.cloud.gkehub_v1.GkeHub/CreateMembership",
386+
"/google.cloud.gkehub.v1.GkeHub/CreateMembership",
387387
request_serializer=service.CreateMembershipRequest.serialize,
388388
response_deserializer=operations_pb2.Operation.FromString,
389389
)
@@ -409,7 +409,7 @@ def create_feature(
409409
# to pass in the functions for each.
410410
if "create_feature" not in self._stubs:
411411
self._stubs["create_feature"] = self.grpc_channel.unary_unary(
412-
"/google.cloud.gkehub_v1.GkeHub/CreateFeature",
412+
"/google.cloud.gkehub.v1.GkeHub/CreateFeature",
413413
request_serializer=service.CreateFeatureRequest.serialize,
414414
response_deserializer=operations_pb2.Operation.FromString,
415415
)
@@ -440,7 +440,7 @@ def delete_membership(
440440
# to pass in the functions for each.
441441
if "delete_membership" not in self._stubs:
442442
self._stubs["delete_membership"] = self.grpc_channel.unary_unary(
443-
"/google.cloud.gkehub_v1.GkeHub/DeleteMembership",
443+
"/google.cloud.gkehub.v1.GkeHub/DeleteMembership",
444444
request_serializer=service.DeleteMembershipRequest.serialize,
445445
response_deserializer=operations_pb2.Operation.FromString,
446446
)
@@ -466,7 +466,7 @@ def delete_feature(
466466
# to pass in the functions for each.
467467
if "delete_feature" not in self._stubs:
468468
self._stubs["delete_feature"] = self.grpc_channel.unary_unary(
469-
"/google.cloud.gkehub_v1.GkeHub/DeleteFeature",
469+
"/google.cloud.gkehub.v1.GkeHub/DeleteFeature",
470470
request_serializer=service.DeleteFeatureRequest.serialize,
471471
response_deserializer=operations_pb2.Operation.FromString,
472472
)
@@ -492,7 +492,7 @@ def update_membership(
492492
# to pass in the functions for each.
493493
if "update_membership" not in self._stubs:
494494
self._stubs["update_membership"] = self.grpc_channel.unary_unary(
495-
"/google.cloud.gkehub_v1.GkeHub/UpdateMembership",
495+
"/google.cloud.gkehub.v1.GkeHub/UpdateMembership",
496496
request_serializer=service.UpdateMembershipRequest.serialize,
497497
response_deserializer=operations_pb2.Operation.FromString,
498498
)
@@ -518,7 +518,7 @@ def update_feature(
518518
# to pass in the functions for each.
519519
if "update_feature" not in self._stubs:
520520
self._stubs["update_feature"] = self.grpc_channel.unary_unary(
521-
"/google.cloud.gkehub_v1.GkeHub/UpdateFeature",
521+
"/google.cloud.gkehub.v1.GkeHub/UpdateFeature",
522522
request_serializer=service.UpdateFeatureRequest.serialize,
523523
response_deserializer=operations_pb2.Operation.FromString,
524524
)
@@ -550,7 +550,7 @@ def generate_connect_manifest(
550550
# to pass in the functions for each.
551551
if "generate_connect_manifest" not in self._stubs:
552552
self._stubs["generate_connect_manifest"] = self.grpc_channel.unary_unary(
553-
"/google.cloud.gkehub_v1.GkeHub/GenerateConnectManifest",
553+
"/google.cloud.gkehub.v1.GkeHub/GenerateConnectManifest",
554554
request_serializer=service.GenerateConnectManifestRequest.serialize,
555555
response_deserializer=service.GenerateConnectManifestResponse.deserialize,
556556
)

0 commit comments

Comments
 (0)