Skip to content

Commit efaebac

Browse files
1 parent 5694e09 commit efaebac

File tree

4 files changed

+55
-7
lines changed

4 files changed

+55
-7
lines changed

clients/google-api-services-batch/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-batch</artifactId>
25-
<version>v1-rev20240801-2.0.0</version>
25+
<version>v1-rev20240813-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-batch:v1-rev20240801-2.0.0'
38+
implementation 'com.google.apis:google-api-services-batch:v1-rev20240813-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-batch/v1/2.0.0/com/google/api/services/batch/v1/model/InstancePolicyOrTemplate.java

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,21 @@
3131
@SuppressWarnings("javadoc")
3232
public final class InstancePolicyOrTemplate extends com.google.api.client.json.GenericJson {
3333

34+
/**
35+
* Optional. Set this field to `true` if you want Batch to block project-level SSH keys from
36+
* accessing this job's VMs. Alternatively, you can configure the job to specify a VM instance
37+
* template that blocks project-level SSH keys. In either case, Batch blocks project-level SSH
38+
* keys while creating the VMs for this job. Batch allows project-level SSH keys for a job's VMs
39+
* only if all the following are true: + This field is undefined or set to `false`. + The job's VM
40+
* instance template (if any) doesn't block project-level SSH keys. Notably, you can override this
41+
* behavior by manually updating a VM to block or allow project-level SSH keys. For more
42+
* information about blocking project-level SSH keys, see the Compute Engine documentation:
43+
* https://cloud.google.com/compute/docs/connect/restrict-ssh-keys#block-keys
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.Boolean blockProjectSshKeys;
48+
3449
/**
3550
* Set this field true if you want Batch to help fetch drivers from a third party location and
3651
* install them for GPUs specified in `policy.accelerators` or `instance_template` on your behalf.
@@ -67,6 +82,39 @@ public final class InstancePolicyOrTemplate extends com.google.api.client.json.G
6782
@com.google.api.client.util.Key
6883
private InstancePolicy policy;
6984

85+
/**
86+
* Optional. Set this field to `true` if you want Batch to block project-level SSH keys from
87+
* accessing this job's VMs. Alternatively, you can configure the job to specify a VM instance
88+
* template that blocks project-level SSH keys. In either case, Batch blocks project-level SSH
89+
* keys while creating the VMs for this job. Batch allows project-level SSH keys for a job's VMs
90+
* only if all the following are true: + This field is undefined or set to `false`. + The job's VM
91+
* instance template (if any) doesn't block project-level SSH keys. Notably, you can override this
92+
* behavior by manually updating a VM to block or allow project-level SSH keys. For more
93+
* information about blocking project-level SSH keys, see the Compute Engine documentation:
94+
* https://cloud.google.com/compute/docs/connect/restrict-ssh-keys#block-keys
95+
* @return value or {@code null} for none
96+
*/
97+
public java.lang.Boolean getBlockProjectSshKeys() {
98+
return blockProjectSshKeys;
99+
}
100+
101+
/**
102+
* Optional. Set this field to `true` if you want Batch to block project-level SSH keys from
103+
* accessing this job's VMs. Alternatively, you can configure the job to specify a VM instance
104+
* template that blocks project-level SSH keys. In either case, Batch blocks project-level SSH
105+
* keys while creating the VMs for this job. Batch allows project-level SSH keys for a job's VMs
106+
* only if all the following are true: + This field is undefined or set to `false`. + The job's VM
107+
* instance template (if any) doesn't block project-level SSH keys. Notably, you can override this
108+
* behavior by manually updating a VM to block or allow project-level SSH keys. For more
109+
* information about blocking project-level SSH keys, see the Compute Engine documentation:
110+
* https://cloud.google.com/compute/docs/connect/restrict-ssh-keys#block-keys
111+
* @param blockProjectSshKeys blockProjectSshKeys or {@code null} for none
112+
*/
113+
public InstancePolicyOrTemplate setBlockProjectSshKeys(java.lang.Boolean blockProjectSshKeys) {
114+
this.blockProjectSshKeys = blockProjectSshKeys;
115+
return this;
116+
}
117+
70118
/**
71119
* Set this field true if you want Batch to help fetch drivers from a third party location and
72120
* install them for GPUs specified in `policy.accelerators` or `instance_template` on your behalf.

clients/google-api-services-batch/v1/2.0.0/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-batch</artifactId>
11-
<version>v1-rev20240801-2.0.0</version>
12-
<name>Batch API v1-rev20240801-2.0.0</name>
11+
<version>v1-rev20240813-2.0.0</version>
12+
<name>Batch API v1-rev20240813-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>
@@ -90,7 +90,7 @@
9090
<windowtitle>Batch API ${project.version}</windowtitle>
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
93-
<link>https://googleapis.dev/java/google-http-client/1.44.2/</link>
93+
<link>https://googleapis.dev/java/google-http-client/1.45.0/</link>
9494
<link>https://googleapis.dev/java/google-oauth-client/1.36.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.6.0/</link>
9696
</links>

clients/google-api-services-batch/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-batch</artifactId>
25-
<version>v1-rev20240801-2.0.0</version>
25+
<version>v1-rev20240813-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-batch:v1-rev20240801-2.0.0'
38+
implementation 'com.google.apis:google-api-services-batch:v1-rev20240813-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)