diff --git a/clients/google-api-services-analyticshub/v1/2.0.0/README.md b/clients/google-api-services-analyticshub/v1/2.0.0/README.md
index 304a2ef5dae..d792c784989 100644
--- a/clients/google-api-services-analyticshub/v1/2.0.0/README.md
+++ b/clients/google-api-services-analyticshub/v1/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 Analytics Hub API. For a detailed explanation see: diff --git a/clients/google-api-services-analyticshub/v1/2.0.0/com/google/api/services/analyticshub/v1/model/Compression.java b/clients/google-api-services-analyticshub/v1/2.0.0/com/google/api/services/analyticshub/v1/model/Compression.java new file mode 100644 index 00000000000..ad791604a7e --- /dev/null +++ b/clients/google-api-services-analyticshub/v1/2.0.0/com/google/api/services/analyticshub/v1/model/Compression.java @@ -0,0 +1,91 @@ +/* + * 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.analyticshub.v1.model; + +/** + * Configuration for compressing/decompressing message data using a user-specified compression + * algorithm. + * + *
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 Analytics Hub 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 Compression extends com.google.api.client.json.GenericJson { + + /** + * Required. Specifies the compression algorithm to use. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String compressionAlgorithm; + + /** + * Required. Specifies whether to compress or decompress the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String compressionMode; + + /** + * Required. Specifies the compression algorithm to use. + * @return value or {@code null} for none + */ + public java.lang.String getCompressionAlgorithm() { + return compressionAlgorithm; + } + + /** + * Required. Specifies the compression algorithm to use. + * @param compressionAlgorithm compressionAlgorithm or {@code null} for none + */ + public Compression setCompressionAlgorithm(java.lang.String compressionAlgorithm) { + this.compressionAlgorithm = compressionAlgorithm; + return this; + } + + /** + * Required. Specifies whether to compress or decompress the message. + * @return value or {@code null} for none + */ + public java.lang.String getCompressionMode() { + return compressionMode; + } + + /** + * Required. Specifies whether to compress or decompress the message. + * @param compressionMode compressionMode or {@code null} for none + */ + public Compression setCompressionMode(java.lang.String compressionMode) { + this.compressionMode = compressionMode; + return this; + } + + @Override + public Compression set(String fieldName, Object value) { + return (Compression) super.set(fieldName, value); + } + + @Override + public Compression clone() { + return (Compression) super.clone(); + } + +} diff --git a/clients/google-api-services-analyticshub/v1/2.0.0/com/google/api/services/analyticshub/v1/model/MessageTransform.java b/clients/google-api-services-analyticshub/v1/2.0.0/com/google/api/services/analyticshub/v1/model/MessageTransform.java index 48e945b0c36..f11c83730ae 100644 --- a/clients/google-api-services-analyticshub/v1/2.0.0/com/google/api/services/analyticshub/v1/model/MessageTransform.java +++ b/clients/google-api-services-analyticshub/v1/2.0.0/com/google/api/services/analyticshub/v1/model/MessageTransform.java @@ -37,6 +37,13 @@ public final class MessageTransform extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private AIInference aiInference; + /** + * Optional. Compression/Decompression. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Compression compression; + /** * Optional. If true, the transform is disabled and will not be applied to messages. Defaults to * `false`. @@ -79,6 +86,23 @@ public MessageTransform setAiInference(AIInference aiInference) { return this; } + /** + * Optional. Compression/Decompression. + * @return value or {@code null} for none + */ + public Compression getCompression() { + return compression; + } + + /** + * Optional. Compression/Decompression. + * @param compression compression or {@code null} for none + */ + public MessageTransform setCompression(Compression compression) { + this.compression = compression; + return this; + } + /** * Optional. If true, the transform is disabled and will not be applied to messages. Defaults to * `false`. diff --git a/clients/google-api-services-analyticshub/v1/2.0.0/pom.xml b/clients/google-api-services-analyticshub/v1/2.0.0/pom.xml index 682c0a6d767..d84b3c39c15 100644 --- a/clients/google-api-services-analyticshub/v1/2.0.0/pom.xml +++ b/clients/google-api-services-analyticshub/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@