Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 docs/binaryauthorization_v1beta1/services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ Services for Google Cloud Binaryauthorization v1beta1 API
:maxdepth: 2

binauthz_management_service_v1_beta1
system_policy_v1_beta1
6 changes: 6 additions & 0 deletions docs/binaryauthorization_v1beta1/system_policy_v1_beta1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SystemPolicyV1Beta1
-------------------------------------

.. automodule:: google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1
:members:
:inherited-members:
6 changes: 6 additions & 0 deletions google/cloud/binaryauthorization_v1beta1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
from .services.binauthz_management_service_v1_beta1 import (
BinauthzManagementServiceV1Beta1AsyncClient,
)
from .services.system_policy_v1_beta1 import SystemPolicyV1Beta1Client
from .services.system_policy_v1_beta1 import SystemPolicyV1Beta1AsyncClient

from .types.continuous_validation_logging import ContinuousValidationEvent
from .types.resources import AdmissionRule
Expand All @@ -33,13 +35,15 @@
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

__all__ = (
"BinauthzManagementServiceV1Beta1AsyncClient",
"SystemPolicyV1Beta1AsyncClient",
"AdmissionRule",
"AdmissionWhitelistPattern",
"Attestor",
Expand All @@ -50,10 +54,12 @@
"DeleteAttestorRequest",
"GetAttestorRequest",
"GetPolicyRequest",
"GetSystemPolicyRequest",
"ListAttestorsRequest",
"ListAttestorsResponse",
"PkixPublicKey",
"Policy",
"SystemPolicyV1Beta1Client",
"UpdateAttestorRequest",
"UpdatePolicyRequest",
"UserOwnedDrydockNote",
Expand Down
24 changes: 24 additions & 0 deletions google/cloud/binaryauthorization_v1beta1/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,30 @@
}
}
}
},
"SystemPolicyV1Beta1": {
"clients": {
"grpc": {
"libraryClient": "SystemPolicyV1Beta1Client",
"rpcs": {
"GetSystemPolicy": {
"methods": [
"get_system_policy"
]
}
}
},
"grpc-async": {
"libraryClient": "SystemPolicyV1Beta1AsyncClient",
"rpcs": {
"GetSystemPolicy": {
"methods": [
"get_system_policy"
]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,9 @@ async def get_policy(

Returns:
google.cloud.binaryauthorization_v1beta1.types.Policy:
A [policy][google.cloud.binaryauthorization.v1beta1.Policy] for container
image binary authorization.
A
[policy][google.cloud.binaryauthorization.v1beta1.Policy]
for Binary Authorization.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -329,8 +330,9 @@ async def update_policy(

Returns:
google.cloud.binaryauthorization_v1beta1.types.Policy:
A [policy][google.cloud.binaryauthorization.v1beta1.Policy] for container
image binary authorization.
A
[policy][google.cloud.binaryauthorization.v1beta1.Policy]
for Binary Authorization.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -441,9 +443,9 @@ async def create_attestor(

Returns:
google.cloud.binaryauthorization_v1beta1.types.Attestor:
An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests
to container image artifacts. An existing attestor
cannot be modified except where indicated.
An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to container image
artifacts. An existing attestor cannot be modified
except where indicated.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -522,9 +524,9 @@ async def get_attestor(

Returns:
google.cloud.binaryauthorization_v1beta1.types.Attestor:
An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests
to container image artifacts. An existing attestor
cannot be modified except where indicated.
An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to container image
artifacts. An existing attestor cannot be modified
except where indicated.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -612,9 +614,9 @@ async def update_attestor(

Returns:
google.cloud.binaryauthorization_v1beta1.types.Attestor:
An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests
to container image artifacts. An existing attestor
cannot be modified except where indicated.
An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to container image
artifacts. An existing attestor cannot be modified
except where indicated.

"""
# Create or coerce a protobuf request object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,9 @@ def get_policy(

Returns:
google.cloud.binaryauthorization_v1beta1.types.Policy:
A [policy][google.cloud.binaryauthorization.v1beta1.Policy] for container
image binary authorization.
A
[policy][google.cloud.binaryauthorization.v1beta1.Policy]
for Binary Authorization.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -504,8 +505,9 @@ def update_policy(

Returns:
google.cloud.binaryauthorization_v1beta1.types.Policy:
A [policy][google.cloud.binaryauthorization.v1beta1.Policy] for container
image binary authorization.
A
[policy][google.cloud.binaryauthorization.v1beta1.Policy]
for Binary Authorization.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -606,9 +608,9 @@ def create_attestor(

Returns:
google.cloud.binaryauthorization_v1beta1.types.Attestor:
An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests
to container image artifacts. An existing attestor
cannot be modified except where indicated.
An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to container image
artifacts. An existing attestor cannot be modified
except where indicated.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -687,9 +689,9 @@ def get_attestor(

Returns:
google.cloud.binaryauthorization_v1beta1.types.Attestor:
An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests
to container image artifacts. An existing attestor
cannot be modified except where indicated.
An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to container image
artifacts. An existing attestor cannot be modified
except where indicated.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -767,9 +769,9 @@ def update_attestor(

Returns:
google.cloud.binaryauthorization_v1beta1.types.Attestor:
An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests
to container image artifacts. An existing attestor
cannot be modified except where indicated.
An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to container image
artifacts. An existing attestor cannot be modified
except where indicated.

"""
# Create or coerce a protobuf request object.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- 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 .client import SystemPolicyV1Beta1Client
from .async_client import SystemPolicyV1Beta1AsyncClient

__all__ = (
"SystemPolicyV1Beta1Client",
"SystemPolicyV1Beta1AsyncClient",
)
Loading