Skip to content

Commit 5bbec7c

Browse files
1 parent 1b20b79 commit 5bbec7c

File tree

9 files changed

+218
-36
lines changed

9 files changed

+218
-36
lines changed

clients/google-api-services-notebooks/v2/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-notebooks</artifactId>
25-
<version>v2-rev20250319-2.0.0</version>
25+
<version>v2-rev20250430-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-notebooks:v2-rev20250319-2.0.0'
38+
implementation 'com.google.apis:google-api-services-notebooks:v2-rev20250430-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-notebooks/v2/2.0.0/com/google/api/services/notebooks/v2/AIPlatformNotebooks.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,29 @@ public List setName(java.lang.String name) {
444444
return this;
445445
}
446446

447+
/**
448+
* Optional. A list of extra location types that should be used as conditions for
449+
* controlling the visibility of the locations.
450+
*/
451+
@com.google.api.client.util.Key
452+
private java.util.List<java.lang.String> extraLocationTypes;
453+
454+
/** Optional. A list of extra location types that should be used as conditions for controlling the
455+
visibility of the locations.
456+
*/
457+
public java.util.List<java.lang.String> getExtraLocationTypes() {
458+
return extraLocationTypes;
459+
}
460+
461+
/**
462+
* Optional. A list of extra location types that should be used as conditions for
463+
* controlling the visibility of the locations.
464+
*/
465+
public List setExtraLocationTypes(java.util.List<java.lang.String> extraLocationTypes) {
466+
this.extraLocationTypes = extraLocationTypes;
467+
return this;
468+
}
469+
447470
/**
448471
* A filter to narrow down results to a preferred subset. The filtering language accepts
449472
* strings like `"displayName=tokyo"`, and is documented in more detail in

clients/google-api-services-notebooks/v2/2.0.0/com/google/api/services/notebooks/v2/model/ConfidentialInstanceConfig.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ public final class ConfidentialInstanceConfig extends com.google.api.client.json
3636
@com.google.api.client.util.Key
3737
private java.lang.String confidentialInstanceType;
3838

39-
/**
40-
* Optional. Defines whether the instance should have confidential compute enabled.
41-
* The value may be {@code null}.
42-
*/
43-
@com.google.api.client.util.Key
44-
private java.lang.Boolean enableConfidentialCompute;
45-
4639
/**
4740
* Optional. Defines the type of technology used by the confidential instance.
4841
* @return value or {@code null} for none
@@ -60,23 +53,6 @@ public ConfidentialInstanceConfig setConfidentialInstanceType(java.lang.String c
6053
return this;
6154
}
6255

63-
/**
64-
* Optional. Defines whether the instance should have confidential compute enabled.
65-
* @return value or {@code null} for none
66-
*/
67-
public java.lang.Boolean getEnableConfidentialCompute() {
68-
return enableConfidentialCompute;
69-
}
70-
71-
/**
72-
* Optional. Defines whether the instance should have confidential compute enabled.
73-
* @param enableConfidentialCompute enableConfidentialCompute or {@code null} for none
74-
*/
75-
public ConfidentialInstanceConfig setEnableConfidentialCompute(java.lang.Boolean enableConfidentialCompute) {
76-
this.enableConfidentialCompute = enableConfidentialCompute;
77-
return this;
78-
}
79-
8056
@Override
8157
public ConfidentialInstanceConfig set(String fieldName, Object value) {
8258
return (ConfidentialInstanceConfig) super.set(fieldName, value);

clients/google-api-services-notebooks/v2/2.0.0/com/google/api/services/notebooks/v2/model/GceSetup.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,13 @@ public final class GceSetup extends com.google.api.client.json.GenericJson {
132132
@com.google.api.client.util.Key
133133
private java.util.List<NetworkInterface> networkInterfaces;
134134

135+
/**
136+
* Optional. Specifies the reservations that this instance can consume from.
137+
* The value may be {@code null}.
138+
*/
139+
@com.google.api.client.util.Key
140+
private ReservationAffinity reservationAffinity;
141+
135142
/**
136143
* Optional. The service account that serves as an identity for the VM instance. Currently
137144
* supports only one service account.
@@ -381,6 +388,23 @@ public GceSetup setNetworkInterfaces(java.util.List<NetworkInterface> networkInt
381388
return this;
382389
}
383390

391+
/**
392+
* Optional. Specifies the reservations that this instance can consume from.
393+
* @return value or {@code null} for none
394+
*/
395+
public ReservationAffinity getReservationAffinity() {
396+
return reservationAffinity;
397+
}
398+
399+
/**
400+
* Optional. Specifies the reservations that this instance can consume from.
401+
* @param reservationAffinity reservationAffinity or {@code null} for none
402+
*/
403+
public GceSetup setReservationAffinity(ReservationAffinity reservationAffinity) {
404+
this.reservationAffinity = reservationAffinity;
405+
return this;
406+
}
407+
384408
/**
385409
* Optional. The service account that serves as an identity for the VM instance. Currently
386410
* supports only one service account.

clients/google-api-services-notebooks/v2/2.0.0/com/google/api/services/notebooks/v2/model/Instance.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ public final class Instance extends com.google.api.client.json.GenericJson {
5050
@com.google.api.client.util.Key
5151
private java.lang.Boolean disableProxyAccess;
5252

53+
/**
54+
* Optional. If true, deletion protection will be enabled for this Workbench Instance. If false,
55+
* deletion protection will be disabled for this Workbench Instance.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.Boolean enableDeletionProtection;
60+
5361
/**
5462
* Optional. Flag that specifies that a notebook can be accessed with third party identity
5563
* provider.
@@ -213,6 +221,25 @@ public Instance setDisableProxyAccess(java.lang.Boolean disableProxyAccess) {
213221
return this;
214222
}
215223

224+
/**
225+
* Optional. If true, deletion protection will be enabled for this Workbench Instance. If false,
226+
* deletion protection will be disabled for this Workbench Instance.
227+
* @return value or {@code null} for none
228+
*/
229+
public java.lang.Boolean getEnableDeletionProtection() {
230+
return enableDeletionProtection;
231+
}
232+
233+
/**
234+
* Optional. If true, deletion protection will be enabled for this Workbench Instance. If false,
235+
* deletion protection will be disabled for this Workbench Instance.
236+
* @param enableDeletionProtection enableDeletionProtection or {@code null} for none
237+
*/
238+
public Instance setEnableDeletionProtection(java.lang.Boolean enableDeletionProtection) {
239+
this.enableDeletionProtection = enableDeletionProtection;
240+
return this;
241+
}
242+
216243
/**
217244
* Optional. Flag that specifies that a notebook can be accessed with third party identity
218245
* provider.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.notebooks.v2.model;
18+
19+
/**
20+
* A reservation that an instance can consume from.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Notebooks API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class ReservationAffinity extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. Specifies the type of reservation from which this instance can consume resources:
34+
* RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved
35+
* instances for examples.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String consumeReservationType;
40+
41+
/**
42+
* Optional. Corresponds to the label key of a reservation resource. To target a
43+
* RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and
44+
* specify the name of your reservation as its value.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String key;
49+
50+
/**
51+
* Optional. Corresponds to the label values of a reservation resource. This can be either a name
52+
* to a reservation in the same project or "projects/different-project/reservations/some-
53+
* reservation-name" to target a shared reservation in the same zone but in a different project.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private java.util.List<java.lang.String> values;
58+
59+
/**
60+
* Required. Specifies the type of reservation from which this instance can consume resources:
61+
* RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved
62+
* instances for examples.
63+
* @return value or {@code null} for none
64+
*/
65+
public java.lang.String getConsumeReservationType() {
66+
return consumeReservationType;
67+
}
68+
69+
/**
70+
* Required. Specifies the type of reservation from which this instance can consume resources:
71+
* RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved
72+
* instances for examples.
73+
* @param consumeReservationType consumeReservationType or {@code null} for none
74+
*/
75+
public ReservationAffinity setConsumeReservationType(java.lang.String consumeReservationType) {
76+
this.consumeReservationType = consumeReservationType;
77+
return this;
78+
}
79+
80+
/**
81+
* Optional. Corresponds to the label key of a reservation resource. To target a
82+
* RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and
83+
* specify the name of your reservation as its value.
84+
* @return value or {@code null} for none
85+
*/
86+
public java.lang.String getKey() {
87+
return key;
88+
}
89+
90+
/**
91+
* Optional. Corresponds to the label key of a reservation resource. To target a
92+
* RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and
93+
* specify the name of your reservation as its value.
94+
* @param key key or {@code null} for none
95+
*/
96+
public ReservationAffinity setKey(java.lang.String key) {
97+
this.key = key;
98+
return this;
99+
}
100+
101+
/**
102+
* Optional. Corresponds to the label values of a reservation resource. This can be either a name
103+
* to a reservation in the same project or "projects/different-project/reservations/some-
104+
* reservation-name" to target a shared reservation in the same zone but in a different project.
105+
* @return value or {@code null} for none
106+
*/
107+
public java.util.List<java.lang.String> getValues() {
108+
return values;
109+
}
110+
111+
/**
112+
* Optional. Corresponds to the label values of a reservation resource. This can be either a name
113+
* to a reservation in the same project or "projects/different-project/reservations/some-
114+
* reservation-name" to target a shared reservation in the same zone but in a different project.
115+
* @param values values or {@code null} for none
116+
*/
117+
public ReservationAffinity setValues(java.util.List<java.lang.String> values) {
118+
this.values = values;
119+
return this;
120+
}
121+
122+
@Override
123+
public ReservationAffinity set(String fieldName, Object value) {
124+
return (ReservationAffinity) super.set(fieldName, value);
125+
}
126+
127+
@Override
128+
public ReservationAffinity clone() {
129+
return (ReservationAffinity) super.clone();
130+
}
131+
132+
}

clients/google-api-services-notebooks/v2/2.0.0/com/google/api/services/notebooks/v2/model/ShieldedInstanceConfig.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public final class ShieldedInstanceConfig extends com.google.api.client.json.Gen
3535
* Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring
3636
* and attestation of the boot integrity of the VM instance. The attestation is performed against
3737
* the integrity policy baseline. This baseline is initially derived from the implicitly trusted
38-
* boot image when the VM instance is created. Enabled by default.
38+
* boot image when the VM instance is created.
3939
* The value may be {@code null}.
4040
*/
4141
@com.google.api.client.util.Key
@@ -51,7 +51,7 @@ public final class ShieldedInstanceConfig extends com.google.api.client.json.Gen
5151
private java.lang.Boolean enableSecureBoot;
5252

5353
/**
54-
* Optional. Defines whether the VM instance has the vTPM enabled. Enabled by default.
54+
* Optional. Defines whether the VM instance has the vTPM enabled.
5555
* The value may be {@code null}.
5656
*/
5757
@com.google.api.client.util.Key
@@ -61,7 +61,7 @@ public final class ShieldedInstanceConfig extends com.google.api.client.json.Gen
6161
* Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring
6262
* and attestation of the boot integrity of the VM instance. The attestation is performed against
6363
* the integrity policy baseline. This baseline is initially derived from the implicitly trusted
64-
* boot image when the VM instance is created. Enabled by default.
64+
* boot image when the VM instance is created.
6565
* @return value or {@code null} for none
6666
*/
6767
public java.lang.Boolean getEnableIntegrityMonitoring() {
@@ -72,7 +72,7 @@ public java.lang.Boolean getEnableIntegrityMonitoring() {
7272
* Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring
7373
* and attestation of the boot integrity of the VM instance. The attestation is performed against
7474
* the integrity policy baseline. This baseline is initially derived from the implicitly trusted
75-
* boot image when the VM instance is created. Enabled by default.
75+
* boot image when the VM instance is created.
7676
* @param enableIntegrityMonitoring enableIntegrityMonitoring or {@code null} for none
7777
*/
7878
public ShieldedInstanceConfig setEnableIntegrityMonitoring(java.lang.Boolean enableIntegrityMonitoring) {
@@ -102,15 +102,15 @@ public ShieldedInstanceConfig setEnableSecureBoot(java.lang.Boolean enableSecure
102102
}
103103

104104
/**
105-
* Optional. Defines whether the VM instance has the vTPM enabled. Enabled by default.
105+
* Optional. Defines whether the VM instance has the vTPM enabled.
106106
* @return value or {@code null} for none
107107
*/
108108
public java.lang.Boolean getEnableVtpm() {
109109
return enableVtpm;
110110
}
111111

112112
/**
113-
* Optional. Defines whether the VM instance has the vTPM enabled. Enabled by default.
113+
* Optional. Defines whether the VM instance has the vTPM enabled.
114114
* @param enableVtpm enableVtpm or {@code null} for none
115115
*/
116116
public ShieldedInstanceConfig setEnableVtpm(java.lang.Boolean enableVtpm) {

clients/google-api-services-notebooks/v2/2.0.0/pom.xml

Lines changed: 2 additions & 2 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-notebooks</artifactId>
11-
<version>v2-rev20250319-2.0.0</version>
12-
<name>Notebooks API v2-rev20250319-2.0.0</name>
11+
<version>v2-rev20250430-2.0.0</version>
12+
<name>Notebooks API v2-rev20250430-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-notebooks/v2/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-notebooks</artifactId>
25-
<version>v2-rev20250319-2.0.0</version>
25+
<version>v2-rev20250430-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-notebooks:v2-rev20250319-2.0.0'
38+
implementation 'com.google.apis:google-api-services-notebooks:v2-rev20250430-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)