Skip to content

Commit 5116890

Browse files
yoshi-automationtseaver
authored andcommitted
Add CAVIUM_V2_COMPRESSED option to KeyOperationAttestation (via synth). (#7396)
1 parent 5087458 commit 5116890

5 files changed

Lines changed: 38 additions & 20 deletions

File tree

kms/google/cloud/kms_v1/gapic/enums.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,10 @@ class AttestationFormat(enum.IntEnum):
172172
ATTESTATION_FORMAT_UNSPECIFIED (int)
173173
CAVIUM_V1_COMPRESSED (int): Cavium HSM attestation compressed with gzip. Note that this format is
174174
defined by Cavium and subject to change at any time.
175+
CAVIUM_V2_COMPRESSED (int): Cavium HSM attestation V2 compressed with gzip. This is a new format
176+
Introduced in Cavium's version 3.2-08
175177
"""
176178

177179
ATTESTATION_FORMAT_UNSPECIFIED = 0
178180
CAVIUM_V1_COMPRESSED = 3
181+
CAVIUM_V2_COMPRESSED = 4

kms/google/cloud/kms_v1/proto/resources.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ message KeyOperationAttestation {
157157
// Cavium HSM attestation compressed with gzip. Note that this format is
158158
// defined by Cavium and subject to change at any time.
159159
CAVIUM_V1_COMPRESSED = 3;
160+
161+
// Cavium HSM attestation V2 compressed with gzip. This is a new format
162+
// Introduced in Cavium's version 3.2-08
163+
CAVIUM_V2_COMPRESSED = 4;
160164
}
161165

162166
// Output only. The format of the attestation data.

kms/google/cloud/kms_v1/proto/resources_pb2.py

Lines changed: 22 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kms/noxfile.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ def blacken(session):
4545
"""Run black.
4646
4747
Format code to uniform standard.
48+
49+
This currently uses Python 3.6 due to the automated Kokoro run of synthtool.
50+
That run uses an image that doesn't have 3.6 installed. Before updating this
51+
check the state of the `gcp_ubuntu_config` we use for that Kokoro run.
4852
"""
4953
session.install("black")
5054
session.run(

kms/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-02-02T13:21:37.782777Z",
2+
"updateTime": "2019-02-20T18:08:35.555340Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.8",
8-
"dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7"
7+
"version": "0.16.13",
8+
"dockerImage": "googleapis/artman@sha256:5fd9aee1d82a00cebf425c8fa431f5457539562f5867ad9c54370f0ec9a7ccaa"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a",
16-
"internalRef": "231974277"
15+
"sha": "18ab81eec27942a942622d5a8d9c9e7a202e8c16",
16+
"internalRef": "234814197"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)