From 3289e4c494eb0eede9635e68bd9cd24bae39016a Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 9 Aug 2023 16:44:17 -0700 Subject: [PATCH] feat: Add a new field `partial_errors` to `VerifyAttestationResponse` proto PiperOrigin-RevId: 555313726 --- google/cloud/confidentialcomputing/v1/BUILD.bazel | 3 +++ google/cloud/confidentialcomputing/v1/service.proto | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/google/cloud/confidentialcomputing/v1/BUILD.bazel b/google/cloud/confidentialcomputing/v1/BUILD.bazel index fb88ec27aa559..943adf5a8bcc8 100644 --- a/google/cloud/confidentialcomputing/v1/BUILD.bazel +++ b/google/cloud/confidentialcomputing/v1/BUILD.bazel @@ -28,6 +28,7 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", + "//google/rpc:status_proto", "@com_google_protobuf//:timestamp_proto", ], ) @@ -122,6 +123,7 @@ go_proto_library( protos = [":confidentialcomputing_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/rpc:status_go_proto", ], ) @@ -318,6 +320,7 @@ load( csharp_proto_library( name = "confidentialcomputing_csharp_proto", + extra_opts = [], deps = [":confidentialcomputing_proto"], ) diff --git a/google/cloud/confidentialcomputing/v1/service.proto b/google/cloud/confidentialcomputing/v1/service.proto index a14d24fea0773..13f2477b3a79f 100644 --- a/google/cloud/confidentialcomputing/v1/service.proto +++ b/google/cloud/confidentialcomputing/v1/service.proto @@ -21,6 +21,7 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; +import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.ConfidentialComputing.V1"; option go_package = "cloud.google.com/go/confidentialcomputing/apiv1/confidentialcomputingpb;confidentialcomputingpb"; @@ -148,6 +149,11 @@ message VerifyAttestationRequest { message VerifyAttestationResponse { // Output only. Same as claims_token, but as a string. string oidc_claims_token = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A list of messages that carry the partial error details + // related to VerifyAttestation. + repeated google.rpc.Status partial_errors = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Credentials issued by GCP which are linked to the platform attestation. These