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 759d6d9b24a..db013109fe6 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:
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 GPUUsage extends com.google.api.client.json.GenericJson { + + /** + * Required. Timestamp of the measurement. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String timestamp; + + /** + * Required. Utilization info about the GPU. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GPUUtilization utilization; + + /** + * Required. Timestamp of the measurement. + * @return value or {@code null} for none + */ + public String getTimestamp() { + return timestamp; + } + + /** + * Required. Timestamp of the measurement. + * @param timestamp timestamp or {@code null} for none + */ + public GPUUsage setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + /** + * Required. Utilization info about the GPU. + * @return value or {@code null} for none + */ + public GPUUtilization getUtilization() { + return utilization; + } + + /** + * Required. Utilization info about the GPU. + * @param utilization utilization or {@code null} for none + */ + public GPUUsage setUtilization(GPUUtilization utilization) { + this.utilization = utilization; + return this; + } + + @Override + public GPUUsage set(String fieldName, Object value) { + return (GPUUsage) super.set(fieldName, value); + } + + @Override + public GPUUsage clone() { + return (GPUUsage) super.clone(); + } + +} diff --git a/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/GPUUtilization.java b/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/GPUUtilization.java new file mode 100644 index 00000000000..5af5f337797 --- /dev/null +++ b/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/GPUUtilization.java @@ -0,0 +1,69 @@ +/* + * 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; + +/** + * Utilization details about the GPU. + * + *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 GPUUtilization extends com.google.api.client.json.GenericJson { + + /** + * Required. GPU utilization rate of any kernel over the last sample period in the range of [0, + * 1]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double rate; + + /** + * Required. GPU utilization rate of any kernel over the last sample period in the range of [0, + * 1]. + * @return value or {@code null} for none + */ + public java.lang.Double getRate() { + return rate; + } + + /** + * Required. GPU utilization rate of any kernel over the last sample period in the range of [0, + * 1]. + * @param rate rate or {@code null} for none + */ + public GPUUtilization setRate(java.lang.Double rate) { + this.rate = rate; + return this; + } + + @Override + public GPUUtilization set(String fieldName, Object value) { + return (GPUUtilization) super.set(fieldName, value); + } + + @Override + public GPUUtilization clone() { + return (GPUUtilization) super.clone(); + } + +} diff --git a/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/ResourceUtilizationReport.java b/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/ResourceUtilizationReport.java index ddf0b5ae5b9..22553d148e4 100644 --- a/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/ResourceUtilizationReport.java +++ b/clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/ResourceUtilizationReport.java @@ -50,6 +50,19 @@ public final class ResourceUtilizationReport extends com.google.api.client.json. com.google.api.client.util.Data.nullOf(CPUTime.class); } + /** + * Optional. GPU usage samples. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List