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

chore: Update gapic-generator-python to v1.6.1 #186

Merged
merged 20 commits into from
Nov 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/release-please.yml
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
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.3.3"
}
1 change: 0 additions & 1 deletion docs/binaryauthorization_v1/types.rst
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:
1 change: 0 additions & 1 deletion docs/binaryauthorization_v1beta1/types.rst
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 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 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
51 changes: 26 additions & 25 deletions google/cloud/binaryauthorization/__init__.py
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
16 changes: 16 additions & 0 deletions google/cloud/binaryauthorization/gapic_version.py
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}
56 changes: 32 additions & 24 deletions google/cloud/binaryauthorization_v1/__init__.py
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