Skip to content

Commit 0f87864

Browse files
yoshi-automationdinagravesgcf-owl-bot[bot]
authored
feat: Publish Binary Authorization ContinuousValidationEvent proto (#31)
* changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * chore: upgrade gapic-generator-python to 0.43.2 PiperOrigin-RevId: 366826395 Source-Author: Google APIs <[email protected]> Source-Date: Mon Apr 5 10:39:44 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 2490be32f08cccc870862ea86920f58325795c89 Source-Link: googleapis/googleapis@2490be3 * chore: upgrade to gapic-generator-python 0.44.0 chore: add GAPIC metadata feat: add support for self-signed JWT PiperOrigin-RevId: 370525906 Source-Author: Google APIs <[email protected]> Source-Date: Mon Apr 26 13:12:26 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 60e129d0672a1be2c70b41bf76aadc7ad1b1ca0f Source-Link: googleapis/googleapis@60e129d * chore: upgrade gapic-generator python to 0.44.1 PiperOrigin-RevId: 370926454 Source-Author: Google APIs <[email protected]> Source-Date: Wed Apr 28 09:58:07 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 382ed8de075e1ddc9baa4ebf8dbc5b2c257a77b8 Source-Link: googleapis/googleapis@382ed8d * chore: upgrade gapic-generator python to 0.44.1 PiperOrigin-RevId: 370989216 Source-Author: Google APIs <[email protected]> Source-Date: Wed Apr 28 14:42:12 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 4e825559e5ab242c4d1aafca19c83c4d1bac743e Source-Link: googleapis/googleapis@4e82555 * chore: revert to gapic-generator-python 0.43.3 PiperOrigin-RevId: 371362703 Source-Author: Google APIs <[email protected]> Source-Date: Fri Apr 30 10:44:40 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 5a04154e7c7c0e98e0e4085f6e2c67bd5bff6ff8 Source-Link: googleapis/googleapis@5a04154 * fix: add async client to %name_%version/init.py chore: add autogenerated snippets chore: remove auth, policy, and options from the reserved names list feat: support self-signed JWT flow for service accounts chore: enable GAPIC metadata generation chore: sort subpackages in %namespace/%name/init.py PiperOrigin-RevId: 372197450 Source-Author: Google APIs <[email protected]> Source-Date: Wed May 5 13:39:02 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 83a7e1c8c2f7421ded45ed323eb1fda99ef5ea46 Source-Link: googleapis/googleapis@83a7e1c * feat: Publish Binary Authorization ContinuousValidationEvent proto. This is used in the new Continuous Validation feature: https://cloud.google.com/binary-authorization/docs/overview-cv Committer: @rbutoi PiperOrigin-RevId: 373173593 Source-Author: Google APIs <[email protected]> Source-Date: Tue May 11 09:50:37 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: bceaea9f824a0d3600cd6a868ea457ac18980049 Source-Link: googleapis/googleapis@bceaea9 * chore: upgrade gapic-generator-python to 0.46.1 PiperOrigin-RevId: 373400747 Source-Author: Google APIs <[email protected]> Source-Date: Wed May 12 10:34:35 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 162641cfe5573c648df679a6dd30385650a08704 Source-Link: googleapis/googleapis@162641c * chore: upgrade gapic-generator-python to 0.46.3 PiperOrigin-RevId: 373649163 Source-Author: Google APIs <[email protected]> Source-Date: Thu May 13 13:40:36 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 7e1b14e6c7a9ab96d2db7e4a131981f162446d34 Source-Link: googleapis/googleapis@7e1b14e * Delete synth.metadata Removed in previous PR * 🦉 Updates from OwlBot Co-authored-by: Dina Graves Portman <[email protected]> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 49d259a commit 0f87864

File tree

24 files changed

+842
-478
lines changed

24 files changed

+842
-478
lines changed

packages/google-cloud-binary-authorization/.coveragerc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
branch = True
33

44
[report]
5-
fail_under = 100
65
show_missing = True
76
omit =
87
google/cloud/binaryauthorization/__init__.py

packages/google-cloud-binary-authorization/docs/binaryauthorization_v1beta1/binauthz_management_service_v1_beta1.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ BinauthzManagementServiceV1Beta1
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.pagers
109
:members:
1110
:inherited-members:

packages/google-cloud-binary-authorization/google/cloud/binaryauthorization/__init__.py

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,11 +14,15 @@
1514
# limitations under the License.
1615
#
1716

17+
from google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.client import (
18+
BinauthzManagementServiceV1Beta1Client,
19+
)
1820
from google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.async_client import (
1921
BinauthzManagementServiceV1Beta1AsyncClient,
2022
)
21-
from google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.client import (
22-
BinauthzManagementServiceV1Beta1Client,
23+
24+
from google.cloud.binaryauthorization_v1beta1.types.continuous_validation_logging import (
25+
ContinuousValidationEvent,
2326
)
2427
from google.cloud.binaryauthorization_v1beta1.types.resources import AdmissionRule
2528
from google.cloud.binaryauthorization_v1beta1.types.resources import (
@@ -42,21 +45,22 @@
4245
from google.cloud.binaryauthorization_v1beta1.types.service import UpdatePolicyRequest
4346

4447
__all__ = (
48+
"BinauthzManagementServiceV1Beta1Client",
49+
"BinauthzManagementServiceV1Beta1AsyncClient",
50+
"ContinuousValidationEvent",
4551
"AdmissionRule",
4652
"AdmissionWhitelistPattern",
4753
"Attestor",
4854
"AttestorPublicKey",
49-
"BinauthzManagementServiceV1Beta1AsyncClient",
50-
"BinauthzManagementServiceV1Beta1Client",
55+
"PkixPublicKey",
56+
"Policy",
57+
"UserOwnedDrydockNote",
5158
"CreateAttestorRequest",
5259
"DeleteAttestorRequest",
5360
"GetAttestorRequest",
5461
"GetPolicyRequest",
5562
"ListAttestorsRequest",
5663
"ListAttestorsResponse",
57-
"PkixPublicKey",
58-
"Policy",
5964
"UpdateAttestorRequest",
6065
"UpdatePolicyRequest",
61-
"UserOwnedDrydockNote",
6266
)

packages/google-cloud-binary-authorization/google/cloud/binaryauthorization_v1beta1/__init__.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +17,11 @@
1817
from .services.binauthz_management_service_v1_beta1 import (
1918
BinauthzManagementServiceV1Beta1Client,
2019
)
20+
from .services.binauthz_management_service_v1_beta1 import (
21+
BinauthzManagementServiceV1Beta1AsyncClient,
22+
)
23+
24+
from .types.continuous_validation_logging import ContinuousValidationEvent
2125
from .types.resources import AdmissionRule
2226
from .types.resources import AdmissionWhitelistPattern
2327
from .types.resources import Attestor
@@ -34,12 +38,14 @@
3438
from .types.service import UpdateAttestorRequest
3539
from .types.service import UpdatePolicyRequest
3640

37-
3841
__all__ = (
42+
"BinauthzManagementServiceV1Beta1AsyncClient",
3943
"AdmissionRule",
4044
"AdmissionWhitelistPattern",
4145
"Attestor",
4246
"AttestorPublicKey",
47+
"BinauthzManagementServiceV1Beta1Client",
48+
"ContinuousValidationEvent",
4349
"CreateAttestorRequest",
4450
"DeleteAttestorRequest",
4551
"GetAttestorRequest",
@@ -51,5 +57,4 @@
5157
"UpdateAttestorRequest",
5258
"UpdatePolicyRequest",
5359
"UserOwnedDrydockNote",
54-
"BinauthzManagementServiceV1Beta1Client",
5560
)
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.cloud.binaryauthorization_v1beta1",
5+
"protoPackage": "google.cloud.binaryauthorization.v1beta1",
6+
"schema": "1.0",
7+
"services": {
8+
"BinauthzManagementServiceV1Beta1": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "BinauthzManagementServiceV1Beta1Client",
12+
"rpcs": {
13+
"CreateAttestor": {
14+
"methods": [
15+
"create_attestor"
16+
]
17+
},
18+
"DeleteAttestor": {
19+
"methods": [
20+
"delete_attestor"
21+
]
22+
},
23+
"GetAttestor": {
24+
"methods": [
25+
"get_attestor"
26+
]
27+
},
28+
"GetPolicy": {
29+
"methods": [
30+
"get_policy"
31+
]
32+
},
33+
"ListAttestors": {
34+
"methods": [
35+
"list_attestors"
36+
]
37+
},
38+
"UpdateAttestor": {
39+
"methods": [
40+
"update_attestor"
41+
]
42+
},
43+
"UpdatePolicy": {
44+
"methods": [
45+
"update_policy"
46+
]
47+
}
48+
}
49+
},
50+
"grpc-async": {
51+
"libraryClient": "BinauthzManagementServiceV1Beta1AsyncClient",
52+
"rpcs": {
53+
"CreateAttestor": {
54+
"methods": [
55+
"create_attestor"
56+
]
57+
},
58+
"DeleteAttestor": {
59+
"methods": [
60+
"delete_attestor"
61+
]
62+
},
63+
"GetAttestor": {
64+
"methods": [
65+
"get_attestor"
66+
]
67+
},
68+
"GetPolicy": {
69+
"methods": [
70+
"get_policy"
71+
]
72+
},
73+
"ListAttestors": {
74+
"methods": [
75+
"list_attestors"
76+
]
77+
},
78+
"UpdateAttestor": {
79+
"methods": [
80+
"update_attestor"
81+
]
82+
},
83+
"UpdatePolicy": {
84+
"methods": [
85+
"update_policy"
86+
]
87+
}
88+
}
89+
}
90+
}
91+
}
92+
}
93+
}

packages/google-cloud-binary-authorization/google/cloud/binaryauthorization_v1beta1/services/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

packages/google-cloud-binary-authorization/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,7 +13,6 @@
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
1615
#
17-
1816
from .client import BinauthzManagementServiceV1Beta1Client
1917
from .async_client import BinauthzManagementServiceV1Beta1AsyncClient
2018

0 commit comments

Comments
 (0)