From 946093704ad9f215dd6d5e814a3edf8b4601f220 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Mon, 15 Jun 2026 18:49:58 -0700 Subject: [PATCH] chore: regenerate looker client --- .../v1/2.0.0/README.md | 4 +- .../google/api/services/looker/v1/Looker.java | 147 ++++++++++++++++++ .../services/looker/v1/model/Instance.java | 96 ++++++++++++ .../v1/model/UndeleteInstanceRequest.java | 43 +++++ .../v1/2.0.0/pom.xml | 4 +- .../google-api-services-looker/v1/README.md | 4 +- 6 files changed, 292 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/model/UndeleteInstanceRequest.java diff --git a/clients/google-api-services-looker/v1/2.0.0/README.md b/clients/google-api-services-looker/v1/2.0.0/README.md index 1cb7b8ce180..4e06bab7efa 100644 --- a/clients/google-api-services-looker/v1/2.0.0/README.md +++ b/clients/google-api-services-looker/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-looker - v1-rev20260502-2.0.0 + v1-rev20260609-2.0.0 @@ -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' } ``` diff --git a/clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/Looker.java b/clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/Looker.java index f7eb586a0a3..2f2ccf66f30 100644 --- a/clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/Looker.java +++ b/clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/Looker.java @@ -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); @@ -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 { + + 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.

+ * {@link + * Undelete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @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. diff --git a/clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/model/Instance.java b/clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/model/Instance.java index 318e4bc5278..7203ec7e7e3 100644 --- a/clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/model/Instance.java +++ b/clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/model/Instance.java @@ -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}. @@ -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. @@ -265,6 +279,13 @@ 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}. @@ -272,6 +293,13 @@ public final class Instance extends com.google.api.client.json.GenericJson { @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}. @@ -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 @@ -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. @@ -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 @@ -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 diff --git a/clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/model/UndeleteInstanceRequest.java b/clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/model/UndeleteInstanceRequest.java new file mode 100644 index 00000000000..30c921bae08 --- /dev/null +++ b/clients/google-api-services-looker/v1/2.0.0/com/google/api/services/looker/v1/model/UndeleteInstanceRequest.java @@ -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. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @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(); + } + +} diff --git a/clients/google-api-services-looker/v1/2.0.0/pom.xml b/clients/google-api-services-looker/v1/2.0.0/pom.xml index 42b10c51732..8cefe7e3685 100644 --- a/clients/google-api-services-looker/v1/2.0.0/pom.xml +++ b/clients/google-api-services-looker/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-looker - v1-rev20260502-2.0.0 - Looker (Google Cloud core) API v1-rev20260502-2.0.0 + v1-rev20260609-2.0.0 + Looker (Google Cloud core) API v1-rev20260609-2.0.0 jar 2011 diff --git a/clients/google-api-services-looker/v1/README.md b/clients/google-api-services-looker/v1/README.md index 1cb7b8ce180..4e06bab7efa 100644 --- a/clients/google-api-services-looker/v1/README.md +++ b/clients/google-api-services-looker/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-looker - v1-rev20260502-2.0.0 + v1-rev20260609-2.0.0 @@ -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' } ```