From 1d2e74ee3d308b39288a63c591469d3dbf1c8b72 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 10 Aug 2023 17:54:18 +0530 Subject: [PATCH] feat: Add a new field `partial_errors` to `VerifyAttestationResponse` proto (#6548) PiperOrigin-RevId: 555313726 Source-Link: https://github.com/googleapis/googleapis/commit/3289e4c494eb0eede9635e68bd9cd24bae39016a Source-Link: https://github.com/googleapis/googleapis-gen/commit/6f46f15c4af36eb55fd96093c5fe17def23e21cf Copy-Tag: eyJwIjoiQ29uZmlkZW50aWFsQ29tcHV0aW5nLy5Pd2xCb3QueWFtbCIsImgiOiI2ZjQ2ZjE1YzRhZjM2ZWI1NWZkOTYwOTNjNWZlMTdkZWYyM2UyMWNmIn0= --- ConfidentialComputing/metadata/V1/Service.php | Bin 3947 -> 4073 bytes .../src/V1/VerifyAttestationResponse.php | 38 ++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/ConfidentialComputing/metadata/V1/Service.php b/ConfidentialComputing/metadata/V1/Service.php index f0dfee700524e04ee6fd410e37b3c817cb1770a2..8e229f79931034e80ef449b9a8c7a93e1210b6c0 100644 GIT binary patch delta 119 zcmaDY_fmetJ*LTj8AZ5)3X)@jOA<>;izlC8a%H?XnUDFhu#|XuetvpRs(w*HvVJjG zcJpoKY0S(yT#}P*cqJ$IvMcBa>2vWFBo>uqCg#Ma78T_e6-zKHFl%rd3F$#}>j8D^ MLCoH~g8eW%04XUcZ2$lO delta 39 xcmV+?0NDTOAL|~l-U5>n11|)W7z#6yOEZ&r1D&%j1dsy(JCnZ$JF_bYz6TfA4HEzW diff --git a/ConfidentialComputing/src/V1/VerifyAttestationResponse.php b/ConfidentialComputing/src/V1/VerifyAttestationResponse.php index 2a0e98365c56..3bfc91194e36 100644 --- a/ConfidentialComputing/src/V1/VerifyAttestationResponse.php +++ b/ConfidentialComputing/src/V1/VerifyAttestationResponse.php @@ -22,6 +22,13 @@ class VerifyAttestationResponse extends \Google\Protobuf\Internal\Message * Generated from protobuf field string oidc_claims_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $oidc_claims_token = ''; + /** + * Output only. A list of messages that carry the partial error details + * related to VerifyAttestation. + * + * Generated from protobuf field repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $partial_errors; /** * Constructor. @@ -31,6 +38,9 @@ class VerifyAttestationResponse extends \Google\Protobuf\Internal\Message * * @type string $oidc_claims_token * Output only. Same as claims_token, but as a string. + * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $partial_errors + * Output only. A list of messages that carry the partial error details + * related to VerifyAttestation. * } */ public function __construct($data = NULL) { @@ -64,5 +74,33 @@ public function setOidcClaimsToken($var) return $this; } + /** + * Output only. A list of messages that carry the partial error details + * related to VerifyAttestation. + * + * Generated from protobuf field repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getPartialErrors() + { + return $this->partial_errors; + } + + /** + * Output only. A list of messages that carry the partial error details + * related to VerifyAttestation. + * + * Generated from protobuf field repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setPartialErrors($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Rpc\Status::class); + $this->partial_errors = $arr; + + return $this; + } + }