Skip to content

Commit 7ce7d50

Browse files
1 parent 8bf2191 commit 7ce7d50

File tree

6 files changed

+147
-6
lines changed

6 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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 set of Confidential Instance options.
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 ConfidentialInstanceConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Defines the type of technology used by the confidential instance.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String confidentialInstanceType;
38+
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+
46+
/**
47+
* Optional. Defines the type of technology used by the confidential instance.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getConfidentialInstanceType() {
51+
return confidentialInstanceType;
52+
}
53+
54+
/**
55+
* Optional. Defines the type of technology used by the confidential instance.
56+
* @param confidentialInstanceType confidentialInstanceType or {@code null} for none
57+
*/
58+
public ConfidentialInstanceConfig setConfidentialInstanceType(java.lang.String confidentialInstanceType) {
59+
this.confidentialInstanceType = confidentialInstanceType;
60+
return this;
61+
}
62+
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+
80+
@Override
81+
public ConfidentialInstanceConfig set(String fieldName, Object value) {
82+
return (ConfidentialInstanceConfig) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public ConfidentialInstanceConfig clone() {
87+
return (ConfidentialInstanceConfig) super.clone();
88+
}
89+
90+
}

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ public final class Config extends com.google.api.client.json.GenericJson {
4343
@com.google.api.client.util.Key
4444
private DefaultValues defaultValues;
4545

46+
/**
47+
* Output only. Flag to disable the creation of legacy Workbench notebooks (User-managed notebooks
48+
* and Google-managed notebooks).
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.Boolean disableWorkbenchLegacyCreation;
53+
4654
/**
4755
* Output only. The supported values for configuration.
4856
* The value may be {@code null}.
@@ -84,6 +92,25 @@ public Config setDefaultValues(DefaultValues defaultValues) {
8492
return this;
8593
}
8694

95+
/**
96+
* Output only. Flag to disable the creation of legacy Workbench notebooks (User-managed notebooks
97+
* and Google-managed notebooks).
98+
* @return value or {@code null} for none
99+
*/
100+
public java.lang.Boolean getDisableWorkbenchLegacyCreation() {
101+
return disableWorkbenchLegacyCreation;
102+
}
103+
104+
/**
105+
* Output only. Flag to disable the creation of legacy Workbench notebooks (User-managed notebooks
106+
* and Google-managed notebooks).
107+
* @param disableWorkbenchLegacyCreation disableWorkbenchLegacyCreation or {@code null} for none
108+
*/
109+
public Config setDisableWorkbenchLegacyCreation(java.lang.Boolean disableWorkbenchLegacyCreation) {
110+
this.disableWorkbenchLegacyCreation = disableWorkbenchLegacyCreation;
111+
return this;
112+
}
113+
87114
/**
88115
* Output only. The supported values for configuration.
89116
* @return value or {@code null} for none

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
@@ -52,6 +52,13 @@ public final class GceSetup extends com.google.api.client.json.GenericJson {
5252
@com.google.api.client.util.Key
5353
private BootDisk bootDisk;
5454

55+
/**
56+
* Optional. Confidential instance configuration.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private ConfidentialInstanceConfig confidentialInstanceConfig;
61+
5562
/**
5663
* Optional. Use a container image to start the notebook instance.
5764
* The value may be {@code null}.
@@ -196,6 +203,23 @@ public GceSetup setBootDisk(BootDisk bootDisk) {
196203
return this;
197204
}
198205

206+
/**
207+
* Optional. Confidential instance configuration.
208+
* @return value or {@code null} for none
209+
*/
210+
public ConfidentialInstanceConfig getConfidentialInstanceConfig() {
211+
return confidentialInstanceConfig;
212+
}
213+
214+
/**
215+
* Optional. Confidential instance configuration.
216+
* @param confidentialInstanceConfig confidentialInstanceConfig or {@code null} for none
217+
*/
218+
public GceSetup setConfidentialInstanceConfig(ConfidentialInstanceConfig confidentialInstanceConfig) {
219+
this.confidentialInstanceConfig = confidentialInstanceConfig;
220+
return this;
221+
}
222+
199223
/**
200224
* Optional. Use a container image to start the notebook instance.
201225
* @return value or {@code null} for none

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-rev20250101-2.0.0</version>
12-
<name>Notebooks API v2-rev20250101-2.0.0</name>
11+
<version>v2-rev20250319-2.0.0</version>
12+
<name>Notebooks API v2-rev20250319-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-rev20250101-2.0.0</version>
25+
<version>v2-rev20250319-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-rev20250101-2.0.0'
38+
implementation 'com.google.apis:google-api-services-notebooks:v2-rev20250319-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)