From ee93acb5183e0ce44982eff32783bdd83f6d2285 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 7 Nov 2026 17:04:06 -0800 Subject: [PATCH] chore: regenerate composer client --- .../v1/2.0.0/README.md | 4 +- .../services/composer/v1/CloudComposer.java | 291 ++++++++++++++++++ .../v1/model/HibernateEnvironmentRequest.java | 42 +++ .../v1/model/ResumeEnvironmentRequest.java | 42 +++ .../v1/2.0.0/pom.xml | 4 +- .../google-api-services-composer/v1/README.md | 4 +- .../v1beta1/2.0.0/README.md | 4 +- .../v1beta1/model/EnvironmentConfig.java | 27 ++ .../model/ScheduledHibernationConfig.java | 148 +++++++++ .../v1beta1/2.0.0/pom.xml | 4 +- .../v1beta1/README.md | 4 +- 11 files changed, 562 insertions(+), 12 deletions(-) create mode 100644 clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/HibernateEnvironmentRequest.java create mode 100644 clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/ResumeEnvironmentRequest.java create mode 100644 clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/ScheduledHibernationConfig.java diff --git a/clients/google-api-services-composer/v1/2.0.0/README.md b/clients/google-api-services-composer/v1/2.0.0/README.md index 84cfa84de29..46239fad933 100644 --- a/clients/google-api-services-composer/v1/2.0.0/README.md +++ b/clients/google-api-services-composer/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-composer - v1-rev20261015-2.9.2 + v1-rev20261106-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-composer:v1-rev20261015-2.9.2' + implementation 'com.google.apis:google-api-services-composer:v1-rev20261106-2.9.2' } ``` diff --git a/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/CloudComposer.java b/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/CloudComposer.java index b1defcc104f..01147ba425b 100644 --- a/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/CloudComposer.java +++ b/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/CloudComposer.java @@ -1178,6 +1178,152 @@ public Get set(String parameterName, Object value) { return (Get) super.set(parameterName, value); } } + /** + * Hibernates (pauses) a running environment. It requests the environment to switch to the + * `HIBERNATED` state, keeping its data and minimizing cost, but not running any DAGs. This method + * is supported for Cloud Composer environments in development mode in versions + * composer-3-airflow-*.*.*-build.* and newer. + * + * Create a request for the method "environments.hibernate". + * + * This request holds the parameters needed by the composer server. After setting any optional + * parameters, call the {@link Hibernate#execute()} method to invoke the remote operation. + * + * @param name Required. The resource name of the environment to hibernate, in the form: + * "projects/{project}/locations/{location}/environments/{environment}" + * @param content the {@link com.google.api.services.composer.v1.model.HibernateEnvironmentRequest} + * @return the request + */ + public Hibernate hibernate(java.lang.String name, com.google.api.services.composer.v1.model.HibernateEnvironmentRequest content) throws java.io.IOException { + Hibernate result = new Hibernate(name, content); + initialize(result); + return result; + } + + public class Hibernate extends CloudComposerRequest { + + private static final String REST_PATH = "v1/{+name}:hibernate"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/environments/[^/]+$"); + + /** + * Hibernates (pauses) a running environment. It requests the environment to switch to the + * `HIBERNATED` state, keeping its data and minimizing cost, but not running any DAGs. This method + * is supported for Cloud Composer environments in development mode in versions + * composer-3-airflow-*.*.*-build.* and newer. + * + * Create a request for the method "environments.hibernate". + * + * This request holds the parameters needed by the the composer server. After setting any + * optional parameters, call the {@link Hibernate#execute()} method to invoke the remote + * operation.

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

+ * + * @param name Required. The resource name of the environment to hibernate, in the form: + * "projects/{project}/locations/{location}/environments/{environment}" + * @param content the {@link com.google.api.services.composer.v1.model.HibernateEnvironmentRequest} + * @since 1.13 + */ + protected Hibernate(java.lang.String name, com.google.api.services.composer.v1.model.HibernateEnvironmentRequest content) { + super(CloudComposer.this, "POST", REST_PATH, content, com.google.api.services.composer.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/[^/]+/environments/[^/]+$"); + } + } + + @Override + public Hibernate set$Xgafv(java.lang.String $Xgafv) { + return (Hibernate) super.set$Xgafv($Xgafv); + } + + @Override + public Hibernate setAccessToken(java.lang.String accessToken) { + return (Hibernate) super.setAccessToken(accessToken); + } + + @Override + public Hibernate setAlt(java.lang.String alt) { + return (Hibernate) super.setAlt(alt); + } + + @Override + public Hibernate setCallback(java.lang.String callback) { + return (Hibernate) super.setCallback(callback); + } + + @Override + public Hibernate setFields(java.lang.String fields) { + return (Hibernate) super.setFields(fields); + } + + @Override + public Hibernate setKey(java.lang.String key) { + return (Hibernate) super.setKey(key); + } + + @Override + public Hibernate setOauthToken(java.lang.String oauthToken) { + return (Hibernate) super.setOauthToken(oauthToken); + } + + @Override + public Hibernate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Hibernate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Hibernate setQuotaUser(java.lang.String quotaUser) { + return (Hibernate) super.setQuotaUser(quotaUser); + } + + @Override + public Hibernate setUploadType(java.lang.String uploadType) { + return (Hibernate) super.setUploadType(uploadType); + } + + @Override + public Hibernate setUploadProtocol(java.lang.String uploadProtocol) { + return (Hibernate) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource name of the environment to hibernate, in the form: + * "projects/{project}/locations/{location}/environments/{environment}" + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The resource name of the environment to hibernate, in the form: + "projects/{project}/locations/{location}/environments/{environment}" + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The resource name of the environment to hibernate, in the form: + * "projects/{project}/locations/{location}/environments/{environment}" + */ + public Hibernate 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/[^/]+/environments/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Hibernate set(String parameterName, Object value) { + return (Hibernate) super.set(parameterName, value); + } + } /** * List environments. * @@ -2122,6 +2268,151 @@ public RestartWebServer set(String parameterName, Object value) { return (RestartWebServer) super.set(parameterName, value); } } + /** + * Resumes (unpauses) a hibernated environment. It requests the environment to switch to the + * `RUNNING` state, so that it is ready to use and run DAGs. This method is supported for Cloud + * Composer environments in development mode in versions composer-3-airflow-*.*.*-build.* and newer. + * + * Create a request for the method "environments.resume". + * + * This request holds the parameters needed by the composer server. After setting any optional + * parameters, call the {@link Resume#execute()} method to invoke the remote operation. + * + * @param name Required. The resource name of the environment to resume, in the form: + * "projects/{project}/locations/{location}/environments/{environment}" + * @param content the {@link com.google.api.services.composer.v1.model.ResumeEnvironmentRequest} + * @return the request + */ + public Resume resume(java.lang.String name, com.google.api.services.composer.v1.model.ResumeEnvironmentRequest content) throws java.io.IOException { + Resume result = new Resume(name, content); + initialize(result); + return result; + } + + public class Resume extends CloudComposerRequest { + + private static final String REST_PATH = "v1/{+name}:resume"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/environments/[^/]+$"); + + /** + * Resumes (unpauses) a hibernated environment. It requests the environment to switch to the + * `RUNNING` state, so that it is ready to use and run DAGs. This method is supported for Cloud + * Composer environments in development mode in versions composer-3-airflow-*.*.*-build.* and + * newer. + * + * Create a request for the method "environments.resume". + * + * This request holds the parameters needed by the the composer server. After setting any + * optional parameters, call the {@link Resume#execute()} method to invoke the remote operation. + *

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

+ * + * @param name Required. The resource name of the environment to resume, in the form: + * "projects/{project}/locations/{location}/environments/{environment}" + * @param content the {@link com.google.api.services.composer.v1.model.ResumeEnvironmentRequest} + * @since 1.13 + */ + protected Resume(java.lang.String name, com.google.api.services.composer.v1.model.ResumeEnvironmentRequest content) { + super(CloudComposer.this, "POST", REST_PATH, content, com.google.api.services.composer.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/[^/]+/environments/[^/]+$"); + } + } + + @Override + public Resume set$Xgafv(java.lang.String $Xgafv) { + return (Resume) super.set$Xgafv($Xgafv); + } + + @Override + public Resume setAccessToken(java.lang.String accessToken) { + return (Resume) super.setAccessToken(accessToken); + } + + @Override + public Resume setAlt(java.lang.String alt) { + return (Resume) super.setAlt(alt); + } + + @Override + public Resume setCallback(java.lang.String callback) { + return (Resume) super.setCallback(callback); + } + + @Override + public Resume setFields(java.lang.String fields) { + return (Resume) super.setFields(fields); + } + + @Override + public Resume setKey(java.lang.String key) { + return (Resume) super.setKey(key); + } + + @Override + public Resume setOauthToken(java.lang.String oauthToken) { + return (Resume) super.setOauthToken(oauthToken); + } + + @Override + public Resume setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Resume) super.setPrettyPrint(prettyPrint); + } + + @Override + public Resume setQuotaUser(java.lang.String quotaUser) { + return (Resume) super.setQuotaUser(quotaUser); + } + + @Override + public Resume setUploadType(java.lang.String uploadType) { + return (Resume) super.setUploadType(uploadType); + } + + @Override + public Resume setUploadProtocol(java.lang.String uploadProtocol) { + return (Resume) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource name of the environment to resume, in the form: + * "projects/{project}/locations/{location}/environments/{environment}" + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The resource name of the environment to resume, in the form: + "projects/{project}/locations/{location}/environments/{environment}" + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The resource name of the environment to resume, in the form: + * "projects/{project}/locations/{location}/environments/{environment}" + */ + public Resume 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/[^/]+/environments/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Resume set(String parameterName, Object value) { + return (Resume) super.set(parameterName, value); + } + } /** * Creates a snapshots of a Cloud Composer environment. As a result of this operation, snapshot of * environment's state is stored in a location specified in the SaveSnapshotRequest. diff --git a/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/HibernateEnvironmentRequest.java b/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/HibernateEnvironmentRequest.java new file mode 100644 index 00000000000..d6adba659db --- /dev/null +++ b/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/HibernateEnvironmentRequest.java @@ -0,0 +1,42 @@ +/* + * 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.composer.v1.model; + +/** + * Request to hibernate a Composer environment. + * + *

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 Cloud Composer 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 HibernateEnvironmentRequest extends com.google.api.client.json.GenericJson { + + @Override + public HibernateEnvironmentRequest set(String fieldName, Object value) { + return (HibernateEnvironmentRequest) super.set(fieldName, value); + } + + @Override + public HibernateEnvironmentRequest clone() { + return (HibernateEnvironmentRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/ResumeEnvironmentRequest.java b/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/ResumeEnvironmentRequest.java new file mode 100644 index 00000000000..b1c3a7c806a --- /dev/null +++ b/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/ResumeEnvironmentRequest.java @@ -0,0 +1,42 @@ +/* + * 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.composer.v1.model; + +/** + * Request to resume a Composer environment. + * + *

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 Cloud Composer 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 ResumeEnvironmentRequest extends com.google.api.client.json.GenericJson { + + @Override + public ResumeEnvironmentRequest set(String fieldName, Object value) { + return (ResumeEnvironmentRequest) super.set(fieldName, value); + } + + @Override + public ResumeEnvironmentRequest clone() { + return (ResumeEnvironmentRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-composer/v1/2.0.0/pom.xml b/clients/google-api-services-composer/v1/2.0.0/pom.xml index e7e043a4515..1ec7f335b34 100644 --- a/clients/google-api-services-composer/v1/2.0.0/pom.xml +++ b/clients/google-api-services-composer/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-composer - v1-rev20261015-2.9.2 - Cloud Composer API v1-rev20261015-2.9.2 + v1-rev20261106-2.9.2 + Cloud Composer API v1-rev20261106-2.9.2 jar 2011 diff --git a/clients/google-api-services-composer/v1/README.md b/clients/google-api-services-composer/v1/README.md index 84cfa84de29..46239fad933 100644 --- a/clients/google-api-services-composer/v1/README.md +++ b/clients/google-api-services-composer/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-composer - v1-rev20261015-2.9.2 + v1-rev20261106-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-composer:v1-rev20261015-2.9.2' + implementation 'com.google.apis:google-api-services-composer:v1-rev20261106-2.9.2' } ``` diff --git a/clients/google-api-services-composer/v1beta1/2.0.0/README.md b/clients/google-api-services-composer/v1beta1/2.0.0/README.md index a9a9d49d006..66105e8ad9a 100644 --- a/clients/google-api-services-composer/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-composer/v1beta1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-composer - v1beta1-rev20261015-2.9.2 + v1beta1-rev20261106-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-composer:v1beta1-rev20261015-2.9.2' + implementation 'com.google.apis:google-api-services-composer:v1beta1-rev20261106-2.9.2' } ``` diff --git a/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/EnvironmentConfig.java b/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/EnvironmentConfig.java index c96159354f3..bf75f6c1c92 100644 --- a/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/EnvironmentConfig.java +++ b/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/EnvironmentConfig.java @@ -157,6 +157,14 @@ public final class EnvironmentConfig extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.lang.String resilienceMode; + /** + * Optional. The configuration for hibernating and resuming the environment on a schedule. + * Supported for environments that have `mode` set to `DEVELOPMENT`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ScheduledHibernationConfig scheduledHibernationConfig; + /** * Optional. The configuration settings for software inside the environment. * The value may be {@code null}. @@ -491,6 +499,25 @@ public EnvironmentConfig setResilienceMode(java.lang.String resilienceMode) { return this; } + /** + * Optional. The configuration for hibernating and resuming the environment on a schedule. + * Supported for environments that have `mode` set to `DEVELOPMENT`. + * @return value or {@code null} for none + */ + public ScheduledHibernationConfig getScheduledHibernationConfig() { + return scheduledHibernationConfig; + } + + /** + * Optional. The configuration for hibernating and resuming the environment on a schedule. + * Supported for environments that have `mode` set to `DEVELOPMENT`. + * @param scheduledHibernationConfig scheduledHibernationConfig or {@code null} for none + */ + public EnvironmentConfig setScheduledHibernationConfig(ScheduledHibernationConfig scheduledHibernationConfig) { + this.scheduledHibernationConfig = scheduledHibernationConfig; + return this; + } + /** * Optional. The configuration settings for software inside the environment. * @return value or {@code null} for none diff --git a/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/ScheduledHibernationConfig.java b/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/ScheduledHibernationConfig.java new file mode 100644 index 00000000000..a9075ab7551 --- /dev/null +++ b/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/ScheduledHibernationConfig.java @@ -0,0 +1,148 @@ +/* + * 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.composer.v1beta1.model; + +/** + * The configuration for hibernating and resuming the environment on a schedule. Supported for + * environments in the development mode. + * + *

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 Cloud Composer 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 ScheduledHibernationConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Whether hibernating and resuming the environment on a schedule is enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enabled; + + /** + * Optional. The cron expressions representing the times when the environment will automatically + * hibernate, entering the HIBERNATED state. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List hibernationSchedules; + + /** + * Optional. The cron expressions representing the times when the environment will automatically + * resume, entering the RUNNING state. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List resumptionSchedules; + + /** + * Optional. Time zone that sets the context to interpret the schedule expressions. Expected + * format is "UTC+05", "UTC-03", etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String timeZone; + + /** + * Optional. Whether hibernating and resuming the environment on a schedule is enabled. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnabled() { + return enabled; + } + + /** + * Optional. Whether hibernating and resuming the environment on a schedule is enabled. + * @param enabled enabled or {@code null} for none + */ + public ScheduledHibernationConfig setEnabled(java.lang.Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Optional. The cron expressions representing the times when the environment will automatically + * hibernate, entering the HIBERNATED state. + * @return value or {@code null} for none + */ + public java.util.List getHibernationSchedules() { + return hibernationSchedules; + } + + /** + * Optional. The cron expressions representing the times when the environment will automatically + * hibernate, entering the HIBERNATED state. + * @param hibernationSchedules hibernationSchedules or {@code null} for none + */ + public ScheduledHibernationConfig setHibernationSchedules(java.util.List hibernationSchedules) { + this.hibernationSchedules = hibernationSchedules; + return this; + } + + /** + * Optional. The cron expressions representing the times when the environment will automatically + * resume, entering the RUNNING state. + * @return value or {@code null} for none + */ + public java.util.List getResumptionSchedules() { + return resumptionSchedules; + } + + /** + * Optional. The cron expressions representing the times when the environment will automatically + * resume, entering the RUNNING state. + * @param resumptionSchedules resumptionSchedules or {@code null} for none + */ + public ScheduledHibernationConfig setResumptionSchedules(java.util.List resumptionSchedules) { + this.resumptionSchedules = resumptionSchedules; + return this; + } + + /** + * Optional. Time zone that sets the context to interpret the schedule expressions. Expected + * format is "UTC+05", "UTC-03", etc. + * @return value or {@code null} for none + */ + public java.lang.String getTimeZone() { + return timeZone; + } + + /** + * Optional. Time zone that sets the context to interpret the schedule expressions. Expected + * format is "UTC+05", "UTC-03", etc. + * @param timeZone timeZone or {@code null} for none + */ + public ScheduledHibernationConfig setTimeZone(java.lang.String timeZone) { + this.timeZone = timeZone; + return this; + } + + @Override + public ScheduledHibernationConfig set(String fieldName, Object value) { + return (ScheduledHibernationConfig) super.set(fieldName, value); + } + + @Override + public ScheduledHibernationConfig clone() { + return (ScheduledHibernationConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-composer/v1beta1/2.0.0/pom.xml b/clients/google-api-services-composer/v1beta1/2.0.0/pom.xml index 30d4d3ac4ed..c1af1b1c5a6 100644 --- a/clients/google-api-services-composer/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-composer/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-composer - v1beta1-rev20261015-2.9.2 - Cloud Composer API v1beta1-rev20261015-2.9.2 + v1beta1-rev20261106-2.9.2 + Cloud Composer API v1beta1-rev20261106-2.9.2 jar 2011 diff --git a/clients/google-api-services-composer/v1beta1/README.md b/clients/google-api-services-composer/v1beta1/README.md index a9a9d49d006..66105e8ad9a 100644 --- a/clients/google-api-services-composer/v1beta1/README.md +++ b/clients/google-api-services-composer/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-composer - v1beta1-rev20261015-2.9.2 + v1beta1-rev20261106-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-composer:v1beta1-rev20261015-2.9.2' + implementation 'com.google.apis:google-api-services-composer:v1beta1-rev20261106-2.9.2' } ```