From 50a40bf4a0437a3718057a891a9fb1c8c8d588dc Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 29 Jul 2026 18:10:47 -0700 Subject: [PATCH] chore: regenerate merchantapi client --- .../products_v1/2.0.0/README.md | 4 +- .../products_v1/model/LeaseTerm.java | 114 ++++++++++++++++++ .../products_v1/model/ProductAttributes.java | 24 ++++ .../products_v1/2.0.0/pom.xml | 4 +- .../products_v1/README.md | 4 +- 5 files changed, 144 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/LeaseTerm.java diff --git a/clients/google-api-services-merchantapi/products_v1/2.0.0/README.md b/clients/google-api-services-merchantapi/products_v1/2.0.0/README.md index 88cd4ad0b2a..999e04f939b 100644 --- a/clients/google-api-services-merchantapi/products_v1/2.0.0/README.md +++ b/clients/google-api-services-merchantapi/products_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-merchantapi - products_v1-rev20260715-2.0.0 + products_v1-rev20260729-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20260715-2.0.0' + implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20260729-2.0.0' } ``` diff --git a/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/LeaseTerm.java b/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/LeaseTerm.java new file mode 100644 index 00000000000..3064fd0de2b --- /dev/null +++ b/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/LeaseTerm.java @@ -0,0 +1,114 @@ +/* + * 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.merchantapi.products_v1.model; + +/** + * The lease term of the property. + * + *

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 Merchant 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 LeaseTerm extends com.google.api.client.json.GenericJson { + + /** + * The duration unit of the lease term. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String durationUnit; + + /** + * The duration value of the lease term. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long durationValue; + + /** + * The type of lease term. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The duration unit of the lease term. + * @return value or {@code null} for none + */ + public java.lang.String getDurationUnit() { + return durationUnit; + } + + /** + * The duration unit of the lease term. + * @param durationUnit durationUnit or {@code null} for none + */ + public LeaseTerm setDurationUnit(java.lang.String durationUnit) { + this.durationUnit = durationUnit; + return this; + } + + /** + * The duration value of the lease term. + * @return value or {@code null} for none + */ + public java.lang.Long getDurationValue() { + return durationValue; + } + + /** + * The duration value of the lease term. + * @param durationValue durationValue or {@code null} for none + */ + public LeaseTerm setDurationValue(java.lang.Long durationValue) { + this.durationValue = durationValue; + return this; + } + + /** + * The type of lease term. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of lease term. + * @param type type or {@code null} for none + */ + public LeaseTerm setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public LeaseTerm set(String fieldName, Object value) { + return (LeaseTerm) super.set(fieldName, value); + } + + @Override + public LeaseTerm clone() { + return (LeaseTerm) super.clone(); + } + +} diff --git a/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/ProductAttributes.java b/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/ProductAttributes.java index 0d308fb76f5..a3a6c74159c 100644 --- a/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/ProductAttributes.java +++ b/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/ProductAttributes.java @@ -519,6 +519,13 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.lang.Double latitude; + /** + * The lease term of the property. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private LeaseTerm leaseTerm; + /** * Additional URLs of lifestyle images of the item, used to explicitly identify images that * showcase your item in a real-world context. See the [Help Center @@ -2294,6 +2301,23 @@ public ProductAttributes setLatitude(java.lang.Double latitude) { return this; } + /** + * The lease term of the property. + * @return value or {@code null} for none + */ + public LeaseTerm getLeaseTerm() { + return leaseTerm; + } + + /** + * The lease term of the property. + * @param leaseTerm leaseTerm or {@code null} for none + */ + public ProductAttributes setLeaseTerm(LeaseTerm leaseTerm) { + this.leaseTerm = leaseTerm; + return this; + } + /** * Additional URLs of lifestyle images of the item, used to explicitly identify images that * showcase your item in a real-world context. See the [Help Center diff --git a/clients/google-api-services-merchantapi/products_v1/2.0.0/pom.xml b/clients/google-api-services-merchantapi/products_v1/2.0.0/pom.xml index fbd081cb69d..052abdd524d 100644 --- a/clients/google-api-services-merchantapi/products_v1/2.0.0/pom.xml +++ b/clients/google-api-services-merchantapi/products_v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-merchantapi - products_v1-rev20260715-2.0.0 - Merchant API products_v1-rev20260715-2.0.0 + products_v1-rev20260729-2.0.0 + Merchant API products_v1-rev20260729-2.0.0 jar 2011 diff --git a/clients/google-api-services-merchantapi/products_v1/README.md b/clients/google-api-services-merchantapi/products_v1/README.md index 88cd4ad0b2a..999e04f939b 100644 --- a/clients/google-api-services-merchantapi/products_v1/README.md +++ b/clients/google-api-services-merchantapi/products_v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-merchantapi - products_v1-rev20260715-2.0.0 + products_v1-rev20260729-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20260715-2.0.0' + implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20260729-2.0.0' } ```