Skip to content

Commit 7b4192b

Browse files
chore (samples) Added a place for updateMask insertion from tutorials (#498)
* Added comment for update mask. * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent a59cedf commit 7b4192b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

retail/interactive-tutorials/src/main/java/product/UpdateProduct.java

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ public static void updateProduct(Product originalProduct, String defaultBranchNa
8686
.build();
8787
System.out.printf("Update product request: %s%n", updateProductRequest);
8888

89+
// PASTE UPDATE MASK HERE: requires import com.google.protobuf.FieldMask
90+
8991
Product updatedProduct = serviceClient.updateProduct(updateProductRequest);
9092
System.out.printf("Updated product: %s%n", updatedProduct);
9193
}

0 commit comments

Comments
 (0)