Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-looker/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-looker</artifactId>
<version>v1-rev20260502-2.0.0</version>
<version>v1-rev20260609-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-looker:v1-rev20260502-2.0.0'
implementation 'com.google.apis:google-api-services-looker:v1-rev20260609-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1442,6 +1442,22 @@ public List setPageToken(java.lang.String pageToken) {
return this;
}

/** Optional. Whether to include deleted instances in the response. */
@com.google.api.client.util.Key
private java.lang.Boolean showDeleted;

/** Optional. Whether to include deleted instances in the response.
*/
public java.lang.Boolean getShowDeleted() {
return showDeleted;
}

/** Optional. Whether to include deleted instances in the response. */
public List setShowDeleted(java.lang.Boolean showDeleted) {
this.showDeleted = showDeleted;
return this;
}

@Override
public List set(String parameterName, Object value) {
return (List) super.set(parameterName, value);
Expand Down Expand Up @@ -1878,6 +1894,137 @@ public Restore set(String parameterName, Object value) {
return (Restore) super.set(parameterName, value);
}
}
/**
* Undeletes Looker instance.
*
* Create a request for the method "instances.undelete".
*
* This request holds the parameters needed by the looker server. After setting any optional
* parameters, call the {@link Undelete#execute()} method to invoke the remote operation.
*
* @param name Required. Format: projects/{project}/locations/{location}/instances/{instance}
* @param content the {@link com.google.api.services.looker.v1.model.UndeleteInstanceRequest}
* @return the request
*/
public Undelete undelete(java.lang.String name, com.google.api.services.looker.v1.model.UndeleteInstanceRequest content) throws java.io.IOException {
Undelete result = new Undelete(name, content);
initialize(result);
return result;
}

public class Undelete extends LookerRequest<com.google.api.services.looker.v1.model.Operation> {

private static final String REST_PATH = "v1/{+name}:undelete";

private final java.util.regex.Pattern NAME_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/instances/[^/]+$");

/**
* Undeletes Looker instance.
*
* Create a request for the method "instances.undelete".
*
* This request holds the parameters needed by the the looker server. After setting any optional
* parameters, call the {@link Undelete#execute()} method to invoke the remote operation. <p>
* {@link
* Undelete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor. </p>
*
* @param name Required. Format: projects/{project}/locations/{location}/instances/{instance}
* @param content the {@link com.google.api.services.looker.v1.model.UndeleteInstanceRequest}
* @since 1.13
*/
protected Undelete(java.lang.String name, com.google.api.services.looker.v1.model.UndeleteInstanceRequest content) {
super(Looker.this, "POST", REST_PATH, content, com.google.api.services.looker.v1.model.Operation.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/instances/[^/]+$");
}
}

@Override
public Undelete set$Xgafv(java.lang.String $Xgafv) {
return (Undelete) super.set$Xgafv($Xgafv);
}

@Override
public Undelete setAccessToken(java.lang.String accessToken) {
return (Undelete) super.setAccessToken(accessToken);
}

@Override
public Undelete setAlt(java.lang.String alt) {
return (Undelete) super.setAlt(alt);
}

@Override
public Undelete setCallback(java.lang.String callback) {
return (Undelete) super.setCallback(callback);
}

@Override
public Undelete setFields(java.lang.String fields) {
return (Undelete) super.setFields(fields);
}

@Override
public Undelete setKey(java.lang.String key) {
return (Undelete) super.setKey(key);
}

@Override
public Undelete setOauthToken(java.lang.String oauthToken) {
return (Undelete) super.setOauthToken(oauthToken);
}

@Override
public Undelete setPrettyPrint(java.lang.Boolean prettyPrint) {
return (Undelete) super.setPrettyPrint(prettyPrint);
}

@Override
public Undelete setQuotaUser(java.lang.String quotaUser) {
return (Undelete) super.setQuotaUser(quotaUser);
}

@Override
public Undelete setUploadType(java.lang.String uploadType) {
return (Undelete) super.setUploadType(uploadType);
}

@Override
public Undelete setUploadProtocol(java.lang.String uploadProtocol) {
return (Undelete) super.setUploadProtocol(uploadProtocol);
}

/** Required. Format: projects/{project}/locations/{location}/instances/{instance} */
@com.google.api.client.util.Key
private java.lang.String name;

/** Required. Format: projects/{project}/locations/{location}/instances/{instance}
*/
public java.lang.String getName() {
return name;
}

/** Required. Format: projects/{project}/locations/{location}/instances/{instance} */
public Undelete setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/instances/[^/]+$");
}
this.name = name;
return this;
}

@Override
public Undelete set(String parameterName, Object value) {
return (Undelete) super.set(parameterName, value);
}
}

/**
* An accessor for creating requests from the Backups collection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
@SuppressWarnings("javadoc")
public final class Instance extends com.google.api.client.json.GenericJson {

/**
* Optional. Accelerated security patch enabled for the instance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean acceleratedSecurityPatchEnabled;

/**
* Looker Instance Admin settings.
* The value may be {@code null}.
Expand Down Expand Up @@ -243,6 +250,13 @@ public final class Instance extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.Boolean publicIpEnabled;

/**
* Optional. The selected release channel for the instance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String releaseChannel;

/**
* Name of a reserved IP address range within the Instance.consumer_network, to be used for
* private services access connection. May or may not be specified in a create request.
Expand All @@ -265,13 +279,27 @@ public final class Instance extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.Boolean satisfiesPzs;

/**
* Output only. The reason for the instance being in a soft-deleted state.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String softDeleteReason;

/**
* Output only. The state of the instance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String state;

/**
* Output only. The time when the Looker instance was suspended (soft deleted).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String suspendedTime;

/**
* Output only. The time when the Looker instance was last updated.
* The value may be {@code null}.
Expand All @@ -286,6 +314,23 @@ public final class Instance extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private UserMetadata userMetadata;

/**
* Optional. Accelerated security patch enabled for the instance.
* @return value or {@code null} for none
*/
public java.lang.Boolean getAcceleratedSecurityPatchEnabled() {
return acceleratedSecurityPatchEnabled;
}

/**
* Optional. Accelerated security patch enabled for the instance.
* @param acceleratedSecurityPatchEnabled acceleratedSecurityPatchEnabled or {@code null} for none
*/
public Instance setAcceleratedSecurityPatchEnabled(java.lang.Boolean acceleratedSecurityPatchEnabled) {
this.acceleratedSecurityPatchEnabled = acceleratedSecurityPatchEnabled;
return this;
}

/**
* Looker Instance Admin settings.
* @return value or {@code null} for none
Expand Down Expand Up @@ -802,6 +847,23 @@ public Instance setPublicIpEnabled(java.lang.Boolean publicIpEnabled) {
return this;
}

/**
* Optional. The selected release channel for the instance.
* @return value or {@code null} for none
*/
public java.lang.String getReleaseChannel() {
return releaseChannel;
}

/**
* Optional. The selected release channel for the instance.
* @param releaseChannel releaseChannel or {@code null} for none
*/
public Instance setReleaseChannel(java.lang.String releaseChannel) {
this.releaseChannel = releaseChannel;
return this;
}

/**
* Name of a reserved IP address range within the Instance.consumer_network, to be used for
* private services access connection. May or may not be specified in a create request.
Expand Down Expand Up @@ -855,6 +917,23 @@ public Instance setSatisfiesPzs(java.lang.Boolean satisfiesPzs) {
return this;
}

/**
* Output only. The reason for the instance being in a soft-deleted state.
* @return value or {@code null} for none
*/
public java.lang.String getSoftDeleteReason() {
return softDeleteReason;
}

/**
* Output only. The reason for the instance being in a soft-deleted state.
* @param softDeleteReason softDeleteReason or {@code null} for none
*/
public Instance setSoftDeleteReason(java.lang.String softDeleteReason) {
this.softDeleteReason = softDeleteReason;
return this;
}

/**
* Output only. The state of the instance.
* @return value or {@code null} for none
Expand All @@ -872,6 +951,23 @@ public Instance setState(java.lang.String state) {
return this;
}

/**
* Output only. The time when the Looker instance was suspended (soft deleted).
* @return value or {@code null} for none
*/
public String getSuspendedTime() {
return suspendedTime;
}

/**
* Output only. The time when the Looker instance was suspended (soft deleted).
* @param suspendedTime suspendedTime or {@code null} for none
*/
public Instance setSuspendedTime(String suspendedTime) {
this.suspendedTime = suspendedTime;
return this;
}

/**
* Output only. The time when the Looker instance was last updated.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.looker.v1.model;

/**
* Request options for undeleting an instance.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Looker (Google Cloud core) API. For a detailed
* explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class UndeleteInstanceRequest extends com.google.api.client.json.GenericJson {

@Override
public UndeleteInstanceRequest set(String fieldName, Object value) {
return (UndeleteInstanceRequest) super.set(fieldName, value);
}

@Override
public UndeleteInstanceRequest clone() {
return (UndeleteInstanceRequest) super.clone();
}

}
4 changes: 2 additions & 2 deletions clients/google-api-services-looker/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-looker</artifactId>
<version>v1-rev20260502-2.0.0</version>
<name>Looker (Google Cloud core) API v1-rev20260502-2.0.0</name>
<version>v1-rev20260609-2.0.0</version>
<name>Looker (Google Cloud core) API v1-rev20260609-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
Loading
Loading