Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.4" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.4" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class MerchantReview(proto.Message):
merchant_review_id (str):
Required. The user provided merchant review
ID to uniquely identify the merchant review.
attributes (google.shopping.merchant_reviews_v1beta.types.MerchantReviewAttributes):
merchant_review_attributes (google.shopping.merchant_reviews_v1beta.types.MerchantReviewAttributes):
Optional. A list of merchant review
attributes.
custom_attributes (MutableSequence[google.shopping.type.types.CustomAttribute]):
Expand Down Expand Up @@ -206,10 +206,12 @@ class MerchantReview(proto.Message):
proto.STRING,
number=2,
)
attributes: merchantreviews_common.MerchantReviewAttributes = proto.Field(
proto.MESSAGE,
number=3,
message=merchantreviews_common.MerchantReviewAttributes,
merchant_review_attributes: merchantreviews_common.MerchantReviewAttributes = (
proto.Field(
proto.MESSAGE,
number=3,
message=merchantreviews_common.MerchantReviewAttributes,
)
)
custom_attributes: MutableSequence[types.CustomAttribute] = proto.RepeatedField(
proto.MESSAGE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class ProductReview(proto.Message):
Required. The permanent, unique identifier
for the product review in the publisher’s
system.
attributes (google.shopping.merchant_reviews_v1beta.types.ProductReviewAttributes):
product_review_attributes (google.shopping.merchant_reviews_v1beta.types.ProductReviewAttributes):
Optional. A list of product review
attributes.
custom_attributes (MutableSequence[google.shopping.type.types.CustomAttribute]):
Expand All @@ -195,10 +195,12 @@ class ProductReview(proto.Message):
proto.STRING,
number=2,
)
attributes: productreviews_common.ProductReviewAttributes = proto.Field(
proto.MESSAGE,
number=3,
message=productreviews_common.ProductReviewAttributes,
product_review_attributes: productreviews_common.ProductReviewAttributes = (
proto.Field(
proto.MESSAGE,
number=3,
message=productreviews_common.ProductReviewAttributes,
)
)
custom_attributes: MutableSequence[types.CustomAttribute] = proto.RepeatedField(
proto.MESSAGE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-shopping-merchant-reviews",
"version": "0.1.4"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4089,7 +4089,7 @@ def test_insert_merchant_review_rest_call_success(request_type):
request_init["merchant_review"] = {
"name": "name_value",
"merchant_review_id": "merchant_review_id_value",
"attributes": {
"merchant_review_attributes": {
"merchant_id": "merchant_id_value",
"merchant_display_name": "merchant_display_name_value",
"merchant_link": "merchant_link_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4084,7 +4084,7 @@ def test_insert_product_review_rest_call_success(request_type):
request_init["product_review"] = {
"name": "name_value",
"product_review_id": "product_review_id_value",
"attributes": {
"product_review_attributes": {
"aggregator_name": "aggregator_name_value",
"subclient_name": "subclient_name_value",
"publisher_name": "publisher_name_value",
Expand Down
Loading