-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add binaryauthorization v1 (#74)
Closes #12 - [ ] Regenerate this pull request now. Committer: @alexander-fenster PiperOrigin-RevId: 398308923 Source-Link: googleapis/googleapis@a3dccab Source-Link: googleapis/googleapis-gen@d475ce1 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDQ3NWNlMThkNTBjOTBlY2RjMjdlNDI1ZmRkNDk4YjI2OTEyMjY2ZCJ9 fix: require grafeas>=1.1.2, proto-plus>=1.15.0 docs: fix broken links in README feat: set binaryauthorization_v1 as the default version
- Loading branch information
1 parent
1617410
commit 7136d0f
Showing
45 changed files
with
12,671 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...ry-authorization/docs/binaryauthorization_v1/binauthz_management_service_v1.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
BinauthzManagementServiceV1 | ||
--------------------------------------------- | ||
|
||
.. automodule:: google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1 | ||
:members: | ||
:inherited-members: | ||
|
||
.. automodule:: google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.pagers | ||
:members: | ||
:inherited-members: |
8 changes: 8 additions & 0 deletions
8
...ages/google-cloud-binary-authorization/docs/binaryauthorization_v1/services.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Services for Google Cloud Binaryauthorization v1 API | ||
==================================================== | ||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
binauthz_management_service_v1 | ||
system_policy_v1 | ||
validation_helper_v1 |
6 changes: 6 additions & 0 deletions
6
...gle-cloud-binary-authorization/docs/binaryauthorization_v1/system_policy_v1.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
SystemPolicyV1 | ||
-------------------------------- | ||
|
||
.. automodule:: google.cloud.binaryauthorization_v1.services.system_policy_v1 | ||
:members: | ||
:inherited-members: |
7 changes: 7 additions & 0 deletions
7
packages/google-cloud-binary-authorization/docs/binaryauthorization_v1/types.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Types for Google Cloud Binaryauthorization v1 API | ||
================================================= | ||
|
||
.. automodule:: google.cloud.binaryauthorization_v1.types | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
6 changes: 6 additions & 0 deletions
6
...cloud-binary-authorization/docs/binaryauthorization_v1/validation_helper_v1.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ValidationHelperV1 | ||
------------------------------------ | ||
|
||
.. automodule:: google.cloud.binaryauthorization_v1.services.validation_helper_v1 | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
packages/google-cloud-binary-authorization/google/cloud/binaryauthorization_v1/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# -*- 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 .services.binauthz_management_service_v1 import BinauthzManagementServiceV1Client | ||
from .services.binauthz_management_service_v1 import ( | ||
BinauthzManagementServiceV1AsyncClient, | ||
) | ||
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", | ||
"SystemPolicyV1AsyncClient", | ||
"ValidationHelperV1AsyncClient", | ||
"AdmissionRule", | ||
"AdmissionWhitelistPattern", | ||
"Attestor", | ||
"AttestorPublicKey", | ||
"BinauthzManagementServiceV1Client", | ||
"CreateAttestorRequest", | ||
"DeleteAttestorRequest", | ||
"GetAttestorRequest", | ||
"GetPolicyRequest", | ||
"GetSystemPolicyRequest", | ||
"ListAttestorsRequest", | ||
"ListAttestorsResponse", | ||
"PkixPublicKey", | ||
"Policy", | ||
"SystemPolicyV1Client", | ||
"UpdateAttestorRequest", | ||
"UpdatePolicyRequest", | ||
"UserOwnedGrafeasNote", | ||
"ValidateAttestationOccurrenceRequest", | ||
"ValidateAttestationOccurrenceResponse", | ||
"ValidationHelperV1Client", | ||
) |
Oops, something went wrong.