@@ -88,7 +88,7 @@ service ProductService {
88
88
89
89
// Bulk import of multiple [Product][google.cloud.retail.v2.Product]s.
90
90
//
91
- // Request processing may be synchronous. No partial updating is supported.
91
+ // Request processing may be synchronous.
92
92
// Non-existing items are created.
93
93
//
94
94
// Note that it is possible for a subset of the
@@ -139,7 +139,7 @@ service ProductService {
139
139
//
140
140
// Pre-existing inventory information can only be updated with
141
141
// [SetInventory][google.cloud.retail.v2.ProductService.SetInventory],
142
- // [AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces],
142
+ // [ProductService. AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces],
143
143
// and
144
144
// [RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces].
145
145
//
@@ -345,6 +345,11 @@ message UpdateProductRequest {
345
345
//
346
346
// If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
347
347
// is returned.
348
+ //
349
+ // The attribute key can be updated by setting the mask path as
350
+ // "attributes.${key_name}". If a key name is present in the mask but not in
351
+ // the patching product from the request, this key will be deleted after the
352
+ // update.
348
353
google.protobuf.FieldMask update_mask = 2 ;
349
354
350
355
// If set to true, and the [Product][google.cloud.retail.v2.Product] is not
@@ -572,7 +577,9 @@ message SetInventoryMetadata {}
572
577
// method.
573
578
message SetInventoryResponse {}
574
579
575
- // Request message for [AddFulfillmentPlaces][] method.
580
+ // Request message for
581
+ // [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces]
582
+ // method.
576
583
message AddFulfillmentPlacesRequest {
577
584
// Required. Full resource name of [Product][google.cloud.retail.v2.Product],
578
585
// such as
@@ -640,15 +647,19 @@ message AddFulfillmentPlacesRequest {
640
647
641
648
// Metadata related to the progress of the AddFulfillmentPlaces operation.
642
649
// Currently empty because there is no meaningful metadata populated from the
643
- // [AddFulfillmentPlaces][] method.
650
+ // [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces]
651
+ // method.
644
652
message AddFulfillmentPlacesMetadata {}
645
653
646
654
// Response of the AddFulfillmentPlacesRequest. Currently empty because
647
- // there is no meaningful response populated from the [AddFulfillmentPlaces][]
655
+ // there is no meaningful response populated from the
656
+ // [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces]
648
657
// method.
649
658
message AddFulfillmentPlacesResponse {}
650
659
651
- // Request message for [AddLocalInventories][] method.
660
+ // Request message for
661
+ // [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories]
662
+ // method.
652
663
message AddLocalInventoriesRequest {
653
664
// Required. Full resource name of [Product][google.cloud.retail.v2.Product],
654
665
// such as
@@ -700,11 +711,15 @@ message AddLocalInventoriesRequest {
700
711
701
712
// Metadata related to the progress of the AddLocalInventories operation.
702
713
// Currently empty because there is no meaningful metadata populated from the
703
- // [AddLocalInventories][] method.
714
+ // [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories]
715
+ // method.
704
716
message AddLocalInventoriesMetadata {}
705
717
706
- // Response of the [AddLocalInventories][] API. Currently empty because
707
- // there is no meaningful response populated from the [AddLocalInventories][]
718
+ // Response of the
719
+ // [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories]
720
+ // API. Currently empty because there is no meaningful response populated from
721
+ // the
722
+ // [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories]
708
723
// method.
709
724
message AddLocalInventoriesResponse {}
710
725
@@ -782,7 +797,8 @@ message RemoveFulfillmentPlacesRequest {
782
797
// If this field is set to an invalid value other than these, an
783
798
// INVALID_ARGUMENT error is returned.
784
799
//
785
- // This field directly corresponds to [Product.fulfillment_info.type][].
800
+ // This field directly corresponds to
801
+ // [Product.fulfillment_info.type][google.cloud.retail.v2.FulfillmentInfo.type].
786
802
string type = 2 [(google.api.field_behavior ) = REQUIRED ];
787
803
788
804
// Required. The IDs for this
0 commit comments