From c5db6995f7d4f00bd4c3d3310ebf1c61da60187a Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Thu, 11 Jun 2026 19:40:44 -0700 Subject: [PATCH] chore: regenerate merchantapi client --- .../products_v1/2.0.0/README.md | 4 +- .../products_v1/model/DisplayAddress.java | 162 +++++++ .../products_v1/model/PetPolicy.java | 90 ++++ .../products_v1/model/ProductAttributes.java | 399 ++++++++++++++++++ .../products_v1/model/ProductFee.java | 90 ++++ .../products_v1/model/UnitArea.java | 90 ++++ .../products_v1/2.0.0/pom.xml | 4 +- .../products_v1/README.md | 4 +- 8 files changed, 837 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/DisplayAddress.java create mode 100644 clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/PetPolicy.java create mode 100644 clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/ProductFee.java create mode 100644 clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/UnitArea.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 d0c047fceac..87f6963a9a5 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-rev20260602-2.0.0 + products_v1-rev20260611-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20260602-2.0.0' + implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20260611-2.0.0' } ``` diff --git a/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/DisplayAddress.java b/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/DisplayAddress.java new file mode 100644 index 00000000000..d7b2c51be88 --- /dev/null +++ b/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/DisplayAddress.java @@ -0,0 +1,162 @@ +/* + * 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 display address 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 DisplayAddress extends com.google.api.client.json.GenericJson { + + /** + * The city such as Seattle, New York, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String city; + + /** + * The postal code, such as 94043. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String postalCode; + + /** + * The region(state), such as WA, OH, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String region; + + /** + * The street name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String streetName; + + /** + * The street number. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String streetNumber; + + /** + * The city such as Seattle, New York, etc. + * @return value or {@code null} for none + */ + public java.lang.String getCity() { + return city; + } + + /** + * The city such as Seattle, New York, etc. + * @param city city or {@code null} for none + */ + public DisplayAddress setCity(java.lang.String city) { + this.city = city; + return this; + } + + /** + * The postal code, such as 94043. + * @return value or {@code null} for none + */ + public java.lang.String getPostalCode() { + return postalCode; + } + + /** + * The postal code, such as 94043. + * @param postalCode postalCode or {@code null} for none + */ + public DisplayAddress setPostalCode(java.lang.String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * The region(state), such as WA, OH, etc. + * @return value or {@code null} for none + */ + public java.lang.String getRegion() { + return region; + } + + /** + * The region(state), such as WA, OH, etc. + * @param region region or {@code null} for none + */ + public DisplayAddress setRegion(java.lang.String region) { + this.region = region; + return this; + } + + /** + * The street name. + * @return value or {@code null} for none + */ + public java.lang.String getStreetName() { + return streetName; + } + + /** + * The street name. + * @param streetName streetName or {@code null} for none + */ + public DisplayAddress setStreetName(java.lang.String streetName) { + this.streetName = streetName; + return this; + } + + /** + * The street number. + * @return value or {@code null} for none + */ + public java.lang.String getStreetNumber() { + return streetNumber; + } + + /** + * The street number. + * @param streetNumber streetNumber or {@code null} for none + */ + public DisplayAddress setStreetNumber(java.lang.String streetNumber) { + this.streetNumber = streetNumber; + return this; + } + + @Override + public DisplayAddress set(String fieldName, Object value) { + return (DisplayAddress) super.set(fieldName, value); + } + + @Override + public DisplayAddress clone() { + return (DisplayAddress) super.clone(); + } + +} diff --git a/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/PetPolicy.java b/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/PetPolicy.java new file mode 100644 index 00000000000..7101853588b --- /dev/null +++ b/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/PetPolicy.java @@ -0,0 +1,90 @@ +/* + * 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 pet policy 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 PetPolicy extends com.google.api.client.json.GenericJson { + + /** + * The pet types allowed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List petTypes; + + /** + * Whether pets are allowed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean petsAllowed; + + /** + * The pet types allowed. + * @return value or {@code null} for none + */ + public java.util.List getPetTypes() { + return petTypes; + } + + /** + * The pet types allowed. + * @param petTypes petTypes or {@code null} for none + */ + public PetPolicy setPetTypes(java.util.List petTypes) { + this.petTypes = petTypes; + return this; + } + + /** + * Whether pets are allowed. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPetsAllowed() { + return petsAllowed; + } + + /** + * Whether pets are allowed. + * @param petsAllowed petsAllowed or {@code null} for none + */ + public PetPolicy setPetsAllowed(java.lang.Boolean petsAllowed) { + this.petsAllowed = petsAllowed; + return this; + } + + @Override + public PetPolicy set(String fieldName, Object value) { + return (PetPolicy) super.set(fieldName, value); + } + + @Override + public PetPolicy clone() { + return (PetPolicy) 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 0c989aa70fd..914a0b1ced2 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 @@ -73,6 +73,13 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.lang.String ageGroup; + /** + * The amenity features for the property. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List amenityFeature; + /** * A safeguard in the [automated discounts] (https://support.google.com/merchants/answer/10295759) * and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, @@ -255,6 +262,13 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private String disclosureDate; + /** + * The display address of the property. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DisplayAddress displayAddress; + /** * An identifier for an item for dynamic remarketing campaigns. * The value may be {@code null}. @@ -497,6 +511,14 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.lang.String itemGroupTitle; + /** + * The latitude of the property. The value must be between -90 (inclusive) and 90 (inclusive), up + * to 6 decimal places. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double latitude; + /** * 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 @@ -521,6 +543,14 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.lang.String linkTemplate; + /** + * The longitude of the property. The value must be between -180 (inclusive) and 180 (inclusive), + * up to 6 decimal places. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double longitude; + /** * Loyalty points that users receive after purchasing the item. Japan only. * The value may be {@code null}. @@ -642,6 +672,37 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long multipack; + /** + * The neighborhood (locality) of the property, such as `Wallingford`, `Greenwood`, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String neighborhood; + + /** + * The number of bathrooms in the property. The value must be greater than 0 and a multiple of + * 0.5. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double numberOfBathrooms; + + /** + * The number of bedrooms in the property. The value must be greater than or equal to 0 and a + * multiple of 1.0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double numberOfBedrooms; + + /** + * The number of units available for a specific floor plan of the property. The value must be + * greater than 0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long numberOfUnits; + /** * The item's [pattern](https://support.google.com/merchants/answer/6324483). For example, polka * dots. @@ -658,6 +719,13 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.lang.String pause; + /** + * The pet policy for the property. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private PetPolicy petPolicy; + /** * Optional. The [pickup cost](https://support.google.com/merchants/answer/16988704) for an item * when a customer buys it online and picks it up at a store. @@ -703,6 +771,13 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.util.List productDetails; + /** + * The product fee for the property. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List productFee; + /** * The height of the product in the units provided. The value must be between 0 (exclusive) and * 3000 (inclusive). @@ -758,6 +833,20 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.util.List promotionIds; + /** + * The name of the property. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String propertyName; + + /** + * The type of property. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String propertyType; + /** * Optional. Contains user-, merchant-, and manufacturer-authored [questions and * answers](https://support.google.com/merchants/answer/17085211) about the product. Max 30 @@ -877,6 +966,13 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.util.List shoppingAdsExcludedCountries; + /** + * The short title of the item. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String shortTitle; + /** * Size of the item. Only one value is allowed. For variants with different sizes, insert a * separate product for each size with the same `itemGroupId` value, see @@ -903,6 +999,13 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.util.List sizeTypes; + /** + * The specialty housing type for the property. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String specialtyHousingType; + /** * Structured description, for algorithmically (AI)-generated descriptions. * The value may be {@code null}. @@ -955,6 +1058,13 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.lang.String trim; + /** + * The unit area of the property, such as `1000 sqft`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private UnitArea unitArea; + /** * The preference of the denominator of the unit price. * The value may be {@code null}. @@ -969,6 +1079,13 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private UnitPricingMeasure unitPricingMeasure; + /** + * The utilities included for the property. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List utilitiesIncluded; + /** * Optional. Contains the [list of all variant-identifying * options](https://support.google.com/merchants/answer/17085214) of this product. @@ -1167,6 +1284,23 @@ public ProductAttributes setAgeGroup(java.lang.String ageGroup) { return this; } + /** + * The amenity features for the property. + * @return value or {@code null} for none + */ + public java.util.List getAmenityFeature() { + return amenityFeature; + } + + /** + * The amenity features for the property. + * @param amenityFeature amenityFeature or {@code null} for none + */ + public ProductAttributes setAmenityFeature(java.util.List amenityFeature) { + this.amenityFeature = amenityFeature; + return this; + } + /** * A safeguard in the [automated discounts] (https://support.google.com/merchants/answer/10295759) * and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, @@ -1573,6 +1707,23 @@ public ProductAttributes setDisclosureDate(String disclosureDate) { return this; } + /** + * The display address of the property. + * @return value or {@code null} for none + */ + public DisplayAddress getDisplayAddress() { + return displayAddress; + } + + /** + * The display address of the property. + * @param displayAddress displayAddress or {@code null} for none + */ + public ProductAttributes setDisplayAddress(DisplayAddress displayAddress) { + this.displayAddress = displayAddress; + return this; + } + /** * An identifier for an item for dynamic remarketing campaigns. * @return value or {@code null} for none @@ -2117,6 +2268,25 @@ public ProductAttributes setItemGroupTitle(java.lang.String itemGroupTitle) { return this; } + /** + * The latitude of the property. The value must be between -90 (inclusive) and 90 (inclusive), up + * to 6 decimal places. + * @return value or {@code null} for none + */ + public java.lang.Double getLatitude() { + return latitude; + } + + /** + * The latitude of the property. The value must be between -90 (inclusive) and 90 (inclusive), up + * to 6 decimal places. + * @param latitude latitude or {@code null} for none + */ + public ProductAttributes setLatitude(java.lang.Double latitude) { + this.latitude = latitude; + 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 @@ -2174,6 +2344,25 @@ public ProductAttributes setLinkTemplate(java.lang.String linkTemplate) { return this; } + /** + * The longitude of the property. The value must be between -180 (inclusive) and 180 (inclusive), + * up to 6 decimal places. + * @return value or {@code null} for none + */ + public java.lang.Double getLongitude() { + return longitude; + } + + /** + * The longitude of the property. The value must be between -180 (inclusive) and 180 (inclusive), + * up to 6 decimal places. + * @param longitude longitude or {@code null} for none + */ + public ProductAttributes setLongitude(java.lang.Double longitude) { + this.longitude = longitude; + return this; + } + /** * Loyalty points that users receive after purchasing the item. Japan only. * @return value or {@code null} for none @@ -2449,6 +2638,80 @@ public ProductAttributes setMultipack(java.lang.Long multipack) { return this; } + /** + * The neighborhood (locality) of the property, such as `Wallingford`, `Greenwood`, etc. + * @return value or {@code null} for none + */ + public java.lang.String getNeighborhood() { + return neighborhood; + } + + /** + * The neighborhood (locality) of the property, such as `Wallingford`, `Greenwood`, etc. + * @param neighborhood neighborhood or {@code null} for none + */ + public ProductAttributes setNeighborhood(java.lang.String neighborhood) { + this.neighborhood = neighborhood; + return this; + } + + /** + * The number of bathrooms in the property. The value must be greater than 0 and a multiple of + * 0.5. + * @return value or {@code null} for none + */ + public java.lang.Double getNumberOfBathrooms() { + return numberOfBathrooms; + } + + /** + * The number of bathrooms in the property. The value must be greater than 0 and a multiple of + * 0.5. + * @param numberOfBathrooms numberOfBathrooms or {@code null} for none + */ + public ProductAttributes setNumberOfBathrooms(java.lang.Double numberOfBathrooms) { + this.numberOfBathrooms = numberOfBathrooms; + return this; + } + + /** + * The number of bedrooms in the property. The value must be greater than or equal to 0 and a + * multiple of 1.0. + * @return value or {@code null} for none + */ + public java.lang.Double getNumberOfBedrooms() { + return numberOfBedrooms; + } + + /** + * The number of bedrooms in the property. The value must be greater than or equal to 0 and a + * multiple of 1.0. + * @param numberOfBedrooms numberOfBedrooms or {@code null} for none + */ + public ProductAttributes setNumberOfBedrooms(java.lang.Double numberOfBedrooms) { + this.numberOfBedrooms = numberOfBedrooms; + return this; + } + + /** + * The number of units available for a specific floor plan of the property. The value must be + * greater than 0. + * @return value or {@code null} for none + */ + public java.lang.Long getNumberOfUnits() { + return numberOfUnits; + } + + /** + * The number of units available for a specific floor plan of the property. The value must be + * greater than 0. + * @param numberOfUnits numberOfUnits or {@code null} for none + */ + public ProductAttributes setNumberOfUnits(java.lang.Long numberOfUnits) { + this.numberOfUnits = numberOfUnits; + return this; + } + /** * The item's [pattern](https://support.google.com/merchants/answer/6324483). For example, polka * dots. @@ -2487,6 +2750,23 @@ public ProductAttributes setPause(java.lang.String pause) { return this; } + /** + * The pet policy for the property. + * @return value or {@code null} for none + */ + public PetPolicy getPetPolicy() { + return petPolicy; + } + + /** + * The pet policy for the property. + * @param petPolicy petPolicy or {@code null} for none + */ + public ProductAttributes setPetPolicy(PetPolicy petPolicy) { + this.petPolicy = petPolicy; + return this; + } + /** * Optional. The [pickup cost](https://support.google.com/merchants/answer/16988704) for an item * when a customer buys it online and picks it up at a store. @@ -2595,6 +2875,23 @@ public ProductAttributes setProductDetails(java.util.List product return this; } + /** + * The product fee for the property. + * @return value or {@code null} for none + */ + public java.util.List getProductFee() { + return productFee; + } + + /** + * The product fee for the property. + * @param productFee productFee or {@code null} for none + */ + public ProductAttributes setProductFee(java.util.List productFee) { + this.productFee = productFee; + return this; + } + /** * The height of the product in the units provided. The value must be between 0 (exclusive) and * 3000 (inclusive). @@ -2726,6 +3023,40 @@ public ProductAttributes setPromotionIds(java.util.List promot return this; } + /** + * The name of the property. + * @return value or {@code null} for none + */ + public java.lang.String getPropertyName() { + return propertyName; + } + + /** + * The name of the property. + * @param propertyName propertyName or {@code null} for none + */ + public ProductAttributes setPropertyName(java.lang.String propertyName) { + this.propertyName = propertyName; + return this; + } + + /** + * The type of property. + * @return value or {@code null} for none + */ + public java.lang.String getPropertyType() { + return propertyType; + } + + /** + * The type of property. + * @param propertyType propertyType or {@code null} for none + */ + public ProductAttributes setPropertyType(java.lang.String propertyType) { + this.propertyType = propertyType; + return this; + } + /** * Optional. Contains user-, merchant-, and manufacturer-authored [questions and * answers](https://support.google.com/merchants/answer/17085211) about the product. Max 30 @@ -3009,6 +3340,23 @@ public ProductAttributes setShoppingAdsExcludedCountries(java.util.List sizeTypes return this; } + /** + * The specialty housing type for the property. + * @return value or {@code null} for none + */ + public java.lang.String getSpecialtyHousingType() { + return specialtyHousingType; + } + + /** + * The specialty housing type for the property. + * @param specialtyHousingType specialtyHousingType or {@code null} for none + */ + public ProductAttributes setSpecialtyHousingType(java.lang.String specialtyHousingType) { + this.specialtyHousingType = specialtyHousingType; + return this; + } + /** * Structured description, for algorithmically (AI)-generated descriptions. * @return value or {@code null} for none @@ -3195,6 +3560,23 @@ public ProductAttributes setTrim(java.lang.String trim) { return this; } + /** + * The unit area of the property, such as `1000 sqft`. + * @return value or {@code null} for none + */ + public UnitArea getUnitArea() { + return unitArea; + } + + /** + * The unit area of the property, such as `1000 sqft`. + * @param unitArea unitArea or {@code null} for none + */ + public ProductAttributes setUnitArea(UnitArea unitArea) { + this.unitArea = unitArea; + return this; + } + /** * The preference of the denominator of the unit price. * @return value or {@code null} for none @@ -3229,6 +3611,23 @@ public ProductAttributes setUnitPricingMeasure(UnitPricingMeasure unitPricingMea return this; } + /** + * The utilities included for the property. + * @return value or {@code null} for none + */ + public java.util.List getUtilitiesIncluded() { + return utilitiesIncluded; + } + + /** + * The utilities included for the property. + * @param utilitiesIncluded utilitiesIncluded or {@code null} for none + */ + public ProductAttributes setUtilitiesIncluded(java.util.List utilitiesIncluded) { + this.utilitiesIncluded = utilitiesIncluded; + return this; + } + /** * Optional. Contains the [list of all variant-identifying * options](https://support.google.com/merchants/answer/17085214) of this product. diff --git a/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/ProductFee.java b/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/ProductFee.java new file mode 100644 index 00000000000..e2a5f74c9ec --- /dev/null +++ b/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/ProductFee.java @@ -0,0 +1,90 @@ +/* + * 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 product fee attribute containing type and amount. + * + *

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 ProductFee extends com.google.api.client.json.GenericJson { + + /** + * The amount of product fee. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Price amount; + + /** + * The type of product fee. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The amount of product fee. + * @return value or {@code null} for none + */ + public Price getAmount() { + return amount; + } + + /** + * The amount of product fee. + * @param amount amount or {@code null} for none + */ + public ProductFee setAmount(Price amount) { + this.amount = amount; + return this; + } + + /** + * The type of product fee. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of product fee. + * @param type type or {@code null} for none + */ + public ProductFee setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public ProductFee set(String fieldName, Object value) { + return (ProductFee) super.set(fieldName, value); + } + + @Override + public ProductFee clone() { + return (ProductFee) super.clone(); + } + +} diff --git a/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/UnitArea.java b/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/UnitArea.java new file mode 100644 index 00000000000..a9459438e07 --- /dev/null +++ b/clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/UnitArea.java @@ -0,0 +1,90 @@ +/* + * 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 unit area 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 UnitArea extends com.google.api.client.json.GenericJson { + + /** + * The unit of area. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String unit; + + /** + * The area value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double value; + + /** + * The unit of area. + * @return value or {@code null} for none + */ + public java.lang.String getUnit() { + return unit; + } + + /** + * The unit of area. + * @param unit unit or {@code null} for none + */ + public UnitArea setUnit(java.lang.String unit) { + this.unit = unit; + return this; + } + + /** + * The area value. + * @return value or {@code null} for none + */ + public java.lang.Double getValue() { + return value; + } + + /** + * The area value. + * @param value value or {@code null} for none + */ + public UnitArea setValue(java.lang.Double value) { + this.value = value; + return this; + } + + @Override + public UnitArea set(String fieldName, Object value) { + return (UnitArea) super.set(fieldName, value); + } + + @Override + public UnitArea clone() { + return (UnitArea) super.clone(); + } + +} 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 b026dd06178..6fc56f28223 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-rev20260602-2.0.0 - Merchant API products_v1-rev20260602-2.0.0 + products_v1-rev20260611-2.0.0 + Merchant API products_v1-rev20260611-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 d0c047fceac..87f6963a9a5 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-rev20260602-2.0.0 + products_v1-rev20260611-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20260602-2.0.0' + implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20260611-2.0.0' } ```