Skip to content

Commit

Permalink
feat: Add Secure Boot support to TPU v2alpha1 API (#240)
Browse files Browse the repository at this point in the history
- [ ] 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
  • Loading branch information
gcf-owl-bot[bot] authored Sep 20, 2022
1 parent 9966e70 commit e0b8dc3
Show file tree
Hide file tree
Showing 8 changed files with 1,101 additions and 158 deletions.
4 changes: 2 additions & 2 deletions java-tpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file:
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-tpu:2.3.4'
implementation 'com.google.cloud:google-cloud-tpu:2.3.5'
```

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

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.3.4"
libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.3.5"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ public void getNodeTest() throws Exception {
.setId(3355)
.addAllDataDisks(new ArrayList<AttachedDisk>())
.addAllSymptoms(new ArrayList<Symptom>())
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
.build();
mockTpu.addResponse(expectedResponse);

Expand Down Expand Up @@ -251,6 +252,7 @@ public void getNodeTest2() throws Exception {
.setId(3355)
.addAllDataDisks(new ArrayList<AttachedDisk>())
.addAllSymptoms(new ArrayList<Symptom>())
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
.build();
mockTpu.addResponse(expectedResponse);

Expand Down Expand Up @@ -305,6 +307,7 @@ public void createNodeTest() throws Exception {
.setId(3355)
.addAllDataDisks(new ArrayList<AttachedDisk>())
.addAllSymptoms(new ArrayList<Symptom>())
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -373,6 +376,7 @@ public void createNodeTest2() throws Exception {
.setId(3355)
.addAllDataDisks(new ArrayList<AttachedDisk>())
.addAllSymptoms(new ArrayList<Symptom>())
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -441,6 +445,7 @@ public void deleteNodeTest() throws Exception {
.setId(3355)
.addAllDataDisks(new ArrayList<AttachedDisk>())
.addAllSymptoms(new ArrayList<Symptom>())
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -503,6 +508,7 @@ public void deleteNodeTest2() throws Exception {
.setId(3355)
.addAllDataDisks(new ArrayList<AttachedDisk>())
.addAllSymptoms(new ArrayList<Symptom>())
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -565,6 +571,7 @@ public void stopNodeTest() throws Exception {
.setId(3355)
.addAllDataDisks(new ArrayList<AttachedDisk>())
.addAllSymptoms(new ArrayList<Symptom>())
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -627,6 +634,7 @@ public void startNodeTest() throws Exception {
.setId(3355)
.addAllDataDisks(new ArrayList<AttachedDisk>())
.addAllSymptoms(new ArrayList<Symptom>())
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -689,6 +697,7 @@ public void updateNodeTest() throws Exception {
.setId(3355)
.addAllDataDisks(new ArrayList<AttachedDisk>())
.addAllSymptoms(new ArrayList<Symptom>())
.setShieldedInstanceConfig(ShieldedInstanceConfig.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit e0b8dc3

Please sign in to comment.