diff --git a/clients/google-api-services-manufacturers/v1/2.0.0/README.md b/clients/google-api-services-manufacturers/v1/2.0.0/README.md index 406c2894ce8..c19401e2287 100644 --- a/clients/google-api-services-manufacturers/v1/2.0.0/README.md +++ b/clients/google-api-services-manufacturers/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-manufacturers - v1-rev20250815-2.9.2 + v1-rev20261112-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-manufacturers:v1-rev20250815-2.9.2' + implementation 'com.google.apis:google-api-services-manufacturers:v1-rev20261112-2.9.2' } ``` diff --git a/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/Attributes.java b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/Attributes.java index 70393b0cee5..06cce372d37 100644 --- a/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/Attributes.java +++ b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/Attributes.java @@ -102,6 +102,13 @@ public final class Attributes extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String disclosureDate; + /** + * Optional. URLs of PDF documents for the product, such as user manuals or specifications. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List documentLink; + /** * A list of excluded destinations such as "ClientExport", "ClientShoppingCatalog" or * "PartnerShoppingCatalog". For more information, see @@ -194,6 +201,13 @@ public final class Attributes extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String itemGroupId; + /** + * Optional. The shared title of the product group that this variant belongs to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String itemGroupTitle; + /** * The material of the product. For more information, see * https://support.google.com/manufacturers/answer/6124116#material. @@ -226,6 +240,13 @@ public final class Attributes extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String pattern; + /** + * Optional. The popularity rank of the product from 0.0 (lowest) to 100.0 (highest). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double popularityRank; + /** * The details of the product. For more information, see * https://support.google.com/manufacturers/answer/6124116#productdetail. @@ -274,6 +295,20 @@ public final class Attributes extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.List productType; + /** + * Optional. Frequently asked questions and answers about the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List questionAndAnswer; + + /** + * Optional. Products related to this product, such as accessories or substitutes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List relatedProduct; + /** * The release date of the product. For more information, see * https://support.google.com/manufacturers/answer/6124116#release. @@ -354,6 +389,13 @@ public final class Attributes extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String title; + /** + * Optional. The list of all variant-identifying options for the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List variantOption; + /** * The videos of the product. For more information, see * https://support.google.com/manufacturers/answer/6124116#video. @@ -538,6 +580,23 @@ public Attributes setDisclosureDate(java.lang.String disclosureDate) { return this; } + /** + * Optional. URLs of PDF documents for the product, such as user manuals or specifications. + * @return value or {@code null} for none + */ + public java.util.List getDocumentLink() { + return documentLink; + } + + /** + * Optional. URLs of PDF documents for the product, such as user manuals or specifications. + * @param documentLink documentLink or {@code null} for none + */ + public Attributes setDocumentLink(java.util.List documentLink) { + this.documentLink = documentLink; + return this; + } + /** * A list of excluded destinations such as "ClientExport", "ClientShoppingCatalog" or * "PartnerShoppingCatalog". For more information, see @@ -755,6 +814,23 @@ public Attributes setItemGroupId(java.lang.String itemGroupId) { return this; } + /** + * Optional. The shared title of the product group that this variant belongs to. + * @return value or {@code null} for none + */ + public java.lang.String getItemGroupTitle() { + return itemGroupTitle; + } + + /** + * Optional. The shared title of the product group that this variant belongs to. + * @param itemGroupTitle itemGroupTitle or {@code null} for none + */ + public Attributes setItemGroupTitle(java.lang.String itemGroupTitle) { + this.itemGroupTitle = itemGroupTitle; + return this; + } + /** * The material of the product. For more information, see * https://support.google.com/manufacturers/answer/6124116#material. @@ -831,6 +907,23 @@ public Attributes setPattern(java.lang.String pattern) { return this; } + /** + * Optional. The popularity rank of the product from 0.0 (lowest) to 100.0 (highest). + * @return value or {@code null} for none + */ + public java.lang.Double getPopularityRank() { + return popularityRank; + } + + /** + * Optional. The popularity rank of the product from 0.0 (lowest) to 100.0 (highest). + * @param popularityRank popularityRank or {@code null} for none + */ + public Attributes setPopularityRank(java.lang.Double popularityRank) { + this.popularityRank = popularityRank; + return this; + } + /** * The details of the product. For more information, see * https://support.google.com/manufacturers/answer/6124116#productdetail. @@ -945,6 +1038,40 @@ public Attributes setProductType(java.util.List productType) { return this; } + /** + * Optional. Frequently asked questions and answers about the product. + * @return value or {@code null} for none + */ + public java.util.List getQuestionAndAnswer() { + return questionAndAnswer; + } + + /** + * Optional. Frequently asked questions and answers about the product. + * @param questionAndAnswer questionAndAnswer or {@code null} for none + */ + public Attributes setQuestionAndAnswer(java.util.List questionAndAnswer) { + this.questionAndAnswer = questionAndAnswer; + return this; + } + + /** + * Optional. Products related to this product, such as accessories or substitutes. + * @return value or {@code null} for none + */ + public java.util.List getRelatedProduct() { + return relatedProduct; + } + + /** + * Optional. Products related to this product, such as accessories or substitutes. + * @param relatedProduct relatedProduct or {@code null} for none + */ + public Attributes setRelatedProduct(java.util.List relatedProduct) { + this.relatedProduct = relatedProduct; + return this; + } + /** * The release date of the product. For more information, see * https://support.google.com/manufacturers/answer/6124116#release. @@ -1135,6 +1262,23 @@ public Attributes setTitle(java.lang.String title) { return this; } + /** + * Optional. The list of all variant-identifying options for the product. + * @return value or {@code null} for none + */ + public java.util.List getVariantOption() { + return variantOption; + } + + /** + * Optional. The list of all variant-identifying options for the product. + * @param variantOption variantOption or {@code null} for none + */ + public Attributes setVariantOption(java.util.List variantOption) { + this.variantOption = variantOption; + return this; + } + /** * The videos of the product. For more information, see * https://support.google.com/manufacturers/answer/6124116#video. diff --git a/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/Certification.java b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/Certification.java index cfcfeed003c..e02ec068a26 100644 --- a/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/Certification.java +++ b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/Certification.java @@ -44,6 +44,23 @@ public final class Certification extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String code; + /** + * Optional. A URL to the certification fiche. For example: + * https://eprel.ec.europa.eu/fiches/smartphonestablets20231669/Fiche_2556297_EN.pdf In case of + * multiple languages, the English version is preferred. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String documentLink; + + /** + * Optional. A URL to the certification label. For example: + * https://eprel.ec.europa.eu/labels/smartphonestablets20231669/Label_2556297.pdf + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String labelLink; + /** * Optional. A URL link to the certification. * The value may be {@code null}. @@ -113,6 +130,46 @@ public Certification setCode(java.lang.String code) { return this; } + /** + * Optional. A URL to the certification fiche. For example: + * https://eprel.ec.europa.eu/fiches/smartphonestablets20231669/Fiche_2556297_EN.pdf In case of + * multiple languages, the English version is preferred. + * @return value or {@code null} for none + */ + public java.lang.String getDocumentLink() { + return documentLink; + } + + /** + * Optional. A URL to the certification fiche. For example: + * https://eprel.ec.europa.eu/fiches/smartphonestablets20231669/Fiche_2556297_EN.pdf In case of + * multiple languages, the English version is preferred. + * @param documentLink documentLink or {@code null} for none + */ + public Certification setDocumentLink(java.lang.String documentLink) { + this.documentLink = documentLink; + return this; + } + + /** + * Optional. A URL to the certification label. For example: + * https://eprel.ec.europa.eu/labels/smartphonestablets20231669/Label_2556297.pdf + * @return value or {@code null} for none + */ + public java.lang.String getLabelLink() { + return labelLink; + } + + /** + * Optional. A URL to the certification label. For example: + * https://eprel.ec.europa.eu/labels/smartphonestablets20231669/Label_2556297.pdf + * @param labelLink labelLink or {@code null} for none + */ + public Certification setLabelLink(java.lang.String labelLink) { + this.labelLink = labelLink; + return this; + } + /** * Optional. A URL link to the certification. * @return value or {@code null} for none diff --git a/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/GoogleShoppingManufacturersV1ProductCertification.java b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/GoogleShoppingManufacturersV1ProductCertification.java index dbc148e298a..45f02e9f305 100644 --- a/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/GoogleShoppingManufacturersV1ProductCertification.java +++ b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/GoogleShoppingManufacturersV1ProductCertification.java @@ -44,6 +44,22 @@ public final class GoogleShoppingManufacturersV1ProductCertification extends com @com.google.api.client.util.Key private java.lang.String code; + /** + * Optional. A URL to the (English if >1 language) certification fiche. For example: + * https://eprel.ec.europa.eu/fiches/smartphonestablets20231669/Fiche_2556297_EN.pdf + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String documentLink; + + /** + * Optional. A URL to the certification label. For example: + * https://eprel.ec.europa.eu/labels/smartphonestablets20231669/Label_2556297.pdf + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String labelLink; + /** * Optional. A URL link to the certification. * The value may be {@code null}. @@ -113,6 +129,44 @@ public GoogleShoppingManufacturersV1ProductCertification setCode(java.lang.Strin return this; } + /** + * Optional. A URL to the (English if >1 language) certification fiche. For example: + * https://eprel.ec.europa.eu/fiches/smartphonestablets20231669/Fiche_2556297_EN.pdf + * @return value or {@code null} for none + */ + public java.lang.String getDocumentLink() { + return documentLink; + } + + /** + * Optional. A URL to the (English if >1 language) certification fiche. For example: + * https://eprel.ec.europa.eu/fiches/smartphonestablets20231669/Fiche_2556297_EN.pdf + * @param documentLink documentLink or {@code null} for none + */ + public GoogleShoppingManufacturersV1ProductCertification setDocumentLink(java.lang.String documentLink) { + this.documentLink = documentLink; + return this; + } + + /** + * Optional. A URL to the certification label. For example: + * https://eprel.ec.europa.eu/labels/smartphonestablets20231669/Label_2556297.pdf + * @return value or {@code null} for none + */ + public java.lang.String getLabelLink() { + return labelLink; + } + + /** + * Optional. A URL to the certification label. For example: + * https://eprel.ec.europa.eu/labels/smartphonestablets20231669/Label_2556297.pdf + * @param labelLink labelLink or {@code null} for none + */ + public GoogleShoppingManufacturersV1ProductCertification setLabelLink(java.lang.String labelLink) { + this.labelLink = labelLink; + return this; + } + /** * Optional. A URL link to the certification. * @return value or {@code null} for none diff --git a/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/QuestionAndAnswer.java b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/QuestionAndAnswer.java new file mode 100644 index 00000000000..932c6f20026 --- /dev/null +++ b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/QuestionAndAnswer.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.manufacturers.v1.model; + +/** + * A question and answer about the product. + * + *

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 Manufacturer Center 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 QuestionAndAnswer extends com.google.api.client.json.GenericJson { + + /** + * Required. The answer text. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String answer; + + /** + * Required. The question text. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String question; + + /** + * Required. The answer text. + * @return value or {@code null} for none + */ + public java.lang.String getAnswer() { + return answer; + } + + /** + * Required. The answer text. + * @param answer answer or {@code null} for none + */ + public QuestionAndAnswer setAnswer(java.lang.String answer) { + this.answer = answer; + return this; + } + + /** + * Required. The question text. + * @return value or {@code null} for none + */ + public java.lang.String getQuestion() { + return question; + } + + /** + * Required. The question text. + * @param question question or {@code null} for none + */ + public QuestionAndAnswer setQuestion(java.lang.String question) { + this.question = question; + return this; + } + + @Override + public QuestionAndAnswer set(String fieldName, Object value) { + return (QuestionAndAnswer) super.set(fieldName, value); + } + + @Override + public QuestionAndAnswer clone() { + return (QuestionAndAnswer) super.clone(); + } + +} diff --git a/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/RelatedProduct.java b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/RelatedProduct.java new file mode 100644 index 00000000000..e2b24e60d04 --- /dev/null +++ b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/RelatedProduct.java @@ -0,0 +1,118 @@ +/* + * 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.manufacturers.v1.model; + +/** + * A product related to this product. + * + *

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 Manufacturer Center 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 RelatedProduct extends com.google.api.client.json.GenericJson { + + /** + * Required. The identifier of the related product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String identifier; + + /** + * Required. The identifier type of the related product, such as "GTIN" or "ID". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String identifierType; + + /** + * Required. The relationship to the related product, such as "ACCESSORY", "PART_OF_SET", + * "REQUIRED_PART", "OFTEN_BOUGHT_WITH", "SUBSTITUTE", or "DIFFERENT_BRAND". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String relationshipType; + + /** + * Required. The identifier of the related product. + * @return value or {@code null} for none + */ + public java.lang.String getIdentifier() { + return identifier; + } + + /** + * Required. The identifier of the related product. + * @param identifier identifier or {@code null} for none + */ + public RelatedProduct setIdentifier(java.lang.String identifier) { + this.identifier = identifier; + return this; + } + + /** + * Required. The identifier type of the related product, such as "GTIN" or "ID". + * @return value or {@code null} for none + */ + public java.lang.String getIdentifierType() { + return identifierType; + } + + /** + * Required. The identifier type of the related product, such as "GTIN" or "ID". + * @param identifierType identifierType or {@code null} for none + */ + public RelatedProduct setIdentifierType(java.lang.String identifierType) { + this.identifierType = identifierType; + return this; + } + + /** + * Required. The relationship to the related product, such as "ACCESSORY", "PART_OF_SET", + * "REQUIRED_PART", "OFTEN_BOUGHT_WITH", "SUBSTITUTE", or "DIFFERENT_BRAND". + * @return value or {@code null} for none + */ + public java.lang.String getRelationshipType() { + return relationshipType; + } + + /** + * Required. The relationship to the related product, such as "ACCESSORY", "PART_OF_SET", + * "REQUIRED_PART", "OFTEN_BOUGHT_WITH", "SUBSTITUTE", or "DIFFERENT_BRAND". + * @param relationshipType relationshipType or {@code null} for none + */ + public RelatedProduct setRelationshipType(java.lang.String relationshipType) { + this.relationshipType = relationshipType; + return this; + } + + @Override + public RelatedProduct set(String fieldName, Object value) { + return (RelatedProduct) super.set(fieldName, value); + } + + @Override + public RelatedProduct clone() { + return (RelatedProduct) super.clone(); + } + +} diff --git a/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/VariantOption.java b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/VariantOption.java new file mode 100644 index 00000000000..69dbee576d4 --- /dev/null +++ b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/VariantOption.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.manufacturers.v1.model; + +/** + * A variant-identifying option for the product. + * + *

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 Manufacturer Center 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 VariantOption extends com.google.api.client.json.GenericJson { + + /** + * Required. The name of the variant option, such as "Color" or "Watch band style". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Required. The value of the variant option, such as "Red" or "Milanese loop". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * Required. The name of the variant option, such as "Color" or "Watch band style". + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the variant option, such as "Color" or "Watch band style". + * @param name name or {@code null} for none + */ + public VariantOption setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Required. The value of the variant option, such as "Red" or "Milanese loop". + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * Required. The value of the variant option, such as "Red" or "Milanese loop". + * @param value value or {@code null} for none + */ + public VariantOption setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public VariantOption set(String fieldName, Object value) { + return (VariantOption) super.set(fieldName, value); + } + + @Override + public VariantOption clone() { + return (VariantOption) super.clone(); + } + +} diff --git a/clients/google-api-services-manufacturers/v1/2.0.0/pom.xml b/clients/google-api-services-manufacturers/v1/2.0.0/pom.xml index be7d26128b7..1d77804aa70 100644 --- a/clients/google-api-services-manufacturers/v1/2.0.0/pom.xml +++ b/clients/google-api-services-manufacturers/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-manufacturers - v1-rev20250815-2.9.2 - Manufacturer Center API v1-rev20250815-2.9.2 + v1-rev20261112-2.9.2 + Manufacturer Center API v1-rev20261112-2.9.2 jar 2011 diff --git a/clients/google-api-services-manufacturers/v1/README.md b/clients/google-api-services-manufacturers/v1/README.md index 406c2894ce8..c19401e2287 100644 --- a/clients/google-api-services-manufacturers/v1/README.md +++ b/clients/google-api-services-manufacturers/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-manufacturers - v1-rev20250815-2.9.2 + v1-rev20261112-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-manufacturers:v1-rev20250815-2.9.2' + implementation 'com.google.apis:google-api-services-manufacturers:v1-rev20261112-2.9.2' } ```