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

Commit 2df0de1

Browse files
chore: Update gapic-generator-python to v1.6.1 (#186)
* chore: update to gapic-generator-python 1.5.0 feat: add support for `google.cloud.<api>.__version__` PiperOrigin-RevId: 484665853 Source-Link: googleapis/googleapis@8eb249a Source-Link: https://github.com/googleapis/googleapis-gen/commit/c8aa327b5f478865fc3fd91e3c2768e54e26ad44 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhhYTMyN2I1ZjQ3ODg2NWZjM2ZkOTFlM2MyNzY4ZTU0ZTI2YWQ0NCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update version in gapic_version.py * add .release-please-manifest.json with correct version * set manifest to true in .github/release-please.yml * add release-please-config.json * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: Update to gapic-generator-python 1.6.0 feat(python): Add typing to proto.Message based class attributes feat(python): Snippetgen handling of repeated enum field PiperOrigin-RevId: 487326846 Source-Link: googleapis/googleapis@da380c7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/61ef5762ee6731a0cbbfea22fd0eecee51ab1c8e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjFlZjU3NjJlZTY3MzFhMGNiYmZlYTIyZmQwZWVjZWU1MWFiMWM4ZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: new APIs added to reflect updates to the filestore service - Add ENTERPRISE Tier - Add snapshot APIs: RevertInstance, ListSnapshots, CreateSnapshot, DeleteSnapshot, UpdateSnapshot - Add multi-share APIs: ListShares, GetShare, CreateShare, DeleteShare, UpdateShare - Add ConnectMode to NetworkConfig (for Private Service Access support) - New status codes (SUSPENDED/SUSPENDING, REVERTING/RESUMING) - Add SuspensionReason (for KMS related suspension) - Add new fields to Instance information: max_capacity_gb, capacity_step_size_gb, max_share_count, capacity_gb, multi_share_enabled PiperOrigin-RevId: 487492758 Source-Link: googleapis/googleapis@5be5981 Source-Link: https://github.com/googleapis/googleapis-gen/commit/ab0e217f560cc2c1afc11441c2eab6b6950efd2b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWIwZTIxN2Y1NjBjYzJjMWFmYzExNDQxYzJlYWI2YjY5NTBlZmQyYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update path to snippet metadata json * chore: Update gapic-generator-python to v1.6.1 PiperOrigin-RevId: 488036204 Source-Link: googleapis/googleapis@08f275f Source-Link: https://github.com/googleapis/googleapis-gen/commit/555c0945e60649e38739ae64bc45719cdf72178f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTU1YzA5NDVlNjA2NDllMzg3MzlhZTY0YmM0NTcxOWNkZjcyMTc4ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * use templated owlbot.py * use templated setup.py * run nox format session * update replacement in owlbot.py Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 31ba831 commit 2df0de1

File tree

69 files changed

+984
-771
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+984
-771
lines changed

.github/release-please.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
releaseType: python
22
handleGHRelease: true
3+
manifest: true
34
# NOTE: this section is generated by synthtool.languages.python
45
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
56
branches:

.release-please-manifest.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.3.3"
3+
}

docs/binaryauthorization_v1/types.rst

-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ Types for Google Cloud Binaryauthorization v1 API
33

44
.. automodule:: google.cloud.binaryauthorization_v1.types
55
:members:
6-
:undoc-members:
76
:show-inheritance:

docs/binaryauthorization_v1beta1/types.rst

-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ Types for Google Cloud Binaryauthorization v1beta1 API
33

44
.. automodule:: google.cloud.binaryauthorization_v1beta1.types
55
:members:
6-
:undoc-members:
76
:show-inheritance:

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
# All configuration values have a default; values that are commented out
2525
# serve to show the default.
2626

27-
import sys
2827
import os
2928
import shlex
29+
import sys
3030

3131
# If extensions (or modules to document with autodoc) are in another directory,
3232
# add these directories to sys.path here. If the directory is relative to the

docs/index.rst

+5-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
.. include:: multiprocessing.rst
44

55
This package includes clients for multiple versions of Binary Authorization.
6-
By default, you will get version ``v1``.
6+
By default, you will get version ``binaryauthorization_v1``.
7+
78

89
API Reference
910
-------------
@@ -21,12 +22,13 @@ API Reference
2122
binaryauthorization_v1beta1/services
2223
binaryauthorization_v1beta1/types
2324

25+
2426
Changelog
2527
---------
2628

2729
For a list of all ``google-cloud-binary-authorization`` releases:
2830

2931
.. toctree::
30-
:maxdepth: 2
32+
:maxdepth: 2
3133

32-
changelog
34+
changelog

google/cloud/binaryauthorization/__init__.py

+26-25
Original file line numberDiff line numberDiff line change
@@ -13,48 +13,49 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from google.cloud.binaryauthorization import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
1620

17-
from google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.client import (
18-
BinauthzManagementServiceV1Client,
19-
)
2021
from google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.async_client import (
2122
BinauthzManagementServiceV1AsyncClient,
2223
)
23-
from google.cloud.binaryauthorization_v1.services.system_policy_v1.client import (
24-
SystemPolicyV1Client,
24+
from google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.client import (
25+
BinauthzManagementServiceV1Client,
2526
)
2627
from google.cloud.binaryauthorization_v1.services.system_policy_v1.async_client import (
2728
SystemPolicyV1AsyncClient,
2829
)
29-
from google.cloud.binaryauthorization_v1.services.validation_helper_v1.client import (
30-
ValidationHelperV1Client,
30+
from google.cloud.binaryauthorization_v1.services.system_policy_v1.client import (
31+
SystemPolicyV1Client,
3132
)
3233
from google.cloud.binaryauthorization_v1.services.validation_helper_v1.async_client import (
3334
ValidationHelperV1AsyncClient,
3435
)
35-
36-
from google.cloud.binaryauthorization_v1.types.resources import AdmissionRule
36+
from google.cloud.binaryauthorization_v1.services.validation_helper_v1.client import (
37+
ValidationHelperV1Client,
38+
)
3739
from google.cloud.binaryauthorization_v1.types.resources import (
40+
AdmissionRule,
3841
AdmissionWhitelistPattern,
42+
Attestor,
43+
AttestorPublicKey,
44+
PkixPublicKey,
45+
Policy,
46+
UserOwnedGrafeasNote,
3947
)
40-
from google.cloud.binaryauthorization_v1.types.resources import Attestor
41-
from google.cloud.binaryauthorization_v1.types.resources import AttestorPublicKey
42-
from google.cloud.binaryauthorization_v1.types.resources import PkixPublicKey
43-
from google.cloud.binaryauthorization_v1.types.resources import Policy
44-
from google.cloud.binaryauthorization_v1.types.resources import UserOwnedGrafeasNote
45-
from google.cloud.binaryauthorization_v1.types.service import CreateAttestorRequest
46-
from google.cloud.binaryauthorization_v1.types.service import DeleteAttestorRequest
47-
from google.cloud.binaryauthorization_v1.types.service import GetAttestorRequest
48-
from google.cloud.binaryauthorization_v1.types.service import GetPolicyRequest
49-
from google.cloud.binaryauthorization_v1.types.service import GetSystemPolicyRequest
50-
from google.cloud.binaryauthorization_v1.types.service import ListAttestorsRequest
51-
from google.cloud.binaryauthorization_v1.types.service import ListAttestorsResponse
52-
from google.cloud.binaryauthorization_v1.types.service import UpdateAttestorRequest
53-
from google.cloud.binaryauthorization_v1.types.service import UpdatePolicyRequest
5448
from google.cloud.binaryauthorization_v1.types.service import (
49+
CreateAttestorRequest,
50+
DeleteAttestorRequest,
51+
GetAttestorRequest,
52+
GetPolicyRequest,
53+
GetSystemPolicyRequest,
54+
ListAttestorsRequest,
55+
ListAttestorsResponse,
56+
UpdateAttestorRequest,
57+
UpdatePolicyRequest,
5558
ValidateAttestationOccurrenceRequest,
56-
)
57-
from google.cloud.binaryauthorization_v1.types.service import (
5859
ValidateAttestationOccurrenceResponse,
5960
)
6061

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2022 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+
__version__ = "1.3.3" # {x-release-please-version}

google/cloud/binaryauthorization_v1/__init__.py

+32-24
Original file line numberDiff line numberDiff line change
@@ -13,34 +13,42 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from google.cloud.binaryauthorization import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
1620

17-
from .services.binauthz_management_service_v1 import BinauthzManagementServiceV1Client
1821
from .services.binauthz_management_service_v1 import (
1922
BinauthzManagementServiceV1AsyncClient,
23+
BinauthzManagementServiceV1Client,
24+
)
25+
from .services.system_policy_v1 import SystemPolicyV1AsyncClient, SystemPolicyV1Client
26+
from .services.validation_helper_v1 import (
27+
ValidationHelperV1AsyncClient,
28+
ValidationHelperV1Client,
29+
)
30+
from .types.resources import (
31+
AdmissionRule,
32+
AdmissionWhitelistPattern,
33+
Attestor,
34+
AttestorPublicKey,
35+
PkixPublicKey,
36+
Policy,
37+
UserOwnedGrafeasNote,
38+
)
39+
from .types.service import (
40+
CreateAttestorRequest,
41+
DeleteAttestorRequest,
42+
GetAttestorRequest,
43+
GetPolicyRequest,
44+
GetSystemPolicyRequest,
45+
ListAttestorsRequest,
46+
ListAttestorsResponse,
47+
UpdateAttestorRequest,
48+
UpdatePolicyRequest,
49+
ValidateAttestationOccurrenceRequest,
50+
ValidateAttestationOccurrenceResponse,
2051
)
21-
from .services.system_policy_v1 import SystemPolicyV1Client
22-
from .services.system_policy_v1 import SystemPolicyV1AsyncClient
23-
from .services.validation_helper_v1 import ValidationHelperV1Client
24-
from .services.validation_helper_v1 import ValidationHelperV1AsyncClient
25-
26-
from .types.resources import AdmissionRule
27-
from .types.resources import AdmissionWhitelistPattern
28-
from .types.resources import Attestor
29-
from .types.resources import AttestorPublicKey
30-
from .types.resources import PkixPublicKey
31-
from .types.resources import Policy
32-
from .types.resources import UserOwnedGrafeasNote
33-
from .types.service import CreateAttestorRequest
34-
from .types.service import DeleteAttestorRequest
35-
from .types.service import GetAttestorRequest
36-
from .types.service import GetPolicyRequest
37-
from .types.service import GetSystemPolicyRequest
38-
from .types.service import ListAttestorsRequest
39-
from .types.service import ListAttestorsResponse
40-
from .types.service import UpdateAttestorRequest
41-
from .types.service import UpdatePolicyRequest
42-
from .types.service import ValidateAttestationOccurrenceRequest
43-
from .types.service import ValidateAttestationOccurrenceResponse
4452

4553
__all__ = (
4654
"BinauthzManagementServiceV1AsyncClient",

google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
from .client import BinauthzManagementServiceV1Client
1716
from .async_client import BinauthzManagementServiceV1AsyncClient
17+
from .client import BinauthzManagementServiceV1Client
1818

1919
__all__ = (
2020
"BinauthzManagementServiceV1Client",

0 commit comments

Comments
 (0)