Skip to content

Commit

Permalink
feat: [tpu] Add Secure Boot support to TPU v2alpha1 API (googleapis#8411
Browse files Browse the repository at this point in the history
)

* feat: Add Secure Boot support to TPU v2alpha1 API

PiperOrigin-RevId: 474644226

Source-Link: googleapis/googleapis@f90b329

Source-Link: googleapis/googleapis-gen@4ad8763
Copy-Tag: eyJwIjoiamF2YS10cHUvLk93bEJvdC55YW1sIiwiaCI6IjRhZDg3NjNiZGU2NzZmOTJhM2ViNzA3NTNhZTFjZmVkMGU4MTM4N2UifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and suztomo committed Oct 4, 2022
1 parent 0aaf9dd commit ffbfd7d
Show file tree
Hide file tree
Showing 114 changed files with 6,210 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 ffbfd7d

Please sign in to comment.