Skip to content

Commit bb25f0e

Browse files
1 parent 004cdba commit bb25f0e

File tree

6 files changed

+252
-6
lines changed

6 files changed

+252
-6
lines changed

clients/google-api-services-looker/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-looker</artifactId>
25-
<version>v1-rev20251203-2.0.0</version>
25+
<version>v1-rev20260119-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-looker:v1-rev20251203-2.0.0'
38+
implementation 'com.google.apis:google-api-services-looker:v1-rev20260119-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/Looker.java

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,6 +1863,137 @@ public Restore set(String parameterName, Object value) {
18631863
return (Restore) super.set(parameterName, value);
18641864
}
18651865
}
1866+
/**
1867+
* Undeletes Looker instance.
1868+
*
1869+
* Create a request for the method "instances.undelete".
1870+
*
1871+
* This request holds the parameters needed by the looker server. After setting any optional
1872+
* parameters, call the {@link Undelete#execute()} method to invoke the remote operation.
1873+
*
1874+
* @param name Required. Format: projects/{project}/locations/{location}/instances/{instance}
1875+
* @param content the {@link com.google.api.services.looker.v1.model.UndeleteInstanceRequest}
1876+
* @return the request
1877+
*/
1878+
public Undelete undelete(java.lang.String name, com.google.api.services.looker.v1.model.UndeleteInstanceRequest content) throws java.io.IOException {
1879+
Undelete result = new Undelete(name, content);
1880+
initialize(result);
1881+
return result;
1882+
}
1883+
1884+
public class Undelete extends LookerRequest<com.google.api.services.looker.v1.model.Operation> {
1885+
1886+
private static final String REST_PATH = "v1/{+name}:undelete";
1887+
1888+
private final java.util.regex.Pattern NAME_PATTERN =
1889+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/instances/[^/]+$");
1890+
1891+
/**
1892+
* Undeletes Looker instance.
1893+
*
1894+
* Create a request for the method "instances.undelete".
1895+
*
1896+
* This request holds the parameters needed by the the looker server. After setting any optional
1897+
* parameters, call the {@link Undelete#execute()} method to invoke the remote operation. <p>
1898+
* {@link
1899+
* Undelete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
1900+
* must be called to initialize this instance immediately after invoking the constructor. </p>
1901+
*
1902+
* @param name Required. Format: projects/{project}/locations/{location}/instances/{instance}
1903+
* @param content the {@link com.google.api.services.looker.v1.model.UndeleteInstanceRequest}
1904+
* @since 1.13
1905+
*/
1906+
protected Undelete(java.lang.String name, com.google.api.services.looker.v1.model.UndeleteInstanceRequest content) {
1907+
super(Looker.this, "POST", REST_PATH, content, com.google.api.services.looker.v1.model.Operation.class);
1908+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
1909+
if (!getSuppressPatternChecks()) {
1910+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
1911+
"Parameter name must conform to the pattern " +
1912+
"^projects/[^/]+/locations/[^/]+/instances/[^/]+$");
1913+
}
1914+
}
1915+
1916+
@Override
1917+
public Undelete set$Xgafv(java.lang.String $Xgafv) {
1918+
return (Undelete) super.set$Xgafv($Xgafv);
1919+
}
1920+
1921+
@Override
1922+
public Undelete setAccessToken(java.lang.String accessToken) {
1923+
return (Undelete) super.setAccessToken(accessToken);
1924+
}
1925+
1926+
@Override
1927+
public Undelete setAlt(java.lang.String alt) {
1928+
return (Undelete) super.setAlt(alt);
1929+
}
1930+
1931+
@Override
1932+
public Undelete setCallback(java.lang.String callback) {
1933+
return (Undelete) super.setCallback(callback);
1934+
}
1935+
1936+
@Override
1937+
public Undelete setFields(java.lang.String fields) {
1938+
return (Undelete) super.setFields(fields);
1939+
}
1940+
1941+
@Override
1942+
public Undelete setKey(java.lang.String key) {
1943+
return (Undelete) super.setKey(key);
1944+
}
1945+
1946+
@Override
1947+
public Undelete setOauthToken(java.lang.String oauthToken) {
1948+
return (Undelete) super.setOauthToken(oauthToken);
1949+
}
1950+
1951+
@Override
1952+
public Undelete setPrettyPrint(java.lang.Boolean prettyPrint) {
1953+
return (Undelete) super.setPrettyPrint(prettyPrint);
1954+
}
1955+
1956+
@Override
1957+
public Undelete setQuotaUser(java.lang.String quotaUser) {
1958+
return (Undelete) super.setQuotaUser(quotaUser);
1959+
}
1960+
1961+
@Override
1962+
public Undelete setUploadType(java.lang.String uploadType) {
1963+
return (Undelete) super.setUploadType(uploadType);
1964+
}
1965+
1966+
@Override
1967+
public Undelete setUploadProtocol(java.lang.String uploadProtocol) {
1968+
return (Undelete) super.setUploadProtocol(uploadProtocol);
1969+
}
1970+
1971+
/** Required. Format: projects/{project}/locations/{location}/instances/{instance} */
1972+
@com.google.api.client.util.Key
1973+
private java.lang.String name;
1974+
1975+
/** Required. Format: projects/{project}/locations/{location}/instances/{instance}
1976+
*/
1977+
public java.lang.String getName() {
1978+
return name;
1979+
}
1980+
1981+
/** Required. Format: projects/{project}/locations/{location}/instances/{instance} */
1982+
public Undelete setName(java.lang.String name) {
1983+
if (!getSuppressPatternChecks()) {
1984+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
1985+
"Parameter name must conform to the pattern " +
1986+
"^projects/[^/]+/locations/[^/]+/instances/[^/]+$");
1987+
}
1988+
this.name = name;
1989+
return this;
1990+
}
1991+
1992+
@Override
1993+
public Undelete set(String parameterName, Object value) {
1994+
return (Undelete) super.set(parameterName, value);
1995+
}
1996+
}
18661997

18671998
/**
18681999
* An accessor for creating requests from the Backups collection.

clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/model/Instance.java

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class Instance extends com.google.api.client.json.GenericJson {
3737
@com.google.api.client.util.Key
3838
private AdminSettings adminSettings;
3939

40+
/**
41+
* Optional. Indicates whether catalog integration is enabled for the Looker instance.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Boolean catalogIntegrationEnabled;
46+
4047
/**
4148
* Optional. Storage class of the instance.
4249
* The value may be {@code null}.
@@ -251,13 +258,27 @@ public final class Instance extends com.google.api.client.json.GenericJson {
251258
@com.google.api.client.util.Key
252259
private java.lang.Boolean satisfiesPzs;
253260

261+
/**
262+
* Output only. The reason for the instance being in a soft-deleted state.
263+
* The value may be {@code null}.
264+
*/
265+
@com.google.api.client.util.Key
266+
private java.lang.String softDeleteReason;
267+
254268
/**
255269
* Output only. The state of the instance.
256270
* The value may be {@code null}.
257271
*/
258272
@com.google.api.client.util.Key
259273
private java.lang.String state;
260274

275+
/**
276+
* Output only. The time when the Looker instance was suspended (soft deleted).
277+
* The value may be {@code null}.
278+
*/
279+
@com.google.api.client.util.Key
280+
private String suspendedTime;
281+
261282
/**
262283
* Output only. The time when the Looker instance was last updated.
263284
* The value may be {@code null}.
@@ -289,6 +310,23 @@ public Instance setAdminSettings(AdminSettings adminSettings) {
289310
return this;
290311
}
291312

313+
/**
314+
* Optional. Indicates whether catalog integration is enabled for the Looker instance.
315+
* @return value or {@code null} for none
316+
*/
317+
public java.lang.Boolean getCatalogIntegrationEnabled() {
318+
return catalogIntegrationEnabled;
319+
}
320+
321+
/**
322+
* Optional. Indicates whether catalog integration is enabled for the Looker instance.
323+
* @param catalogIntegrationEnabled catalogIntegrationEnabled or {@code null} for none
324+
*/
325+
public Instance setCatalogIntegrationEnabled(java.lang.Boolean catalogIntegrationEnabled) {
326+
this.catalogIntegrationEnabled = catalogIntegrationEnabled;
327+
return this;
328+
}
329+
292330
/**
293331
* Optional. Storage class of the instance.
294332
* @return value or {@code null} for none
@@ -807,6 +845,23 @@ public Instance setSatisfiesPzs(java.lang.Boolean satisfiesPzs) {
807845
return this;
808846
}
809847

848+
/**
849+
* Output only. The reason for the instance being in a soft-deleted state.
850+
* @return value or {@code null} for none
851+
*/
852+
public java.lang.String getSoftDeleteReason() {
853+
return softDeleteReason;
854+
}
855+
856+
/**
857+
* Output only. The reason for the instance being in a soft-deleted state.
858+
* @param softDeleteReason softDeleteReason or {@code null} for none
859+
*/
860+
public Instance setSoftDeleteReason(java.lang.String softDeleteReason) {
861+
this.softDeleteReason = softDeleteReason;
862+
return this;
863+
}
864+
810865
/**
811866
* Output only. The state of the instance.
812867
* @return value or {@code null} for none
@@ -824,6 +879,23 @@ public Instance setState(java.lang.String state) {
824879
return this;
825880
}
826881

882+
/**
883+
* Output only. The time when the Looker instance was suspended (soft deleted).
884+
* @return value or {@code null} for none
885+
*/
886+
public String getSuspendedTime() {
887+
return suspendedTime;
888+
}
889+
890+
/**
891+
* Output only. The time when the Looker instance was suspended (soft deleted).
892+
* @param suspendedTime suspendedTime or {@code null} for none
893+
*/
894+
public Instance setSuspendedTime(String suspendedTime) {
895+
this.suspendedTime = suspendedTime;
896+
return this;
897+
}
898+
827899
/**
828900
* Output only. The time when the Looker instance was last updated.
829901
* @return value or {@code null} for none
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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.looker.v1.model;
18+
19+
/**
20+
* Request options for undeleting an instance.
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 Looker (Google Cloud core) API. For a detailed
24+
* explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class UndeleteInstanceRequest extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public UndeleteInstanceRequest set(String fieldName, Object value) {
35+
return (UndeleteInstanceRequest) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public UndeleteInstanceRequest clone() {
40+
return (UndeleteInstanceRequest) super.clone();
41+
}
42+
43+
}

clients/google-api-services-looker/v1/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-looker</artifactId>
11-
<version>v1-rev20251203-2.0.0</version>
12-
<name>Looker (Google Cloud core) API v1-rev20251203-2.0.0</name>
11+
<version>v1-rev20260119-2.0.0</version>
12+
<name>Looker (Google Cloud core) API v1-rev20260119-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-looker/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-looker</artifactId>
25-
<version>v1-rev20251203-2.0.0</version>
25+
<version>v1-rev20260119-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-looker:v1-rev20251203-2.0.0'
38+
implementation 'com.google.apis:google-api-services-looker:v1-rev20260119-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)