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

Commit

Permalink
feat: Publish Binary Authorization ContinuousValidationEvent proto (#31)
Browse files Browse the repository at this point in the history
* 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 <noreply@google.com>
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 <noreply@google.com>
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 <noreply@google.com>
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 <noreply@google.com>
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 <noreply@google.com>
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 <noreply@google.com>
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 <noreply@google.com>
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 <noreply@google.com>
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 <noreply@google.com>
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 <dinagraves@google.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed May 20, 2021
1 parent cf404a0 commit d3d2abe
Show file tree
Hide file tree
Showing 24 changed files with 842 additions and 478 deletions.
1 change: 0 additions & 1 deletion .coveragerc
Expand Up @@ -2,7 +2,6 @@
branch = True

[report]
fail_under = 100
show_missing = True
omit =
google/cloud/binaryauthorization/__init__.py
Expand Down
Expand Up @@ -5,7 +5,6 @@ BinauthzManagementServiceV1Beta1
:members:
:inherited-members:


.. automodule:: google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.pagers
:members:
:inherited-members:
20 changes: 12 additions & 8 deletions google/cloud/binaryauthorization/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,11 +14,15 @@
# limitations under the License.
#

from google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.client import (
BinauthzManagementServiceV1Beta1Client,
)
from google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.async_client import (
BinauthzManagementServiceV1Beta1AsyncClient,
)
from google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.client import (
BinauthzManagementServiceV1Beta1Client,

from google.cloud.binaryauthorization_v1beta1.types.continuous_validation_logging import (
ContinuousValidationEvent,
)
from google.cloud.binaryauthorization_v1beta1.types.resources import AdmissionRule
from google.cloud.binaryauthorization_v1beta1.types.resources import (
Expand All @@ -42,21 +45,22 @@
from google.cloud.binaryauthorization_v1beta1.types.service import UpdatePolicyRequest

__all__ = (
"BinauthzManagementServiceV1Beta1Client",
"BinauthzManagementServiceV1Beta1AsyncClient",
"ContinuousValidationEvent",
"AdmissionRule",
"AdmissionWhitelistPattern",
"Attestor",
"AttestorPublicKey",
"BinauthzManagementServiceV1Beta1AsyncClient",
"BinauthzManagementServiceV1Beta1Client",
"PkixPublicKey",
"Policy",
"UserOwnedDrydockNote",
"CreateAttestorRequest",
"DeleteAttestorRequest",
"GetAttestorRequest",
"GetPolicyRequest",
"ListAttestorsRequest",
"ListAttestorsResponse",
"PkixPublicKey",
"Policy",
"UpdateAttestorRequest",
"UpdatePolicyRequest",
"UserOwnedDrydockNote",
)
11 changes: 8 additions & 3 deletions google/cloud/binaryauthorization_v1beta1/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -18,6 +17,11 @@
from .services.binauthz_management_service_v1_beta1 import (
BinauthzManagementServiceV1Beta1Client,
)
from .services.binauthz_management_service_v1_beta1 import (
BinauthzManagementServiceV1Beta1AsyncClient,
)

from .types.continuous_validation_logging import ContinuousValidationEvent
from .types.resources import AdmissionRule
from .types.resources import AdmissionWhitelistPattern
from .types.resources import Attestor
Expand All @@ -34,12 +38,14 @@
from .types.service import UpdateAttestorRequest
from .types.service import UpdatePolicyRequest


__all__ = (
"BinauthzManagementServiceV1Beta1AsyncClient",
"AdmissionRule",
"AdmissionWhitelistPattern",
"Attestor",
"AttestorPublicKey",
"BinauthzManagementServiceV1Beta1Client",
"ContinuousValidationEvent",
"CreateAttestorRequest",
"DeleteAttestorRequest",
"GetAttestorRequest",
Expand All @@ -51,5 +57,4 @@
"UpdateAttestorRequest",
"UpdatePolicyRequest",
"UserOwnedDrydockNote",
"BinauthzManagementServiceV1Beta1Client",
)
93 changes: 93 additions & 0 deletions google/cloud/binaryauthorization_v1beta1/gapic_metadata.json
@@ -0,0 +1,93 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.binaryauthorization_v1beta1",
"protoPackage": "google.cloud.binaryauthorization.v1beta1",
"schema": "1.0",
"services": {
"BinauthzManagementServiceV1Beta1": {
"clients": {
"grpc": {
"libraryClient": "BinauthzManagementServiceV1Beta1Client",
"rpcs": {
"CreateAttestor": {
"methods": [
"create_attestor"
]
},
"DeleteAttestor": {
"methods": [
"delete_attestor"
]
},
"GetAttestor": {
"methods": [
"get_attestor"
]
},
"GetPolicy": {
"methods": [
"get_policy"
]
},
"ListAttestors": {
"methods": [
"list_attestors"
]
},
"UpdateAttestor": {
"methods": [
"update_attestor"
]
},
"UpdatePolicy": {
"methods": [
"update_policy"
]
}
}
},
"grpc-async": {
"libraryClient": "BinauthzManagementServiceV1Beta1AsyncClient",
"rpcs": {
"CreateAttestor": {
"methods": [
"create_attestor"
]
},
"DeleteAttestor": {
"methods": [
"delete_attestor"
]
},
"GetAttestor": {
"methods": [
"get_attestor"
]
},
"GetPolicy": {
"methods": [
"get_policy"
]
},
"ListAttestors": {
"methods": [
"list_attestors"
]
},
"UpdateAttestor": {
"methods": [
"update_attestor"
]
},
"UpdatePolicy": {
"methods": [
"update_policy"
]
}
}
}
}
}
}
}
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import BinauthzManagementServiceV1Beta1Client
from .async_client import BinauthzManagementServiceV1Beta1AsyncClient

Expand Down

0 comments on commit d3d2abe

Please sign in to comment.