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

PiperOrigin-RevId: 555313726
  • Loading branch information
Google APIs authored and Copybara-Service committed Aug 9, 2023
1 parent 43f0276 commit 3289e4c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions google/cloud/confidentialcomputing/v1/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
)
Expand Down Expand Up @@ -122,6 +123,7 @@ go_proto_library(
protos = [":confidentialcomputing_proto"],
deps = [
"//google/api:annotations_go_proto",
"//google/rpc:status_go_proto",
],
)

Expand Down Expand Up @@ -318,6 +320,7 @@ load(

csharp_proto_library(
name = "confidentialcomputing_csharp_proto",
extra_opts = [],
deps = [":confidentialcomputing_proto"],
)

Expand Down
6 changes: 6 additions & 0 deletions google/cloud/confidentialcomputing/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3289e4c

Please sign in to comment.