From 904567ee9eb2a50841887841023a392043ee3402 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Thu, 13 Aug 2026 17:40:40 -0700 Subject: [PATCH] chore: regenerate dataflow client --- .../v1b3/2.0.0/README.md | 4 +- .../api/services/dataflow/Dataflow.java | 156 ++++++++---- .../dataflow/model/AutoscalingSchedule.java | 222 ++++++++++++++++++ .../services/dataflow/model/Parameters.java | 138 +++++++++++ .../model/RuntimeUpdatableParams.java | 30 +++ .../v1b3/2.0.0/pom.xml | 4 +- .../v1b3/README.md | 4 +- 7 files changed, 504 insertions(+), 54 deletions(-) create mode 100644 clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/AutoscalingSchedule.java create mode 100644 clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/Parameters.java diff --git a/clients/google-api-services-dataflow/v1b3/2.0.0/README.md b/clients/google-api-services-dataflow/v1b3/2.0.0/README.md index 823b4ffdeae..e2f31918fcd 100644 --- a/clients/google-api-services-dataflow/v1b3/2.0.0/README.md +++ b/clients/google-api-services-dataflow/v1b3/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-dataflow - v1b3-rev20260615-2.0.0 + v1b3-rev20260807-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-dataflow:v1b3-rev20260615-2.0.0' + implementation 'com.google.apis:google-api-services-dataflow:v1b3-rev20260807-2.0.0' } ``` diff --git a/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/Dataflow.java b/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/Dataflow.java index 3926d7f4b2d..f5af2db9971 100644 --- a/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/Dataflow.java +++ b/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/Dataflow.java @@ -442,7 +442,8 @@ public class Jobs { /** * List the jobs of a project across all regions. **Note:** This method doesn't support filtering - * the list of jobs by name. + * the list of jobs by name. # IAM Permissions Requires the `dataflow.jobs.list` permission on the + * project. * * Create a request for the method "jobs.aggregated". * @@ -464,7 +465,8 @@ public class Aggregated extends DataflowRequest 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 Dataflow 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 AutoscalingSchedule extends com.google.api.client.json.GenericJson { + + /** + * Optional. A crontab specification of when this schedule should trigger applying overrides. The + * overrides will be applied from the trigger time until the specified duration elapses. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String crontab; + + /** + * Optional. The duration for which the parameter overrides for this schedule will be applied when + * triggered by the crontab. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String duration; + + /** + * Optional. The name of the schedule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Optional. The parameters to use for autoscaling when this schedule is active. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Parameters parameters; + + /** + * Optional. Specifies the priority of the schedule. If two schedules overlap, the one with the + * higher priority will be used. The higher the value, the higher the priority of the schedule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long priority; + + /** + * Optional. The time zone for the schedule. The value of this field must be a time zone name from + * the [tz database](http://en.wikipedia.org/wiki/Tz_database). The default value is UTC. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String timeZone; + + /** + * Output only. When the customer last updated the schedule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Optional. A crontab specification of when this schedule should trigger applying overrides. The + * overrides will be applied from the trigger time until the specified duration elapses. + * @return value or {@code null} for none + */ + public java.lang.String getCrontab() { + return crontab; + } + + /** + * Optional. A crontab specification of when this schedule should trigger applying overrides. The + * overrides will be applied from the trigger time until the specified duration elapses. + * @param crontab crontab or {@code null} for none + */ + public AutoscalingSchedule setCrontab(java.lang.String crontab) { + this.crontab = crontab; + return this; + } + + /** + * Optional. The duration for which the parameter overrides for this schedule will be applied when + * triggered by the crontab. + * @return value or {@code null} for none + */ + public String getDuration() { + return duration; + } + + /** + * Optional. The duration for which the parameter overrides for this schedule will be applied when + * triggered by the crontab. + * @param duration duration or {@code null} for none + */ + public AutoscalingSchedule setDuration(String duration) { + this.duration = duration; + return this; + } + + /** + * Optional. The name of the schedule. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Optional. The name of the schedule. + * @param name name or {@code null} for none + */ + public AutoscalingSchedule setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Optional. The parameters to use for autoscaling when this schedule is active. + * @return value or {@code null} for none + */ + public Parameters getParameters() { + return parameters; + } + + /** + * Optional. The parameters to use for autoscaling when this schedule is active. + * @param parameters parameters or {@code null} for none + */ + public AutoscalingSchedule setParameters(Parameters parameters) { + this.parameters = parameters; + return this; + } + + /** + * Optional. Specifies the priority of the schedule. If two schedules overlap, the one with the + * higher priority will be used. The higher the value, the higher the priority of the schedule. + * @return value or {@code null} for none + */ + public java.lang.Long getPriority() { + return priority; + } + + /** + * Optional. Specifies the priority of the schedule. If two schedules overlap, the one with the + * higher priority will be used. The higher the value, the higher the priority of the schedule. + * @param priority priority or {@code null} for none + */ + public AutoscalingSchedule setPriority(java.lang.Long priority) { + this.priority = priority; + return this; + } + + /** + * Optional. The time zone for the schedule. The value of this field must be a time zone name from + * the [tz database](http://en.wikipedia.org/wiki/Tz_database). The default value is UTC. + * @return value or {@code null} for none + */ + public java.lang.String getTimeZone() { + return timeZone; + } + + /** + * Optional. The time zone for the schedule. The value of this field must be a time zone name from + * the [tz database](http://en.wikipedia.org/wiki/Tz_database). The default value is UTC. + * @param timeZone timeZone or {@code null} for none + */ + public AutoscalingSchedule setTimeZone(java.lang.String timeZone) { + this.timeZone = timeZone; + return this; + } + + /** + * Output only. When the customer last updated the schedule. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. When the customer last updated the schedule. + * @param updateTime updateTime or {@code null} for none + */ + public AutoscalingSchedule setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public AutoscalingSchedule set(String fieldName, Object value) { + return (AutoscalingSchedule) super.set(fieldName, value); + } + + @Override + public AutoscalingSchedule clone() { + return (AutoscalingSchedule) super.clone(); + } + +} diff --git a/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/Parameters.java b/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/Parameters.java new file mode 100644 index 00000000000..bf2e0c1b9d2 --- /dev/null +++ b/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/Parameters.java @@ -0,0 +1,138 @@ +/* + * 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.dataflow.model; + +/** + * The parameters to use for autoscaling when this schedule is active. + * + *

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 Dataflow 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 Parameters extends com.google.api.client.json.GenericJson { + + /** + * Optional. The target CPU utilization for this schedule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double cpuUtilizationTarget; + + /** + * Optional. The target latency for this schedule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String latencyTarget; + + /** + * Optional. The maximum number of workers for this schedule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer maxWorkerCount; + + /** + * Optional. The minimum number of workers for this schedule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer minWorkerCount; + + /** + * Optional. The target CPU utilization for this schedule. + * @return value or {@code null} for none + */ + public java.lang.Double getCpuUtilizationTarget() { + return cpuUtilizationTarget; + } + + /** + * Optional. The target CPU utilization for this schedule. + * @param cpuUtilizationTarget cpuUtilizationTarget or {@code null} for none + */ + public Parameters setCpuUtilizationTarget(java.lang.Double cpuUtilizationTarget) { + this.cpuUtilizationTarget = cpuUtilizationTarget; + return this; + } + + /** + * Optional. The target latency for this schedule. + * @return value or {@code null} for none + */ + public java.lang.String getLatencyTarget() { + return latencyTarget; + } + + /** + * Optional. The target latency for this schedule. + * @param latencyTarget latencyTarget or {@code null} for none + */ + public Parameters setLatencyTarget(java.lang.String latencyTarget) { + this.latencyTarget = latencyTarget; + return this; + } + + /** + * Optional. The maximum number of workers for this schedule. + * @return value or {@code null} for none + */ + public java.lang.Integer getMaxWorkerCount() { + return maxWorkerCount; + } + + /** + * Optional. The maximum number of workers for this schedule. + * @param maxWorkerCount maxWorkerCount or {@code null} for none + */ + public Parameters setMaxWorkerCount(java.lang.Integer maxWorkerCount) { + this.maxWorkerCount = maxWorkerCount; + return this; + } + + /** + * Optional. The minimum number of workers for this schedule. + * @return value or {@code null} for none + */ + public java.lang.Integer getMinWorkerCount() { + return minWorkerCount; + } + + /** + * Optional. The minimum number of workers for this schedule. + * @param minWorkerCount minWorkerCount or {@code null} for none + */ + public Parameters setMinWorkerCount(java.lang.Integer minWorkerCount) { + this.minWorkerCount = minWorkerCount; + return this; + } + + @Override + public Parameters set(String fieldName, Object value) { + return (Parameters) super.set(fieldName, value); + } + + @Override + public Parameters clone() { + return (Parameters) super.clone(); + } + +} diff --git a/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/RuntimeUpdatableParams.java b/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/RuntimeUpdatableParams.java index eb9896620f6..4e8d2f4bc15 100644 --- a/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/RuntimeUpdatableParams.java +++ b/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/RuntimeUpdatableParams.java @@ -70,6 +70,19 @@ public final class RuntimeUpdatableParams extends com.google.api.client.json.Gen @com.google.api.client.util.Key private java.lang.Integer minNumWorkers; + /** + * Optional. The schedule for autoscaling. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List schedules; + + static { + // hack to force ProGuard to consider AutoscalingSchedule used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(AutoscalingSchedule.class); + } + /** * Target worker utilization, compared against the aggregate utilization of the worker pool by * autoscaler, to determine upscaling and downscaling when absent other constraints such as @@ -175,6 +188,23 @@ public RuntimeUpdatableParams setMinNumWorkers(java.lang.Integer minNumWorkers) return this; } + /** + * Optional. The schedule for autoscaling. + * @return value or {@code null} for none + */ + public java.util.List getSchedules() { + return schedules; + } + + /** + * Optional. The schedule for autoscaling. + * @param schedules schedules or {@code null} for none + */ + public RuntimeUpdatableParams setSchedules(java.util.List schedules) { + this.schedules = schedules; + return this; + } + /** * Target worker utilization, compared against the aggregate utilization of the worker pool by * autoscaler, to determine upscaling and downscaling when absent other constraints such as diff --git a/clients/google-api-services-dataflow/v1b3/2.0.0/pom.xml b/clients/google-api-services-dataflow/v1b3/2.0.0/pom.xml index afd1548c539..4e6b14bc3f9 100644 --- a/clients/google-api-services-dataflow/v1b3/2.0.0/pom.xml +++ b/clients/google-api-services-dataflow/v1b3/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-dataflow - v1b3-rev20260615-2.0.0 - Dataflow API v1b3-rev20260615-2.0.0 + v1b3-rev20260807-2.0.0 + Dataflow API v1b3-rev20260807-2.0.0 jar 2011 diff --git a/clients/google-api-services-dataflow/v1b3/README.md b/clients/google-api-services-dataflow/v1b3/README.md index 823b4ffdeae..e2f31918fcd 100644 --- a/clients/google-api-services-dataflow/v1b3/README.md +++ b/clients/google-api-services-dataflow/v1b3/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-dataflow - v1b3-rev20260615-2.0.0 + v1b3-rev20260807-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-dataflow:v1b3-rev20260615-2.0.0' + implementation 'com.google.apis:google-api-services-dataflow:v1b3-rev20260807-2.0.0' } ```