Skip to content

Commit

Permalink
feat: Add a new field partial_errors to VerifyAttestationResponse
Browse files Browse the repository at this point in the history
… proto (#11559)

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Aug 10, 2023
1 parent afda0ce commit 0c9b83a
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.3.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.3.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@

from google.cloud.location import locations_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore
from google.rpc import status_pb2 # type: ignore

from google.cloud.confidentialcomputing_v1.types import service

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

from google.cloud.location import locations_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore
from google.rpc import status_pb2 # type: ignore

from google.cloud.confidentialcomputing_v1.types import service

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from typing import MutableMapping, MutableSequence

from google.protobuf import timestamp_pb2 # type: ignore
from google.rpc import status_pb2 # type: ignore
import proto # type: ignore

__protobuf__ = proto.module(
Expand Down Expand Up @@ -192,12 +193,21 @@ class VerifyAttestationResponse(proto.Message):
Attributes:
oidc_claims_token (str):
Output only. Same as claims_token, but as a string.
partial_errors (MutableSequence[google.rpc.status_pb2.Status]):
Output only. A list of messages that carry
the partial error details related to
VerifyAttestation.
"""

oidc_claims_token: str = proto.Field(
proto.STRING,
number=2,
)
partial_errors: MutableSequence[status_pb2.Status] = proto.RepeatedField(
proto.MESSAGE,
number=3,
message=status_pb2.Status,
)


class GcpCredentials(proto.Message):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-confidentialcomputing",
"version": "0.3.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
from google.oauth2 import service_account
from google.protobuf import json_format
from google.protobuf import timestamp_pb2 # type: ignore
from google.rpc import status_pb2 # type: ignore
import grpc
from grpc.experimental import aio
from proto.marshal.rules import wrappers
Expand Down

0 comments on commit 0c9b83a

Please sign in to comment.