Skip to content

Commit

Permalink
feat: [workstations] add config service_account_scopes (#9790)
Browse files Browse the repository at this point in the history
* feat: add config service_account_scopes
feat: add enable_nested_virtualization
feat: add replica_zones
feat: add output field start_time
docs: adjust documentation wording & annotations

PiperOrigin-RevId: 561356238

Source-Link: googleapis/googleapis@8600f86

Source-Link: googleapis/googleapis-gen@6b83437
Copy-Tag: eyJwIjoiamF2YS13b3Jrc3RhdGlvbnMvLk93bEJvdC55YW1sIiwiaCI6IjZiODM0MzcwNzNmMGQ4ZWM2MTZjMWQ4OGJhMDBkZGZlODExMTM1ZTkifQ==

* 🦉 Updates from OwlBot post-processor

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

* feat: add config service_account_scopes
feat: add enable_nested_virtualization
feat: add ephemeral_directories
feat: add replica_zones
feat: add output field start_time
docs: adjust documentation wording & annotations

PiperOrigin-RevId: 561356806

Source-Link: googleapis/googleapis@89d1d43

Source-Link: googleapis/googleapis-gen@c567e26
Copy-Tag: eyJwIjoiamF2YS13b3Jrc3RhdGlvbnMvLk93bEJvdC55YW1sIiwiaCI6ImM1NjdlMjZiZTZhN2Q5M2IwMTYzNjMzMDc1NTcwYzI3YzZmMTY3MTQifQ==

* 🦉 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
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Sep 7, 2023
1 parent 3d82fb4 commit c087490
Show file tree
Hide file tree
Showing 93 changed files with 21,661 additions and 10,696 deletions.
4 changes: 2 additions & 2 deletions java-workstations/README.md
Expand Up @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.19.0</version>
<version>26.22.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-workstations/java11.html
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workstations.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workstations/0.9.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workstations/0.11.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Expand Up @@ -1169,6 +1169,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.workstations.v1.WorkstationConfig$ReadinessCheck",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.workstations.v1.WorkstationConfig$ReadinessCheck$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.iam.v1.AuditConfig",
"queryAllDeclaredConstructors": true,
Expand Down
Expand Up @@ -1052,6 +1052,42 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.workstations.v1beta.WorkstationConfig$EphemeralDirectory",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.workstations.v1beta.WorkstationConfig$EphemeralDirectory$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.workstations.v1beta.WorkstationConfig$EphemeralDirectory$GcePersistentDisk",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.workstations.v1beta.WorkstationConfig$EphemeralDirectory$GcePersistentDisk$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.workstations.v1beta.WorkstationConfig$Host",
"queryAllDeclaredConstructors": true,
Expand Down
Expand Up @@ -737,6 +737,8 @@ public void getWorkstationConfigTest() throws Exception {
.addAllPersistentDirectories(new ArrayList<WorkstationConfig.PersistentDirectory>())
.setContainer(WorkstationConfig.Container.newBuilder().build())
.setEncryptionKey(WorkstationConfig.CustomerEncryptionKey.newBuilder().build())
.addAllReadinessChecks(new ArrayList<WorkstationConfig.ReadinessCheck>())
.addAllReplicaZones(new ArrayList<String>())
.setDegraded(true)
.addAllConditions(new ArrayList<Status>())
.build();
Expand Down Expand Up @@ -805,6 +807,8 @@ public void getWorkstationConfigTest2() throws Exception {
.addAllPersistentDirectories(new ArrayList<WorkstationConfig.PersistentDirectory>())
.setContainer(WorkstationConfig.Container.newBuilder().build())
.setEncryptionKey(WorkstationConfig.CustomerEncryptionKey.newBuilder().build())
.addAllReadinessChecks(new ArrayList<WorkstationConfig.ReadinessCheck>())
.addAllReplicaZones(new ArrayList<String>())
.setDegraded(true)
.addAllConditions(new ArrayList<Status>())
.build();
Expand Down Expand Up @@ -1081,6 +1085,8 @@ public void createWorkstationConfigTest() throws Exception {
.addAllPersistentDirectories(new ArrayList<WorkstationConfig.PersistentDirectory>())
.setContainer(WorkstationConfig.Container.newBuilder().build())
.setEncryptionKey(WorkstationConfig.CustomerEncryptionKey.newBuilder().build())
.addAllReadinessChecks(new ArrayList<WorkstationConfig.ReadinessCheck>())
.addAllReplicaZones(new ArrayList<String>())
.setDegraded(true)
.addAllConditions(new ArrayList<Status>())
.build();
Expand Down Expand Up @@ -1157,6 +1163,8 @@ public void createWorkstationConfigTest2() throws Exception {
.addAllPersistentDirectories(new ArrayList<WorkstationConfig.PersistentDirectory>())
.setContainer(WorkstationConfig.Container.newBuilder().build())
.setEncryptionKey(WorkstationConfig.CustomerEncryptionKey.newBuilder().build())
.addAllReadinessChecks(new ArrayList<WorkstationConfig.ReadinessCheck>())
.addAllReplicaZones(new ArrayList<String>())
.setDegraded(true)
.addAllConditions(new ArrayList<Status>())
.build();
Expand Down Expand Up @@ -1233,6 +1241,8 @@ public void updateWorkstationConfigTest() throws Exception {
.addAllPersistentDirectories(new ArrayList<WorkstationConfig.PersistentDirectory>())
.setContainer(WorkstationConfig.Container.newBuilder().build())
.setEncryptionKey(WorkstationConfig.CustomerEncryptionKey.newBuilder().build())
.addAllReadinessChecks(new ArrayList<WorkstationConfig.ReadinessCheck>())
.addAllReplicaZones(new ArrayList<String>())
.setDegraded(true)
.addAllConditions(new ArrayList<Status>())
.build();
Expand Down Expand Up @@ -1265,6 +1275,8 @@ public void updateWorkstationConfigTest() throws Exception {
.addAllPersistentDirectories(new ArrayList<WorkstationConfig.PersistentDirectory>())
.setContainer(WorkstationConfig.Container.newBuilder().build())
.setEncryptionKey(WorkstationConfig.CustomerEncryptionKey.newBuilder().build())
.addAllReadinessChecks(new ArrayList<WorkstationConfig.ReadinessCheck>())
.addAllReplicaZones(new ArrayList<String>())
.setDegraded(true)
.addAllConditions(new ArrayList<Status>())
.build();
Expand Down Expand Up @@ -1321,6 +1333,8 @@ public void updateWorkstationConfigExceptionTest() throws Exception {
.addAllPersistentDirectories(new ArrayList<WorkstationConfig.PersistentDirectory>())
.setContainer(WorkstationConfig.Container.newBuilder().build())
.setEncryptionKey(WorkstationConfig.CustomerEncryptionKey.newBuilder().build())
.addAllReadinessChecks(new ArrayList<WorkstationConfig.ReadinessCheck>())
.addAllReplicaZones(new ArrayList<String>())
.setDegraded(true)
.addAllConditions(new ArrayList<Status>())
.build();
Expand Down Expand Up @@ -1354,6 +1368,8 @@ public void deleteWorkstationConfigTest() throws Exception {
.addAllPersistentDirectories(new ArrayList<WorkstationConfig.PersistentDirectory>())
.setContainer(WorkstationConfig.Container.newBuilder().build())
.setEncryptionKey(WorkstationConfig.CustomerEncryptionKey.newBuilder().build())
.addAllReadinessChecks(new ArrayList<WorkstationConfig.ReadinessCheck>())
.addAllReplicaZones(new ArrayList<String>())
.setDegraded(true)
.addAllConditions(new ArrayList<Status>())
.build();
Expand Down Expand Up @@ -1427,6 +1443,8 @@ public void deleteWorkstationConfigTest2() throws Exception {
.addAllPersistentDirectories(new ArrayList<WorkstationConfig.PersistentDirectory>())
.setContainer(WorkstationConfig.Container.newBuilder().build())
.setEncryptionKey(WorkstationConfig.CustomerEncryptionKey.newBuilder().build())
.addAllReadinessChecks(new ArrayList<WorkstationConfig.ReadinessCheck>())
.addAllReplicaZones(new ArrayList<String>())
.setDegraded(true)
.addAllConditions(new ArrayList<Status>())
.build();
Expand Down Expand Up @@ -1494,6 +1512,7 @@ public void getWorkstationTest() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setEtag("etag3123477")
.setHost("host3208616")
Expand Down Expand Up @@ -1567,6 +1586,7 @@ public void getWorkstationTest2() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setEtag("etag3123477")
.setHost("host3208616")
Expand Down Expand Up @@ -1842,6 +1862,7 @@ public void createWorkstationTest() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setEtag("etag3123477")
.setHost("host3208616")
Expand Down Expand Up @@ -1917,6 +1938,7 @@ public void createWorkstationTest2() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setEtag("etag3123477")
.setHost("host3208616")
Expand Down Expand Up @@ -1990,6 +2012,7 @@ public void updateWorkstationTest() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setEtag("etag3123477")
.setHost("host3208616")
Expand Down Expand Up @@ -2019,6 +2042,7 @@ public void updateWorkstationTest() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setEtag("etag3123477")
.setHost("host3208616")
Expand Down Expand Up @@ -2068,6 +2092,7 @@ public void updateWorkstationExceptionTest() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setEtag("etag3123477")
.setHost("host3208616")
Expand Down Expand Up @@ -2098,6 +2123,7 @@ public void deleteWorkstationTest() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setEtag("etag3123477")
.setHost("host3208616")
Expand Down Expand Up @@ -2176,6 +2202,7 @@ public void deleteWorkstationTest2() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setEtag("etag3123477")
.setHost("host3208616")
Expand Down Expand Up @@ -2244,6 +2271,7 @@ public void startWorkstationTest() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setEtag("etag3123477")
.setHost("host3208616")
Expand Down Expand Up @@ -2322,6 +2350,7 @@ public void startWorkstationTest2() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setEtag("etag3123477")
.setHost("host3208616")
Expand Down Expand Up @@ -2390,6 +2419,7 @@ public void stopWorkstationTest() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setEtag("etag3123477")
.setHost("host3208616")
Expand Down Expand Up @@ -2468,6 +2498,7 @@ public void stopWorkstationTest2() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setDeleteTime(Timestamp.newBuilder().build())
.setEtag("etag3123477")
.setHost("host3208616")
Expand Down

0 comments on commit c087490

Please sign in to comment.