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-dataflow/v1b3/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-dataflow</artifactId>
<version>v1b3-rev20260615-2.0.0</version>
<version>v1b3-rev20260807-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
/*
* 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;

/**
* A schedule for autoscaling.
*
* <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 Dataflow 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 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();
}

}
Original file line number Diff line number Diff line change
@@ -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.
*
* <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 Dataflow 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 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();
}

}
Loading
Loading