Skip to content

Commit 3289e4c

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add a new field partial_errors to VerifyAttestationResponse proto
PiperOrigin-RevId: 555313726
1 parent 43f0276 commit 3289e4c

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

google/cloud/confidentialcomputing/v1/BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ proto_library(
2828
"//google/api:client_proto",
2929
"//google/api:field_behavior_proto",
3030
"//google/api:resource_proto",
31+
"//google/rpc:status_proto",
3132
"@com_google_protobuf//:timestamp_proto",
3233
],
3334
)
@@ -122,6 +123,7 @@ go_proto_library(
122123
protos = [":confidentialcomputing_proto"],
123124
deps = [
124125
"//google/api:annotations_go_proto",
126+
"//google/rpc:status_go_proto",
125127
],
126128
)
127129

@@ -318,6 +320,7 @@ load(
318320

319321
csharp_proto_library(
320322
name = "confidentialcomputing_csharp_proto",
323+
extra_opts = [],
321324
deps = [":confidentialcomputing_proto"],
322325
)
323326

google/cloud/confidentialcomputing/v1/service.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import "google/api/client.proto";
2121
import "google/api/field_behavior.proto";
2222
import "google/api/resource.proto";
2323
import "google/protobuf/timestamp.proto";
24+
import "google/rpc/status.proto";
2425

2526
option csharp_namespace = "Google.Cloud.ConfidentialComputing.V1";
2627
option go_package = "cloud.google.com/go/confidentialcomputing/apiv1/confidentialcomputingpb;confidentialcomputingpb";
@@ -148,6 +149,11 @@ message VerifyAttestationRequest {
148149
message VerifyAttestationResponse {
149150
// Output only. Same as claims_token, but as a string.
150151
string oidc_claims_token = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
152+
153+
// Output only. A list of messages that carry the partial error details
154+
// related to VerifyAttestation.
155+
repeated google.rpc.Status partial_errors = 3
156+
[(google.api.field_behavior) = OUTPUT_ONLY];
151157
}
152158

153159
// Credentials issued by GCP which are linked to the platform attestation. These

0 commit comments

Comments
 (0)