Skip to content

Commit

Permalink
chore: Update gapic-generator-python to v1.6.1 (#186)
Browse files Browse the repository at this point in the history
* 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: googleapis/googleapis-gen@c8aa327
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: googleapis/googleapis-gen@61ef576
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: googleapis/googleapis-gen@ab0e217
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: googleapis/googleapis-gen@555c094
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]>
  • Loading branch information
3 people authored Nov 21, 2022
1 parent 1070870 commit d9fad11
Show file tree
Hide file tree
Showing 69 changed files with 984 additions and 771 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
releaseType: python
handleGHRelease: true
manifest: true
# NOTE: this section is generated by synthtool.languages.python
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
branches:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.3.3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ Types for Google Cloud Binaryauthorization v1 API

.. automodule:: google.cloud.binaryauthorization_v1.types
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ Types for Google Cloud Binaryauthorization v1beta1 API

.. automodule:: google.cloud.binaryauthorization_v1beta1.types
:members:
:undoc-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion packages/google-cloud-binary-authorization/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys
import os
import shlex
import sys

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down
8 changes: 5 additions & 3 deletions packages/google-cloud-binary-authorization/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
.. include:: multiprocessing.rst

This package includes clients for multiple versions of Binary Authorization.
By default, you will get version ``v1``.
By default, you will get version ``binaryauthorization_v1``.


API Reference
-------------
Expand All @@ -21,12 +22,13 @@ API Reference
binaryauthorization_v1beta1/services
binaryauthorization_v1beta1/types


Changelog
---------

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

.. toctree::
:maxdepth: 2
:maxdepth: 2

changelog
changelog
Original file line number Diff line number Diff line change
Expand Up @@ -13,48 +13,49 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.binaryauthorization import gapic_version as package_version

__version__ = package_version.__version__


from google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.client import (
BinauthzManagementServiceV1Client,
)
from google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.async_client import (
BinauthzManagementServiceV1AsyncClient,
)
from google.cloud.binaryauthorization_v1.services.system_policy_v1.client import (
SystemPolicyV1Client,
from google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.client import (
BinauthzManagementServiceV1Client,
)
from google.cloud.binaryauthorization_v1.services.system_policy_v1.async_client import (
SystemPolicyV1AsyncClient,
)
from google.cloud.binaryauthorization_v1.services.validation_helper_v1.client import (
ValidationHelperV1Client,
from google.cloud.binaryauthorization_v1.services.system_policy_v1.client import (
SystemPolicyV1Client,
)
from google.cloud.binaryauthorization_v1.services.validation_helper_v1.async_client import (
ValidationHelperV1AsyncClient,
)

from google.cloud.binaryauthorization_v1.types.resources import AdmissionRule
from google.cloud.binaryauthorization_v1.services.validation_helper_v1.client import (
ValidationHelperV1Client,
)
from google.cloud.binaryauthorization_v1.types.resources import (
AdmissionRule,
AdmissionWhitelistPattern,
Attestor,
AttestorPublicKey,
PkixPublicKey,
Policy,
UserOwnedGrafeasNote,
)
from google.cloud.binaryauthorization_v1.types.resources import Attestor
from google.cloud.binaryauthorization_v1.types.resources import AttestorPublicKey
from google.cloud.binaryauthorization_v1.types.resources import PkixPublicKey
from google.cloud.binaryauthorization_v1.types.resources import Policy
from google.cloud.binaryauthorization_v1.types.resources import UserOwnedGrafeasNote
from google.cloud.binaryauthorization_v1.types.service import CreateAttestorRequest
from google.cloud.binaryauthorization_v1.types.service import DeleteAttestorRequest
from google.cloud.binaryauthorization_v1.types.service import GetAttestorRequest
from google.cloud.binaryauthorization_v1.types.service import GetPolicyRequest
from google.cloud.binaryauthorization_v1.types.service import GetSystemPolicyRequest
from google.cloud.binaryauthorization_v1.types.service import ListAttestorsRequest
from google.cloud.binaryauthorization_v1.types.service import ListAttestorsResponse
from google.cloud.binaryauthorization_v1.types.service import UpdateAttestorRequest
from google.cloud.binaryauthorization_v1.types.service import UpdatePolicyRequest
from google.cloud.binaryauthorization_v1.types.service import (
CreateAttestorRequest,
DeleteAttestorRequest,
GetAttestorRequest,
GetPolicyRequest,
GetSystemPolicyRequest,
ListAttestorsRequest,
ListAttestorsResponse,
UpdateAttestorRequest,
UpdatePolicyRequest,
ValidateAttestationOccurrenceRequest,
)
from google.cloud.binaryauthorization_v1.types.service import (
ValidateAttestationOccurrenceResponse,
)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright 2022 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__ = "1.3.3" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,42 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.binaryauthorization import gapic_version as package_version

__version__ = package_version.__version__


from .services.binauthz_management_service_v1 import BinauthzManagementServiceV1Client
from .services.binauthz_management_service_v1 import (
BinauthzManagementServiceV1AsyncClient,
BinauthzManagementServiceV1Client,
)
from .services.system_policy_v1 import SystemPolicyV1AsyncClient, SystemPolicyV1Client
from .services.validation_helper_v1 import (
ValidationHelperV1AsyncClient,
ValidationHelperV1Client,
)
from .types.resources import (
AdmissionRule,
AdmissionWhitelistPattern,
Attestor,
AttestorPublicKey,
PkixPublicKey,
Policy,
UserOwnedGrafeasNote,
)
from .types.service import (
CreateAttestorRequest,
DeleteAttestorRequest,
GetAttestorRequest,
GetPolicyRequest,
GetSystemPolicyRequest,
ListAttestorsRequest,
ListAttestorsResponse,
UpdateAttestorRequest,
UpdatePolicyRequest,
ValidateAttestationOccurrenceRequest,
ValidateAttestationOccurrenceResponse,
)
from .services.system_policy_v1 import SystemPolicyV1Client
from .services.system_policy_v1 import SystemPolicyV1AsyncClient
from .services.validation_helper_v1 import ValidationHelperV1Client
from .services.validation_helper_v1 import ValidationHelperV1AsyncClient

from .types.resources import AdmissionRule
from .types.resources import AdmissionWhitelistPattern
from .types.resources import Attestor
from .types.resources import AttestorPublicKey
from .types.resources import PkixPublicKey
from .types.resources import Policy
from .types.resources import UserOwnedGrafeasNote
from .types.service import CreateAttestorRequest
from .types.service import DeleteAttestorRequest
from .types.service import GetAttestorRequest
from .types.service import GetPolicyRequest
from .types.service import GetSystemPolicyRequest
from .types.service import ListAttestorsRequest
from .types.service import ListAttestorsResponse
from .types.service import UpdateAttestorRequest
from .types.service import UpdatePolicyRequest
from .types.service import ValidateAttestationOccurrenceRequest
from .types.service import ValidateAttestationOccurrenceResponse

__all__ = (
"BinauthzManagementServiceV1AsyncClient",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from .client import BinauthzManagementServiceV1Client
from .async_client import BinauthzManagementServiceV1AsyncClient
from .client import BinauthzManagementServiceV1Client

__all__ = (
"BinauthzManagementServiceV1Client",
Expand Down
Loading

0 comments on commit d9fad11

Please sign in to comment.