[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface UpdateProductInputRequestOrBuilder (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-products/latest/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-products/0.26.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.24.0](/java/docs/reference/google-shopping-merchant-products/0.24.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-products/0.23.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.20.0](/java/docs/reference/google-shopping-merchant-products/0.20.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-products/0.19.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-products/0.18.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-products/0.16.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-products/0.15.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-products/0.14.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-products/0.13.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-products/0.12.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-products/0.11.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-products/0.10.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.9.0](/java/docs/reference/google-shopping-merchant-products/0.9.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-products/0.8.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-products/0.7.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-products/0.5.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-products/0.4.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-products/0.3.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-products/0.2.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-products/0.1.0/com.google.shopping.merchant.products.v1beta.UpdateProductInputRequestOrBuilder) \n\n public interface UpdateProductInputRequestOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getDataSource()\n\n public abstract String getDataSource()\n\nRequired. The primary or supplemental product data source where\n`data_source` name identifies the product input to be updated.\n\nOnly API data sources are supported.\n\nFormat: `accounts/{account}/dataSources/{datasource}`. For example,\n`accounts/123456/dataSources/104628`.\n\n`string data_source = 3 [(.google.api.field_behavior) = REQUIRED];`\n\n### getDataSourceBytes()\n\n public abstract ByteString getDataSourceBytes()\n\nRequired. The primary or supplemental product data source where\n`data_source` name identifies the product input to be updated.\n\nOnly API data sources are supported.\n\nFormat: `accounts/{account}/dataSources/{datasource}`. For example,\n`accounts/123456/dataSources/104628`.\n\n`string data_source = 3 [(.google.api.field_behavior) = REQUIRED];`\n\n### getProductInput()\n\n public abstract ProductInput getProductInput()\n\nRequired. The product input resource to update. Information you submit will\nbe applied to the processed product as well.\n\n`\n.google.shopping.merchant.products.v1beta.ProductInput product_input = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getProductInputOrBuilder()\n\n public abstract ProductInputOrBuilder getProductInputOrBuilder()\n\nRequired. The product input resource to update. Information you submit will\nbe applied to the processed product as well.\n\n`\n.google.shopping.merchant.products.v1beta.ProductInput product_input = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getUpdateMask()\n\n public abstract FieldMask getUpdateMask()\n\nOptional. The list of product attributes to be updated.\n\nIf the update mask is omitted, then it is treated as implied field mask\nequivalent to all fields that are populated (have a non-empty value).\n\nAttributes specified in the update mask without a value specified in the\nbody will be deleted from the product.\n\nUpdate mask can only be specified for top level fields in\nattributes and custom attributes.\n\nTo specify the update mask for custom attributes you need to add the\n`custom_attribute.` prefix.\n\nProviding special \"\\*\" value for full product replacement is not supported.\n\n`.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getUpdateMaskOrBuilder()\n\n public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()\n\nOptional. The list of product attributes to be updated.\n\nIf the update mask is omitted, then it is treated as implied field mask\nequivalent to all fields that are populated (have a non-empty value).\n\nAttributes specified in the update mask without a value specified in the\nbody will be deleted from the product.\n\nUpdate mask can only be specified for top level fields in\nattributes and custom attributes.\n\nTo specify the update mask for custom attributes you need to add the\n`custom_attribute.` prefix.\n\nProviding special \"\\*\" value for full product replacement is not supported.\n\n`.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### hasProductInput()\n\n public abstract boolean hasProductInput()\n\nRequired. The product input resource to update. Information you submit will\nbe applied to the processed product as well.\n\n`\n.google.shopping.merchant.products.v1beta.ProductInput product_input = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### hasUpdateMask()\n\n public abstract boolean hasUpdateMask()\n\nOptional. The list of product attributes to be updated.\n\nIf the update mask is omitted, then it is treated as implied field mask\nequivalent to all fields that are populated (have a non-empty value).\n\nAttributes specified in the update mask without a value specified in the\nbody will be deleted from the product.\n\nUpdate mask can only be specified for top level fields in\nattributes and custom attributes.\n\nTo specify the update mask for custom attributes you need to add the\n`custom_attribute.` prefix.\n\nProviding special \"\\*\" value for full product replacement is not supported.\n\n`.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];\n`"]]