Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 948996e

Browse files
feat: Add Secure Boot support to TPU v2alpha1 API (#240)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 474644226 Source-Link: googleapis/googleapis@f90b329 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4ad8763bde676f92a3eb70753ae1cfed0e81387e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGFkODc2M2JkZTY3NmY5MmEzZWI3MDc1M2FlMWNmZWQwZTgxMzg3ZSJ9
1 parent 0a9202e commit 948996e

File tree

8 files changed

+1101
-158
lines changed

8 files changed

+1101
-158
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file:
2727
If you are using Gradle without BOM, add this to your dependencies:
2828

2929
```Groovy
30-
implementation 'com.google.cloud:google-cloud-tpu:2.3.4'
30+
implementation 'com.google.cloud:google-cloud-tpu:2.3.5'
3131
```
3232

3333
If you are using SBT, add this to your dependencies:
3434

3535
```Scala
36-
libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.3.4"
36+
libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.3.5"
3737
```
3838

3939
## Authentication

google-cloud-tpu/src/test/java/com/google/cloud/tpu/v2alpha1/TpuClientTest.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ public void getNodeTest() throws Exception {
197197
.setId(3355)
198198
.addAllDataDisks(new ArrayList<AttachedDisk>())
199199
.addAllSymptoms(new ArrayList<Symptom>())
200+
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
200201
.build();
201202
mockTpu.addResponse(expectedResponse);
202203

@@ -251,6 +252,7 @@ public void getNodeTest2() throws Exception {
251252
.setId(3355)
252253
.addAllDataDisks(new ArrayList<AttachedDisk>())
253254
.addAllSymptoms(new ArrayList<Symptom>())
255+
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
254256
.build();
255257
mockTpu.addResponse(expectedResponse);
256258

@@ -305,6 +307,7 @@ public void createNodeTest() throws Exception {
305307
.setId(3355)
306308
.addAllDataDisks(new ArrayList<AttachedDisk>())
307309
.addAllSymptoms(new ArrayList<Symptom>())
310+
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
308311
.build();
309312
Operation resultOperation =
310313
Operation.newBuilder()
@@ -373,6 +376,7 @@ public void createNodeTest2() throws Exception {
373376
.setId(3355)
374377
.addAllDataDisks(new ArrayList<AttachedDisk>())
375378
.addAllSymptoms(new ArrayList<Symptom>())
379+
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
376380
.build();
377381
Operation resultOperation =
378382
Operation.newBuilder()
@@ -441,6 +445,7 @@ public void deleteNodeTest() throws Exception {
441445
.setId(3355)
442446
.addAllDataDisks(new ArrayList<AttachedDisk>())
443447
.addAllSymptoms(new ArrayList<Symptom>())
448+
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
444449
.build();
445450
Operation resultOperation =
446451
Operation.newBuilder()
@@ -503,6 +508,7 @@ public void deleteNodeTest2() throws Exception {
503508
.setId(3355)
504509
.addAllDataDisks(new ArrayList<AttachedDisk>())
505510
.addAllSymptoms(new ArrayList<Symptom>())
511+
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
506512
.build();
507513
Operation resultOperation =
508514
Operation.newBuilder()
@@ -565,6 +571,7 @@ public void stopNodeTest() throws Exception {
565571
.setId(3355)
566572
.addAllDataDisks(new ArrayList<AttachedDisk>())
567573
.addAllSymptoms(new ArrayList<Symptom>())
574+
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
568575
.build();
569576
Operation resultOperation =
570577
Operation.newBuilder()
@@ -627,6 +634,7 @@ public void startNodeTest() throws Exception {
627634
.setId(3355)
628635
.addAllDataDisks(new ArrayList<AttachedDisk>())
629636
.addAllSymptoms(new ArrayList<Symptom>())
637+
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
630638
.build();
631639
Operation resultOperation =
632640
Operation.newBuilder()
@@ -689,6 +697,7 @@ public void updateNodeTest() throws Exception {
689697
.setId(3355)
690698
.addAllDataDisks(new ArrayList<AttachedDisk>())
691699
.addAllSymptoms(new ArrayList<Symptom>())
700+
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
692701
.build();
693702
Operation resultOperation =
694703
Operation.newBuilder()

proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CloudTpuProto.java

Lines changed: 172 additions & 155 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)