diff --git a/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews/gapic_version.py b/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews/gapic_version.py index 3de61f78c443..20a9cd975b02 100644 --- a/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews/gapic_version.py +++ b/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews/gapic_version.py @@ -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} diff --git a/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews_v1beta/gapic_version.py b/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews_v1beta/gapic_version.py index 3de61f78c443..20a9cd975b02 100644 --- a/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews_v1beta/gapic_version.py +++ b/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews_v1beta/gapic_version.py @@ -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} diff --git a/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews_v1beta/types/merchantreviews.py b/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews_v1beta/types/merchantreviews.py index 87e83c71ad28..8e13bd3deacf 100644 --- a/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews_v1beta/types/merchantreviews.py +++ b/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews_v1beta/types/merchantreviews.py @@ -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]): @@ -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, diff --git a/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews_v1beta/types/productreviews.py b/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews_v1beta/types/productreviews.py index ad720b308244..9c8f122db61b 100644 --- a/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews_v1beta/types/productreviews.py +++ b/packages/google-shopping-merchant-reviews/google/shopping/merchant_reviews_v1beta/types/productreviews.py @@ -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]): @@ -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, diff --git a/packages/google-shopping-merchant-reviews/samples/generated_samples/snippet_metadata_google.shopping.merchant.reviews.v1beta.json b/packages/google-shopping-merchant-reviews/samples/generated_samples/snippet_metadata_google.shopping.merchant.reviews.v1beta.json index fb227f260c94..d238dd3a6b9b 100644 --- a/packages/google-shopping-merchant-reviews/samples/generated_samples/snippet_metadata_google.shopping.merchant.reviews.v1beta.json +++ b/packages/google-shopping-merchant-reviews/samples/generated_samples/snippet_metadata_google.shopping.merchant.reviews.v1beta.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-shopping-merchant-reviews", - "version": "0.1.4" + "version": "0.1.0" }, "snippets": [ { diff --git a/packages/google-shopping-merchant-reviews/tests/unit/gapic/merchant_reviews_v1beta/test_merchant_reviews_service.py b/packages/google-shopping-merchant-reviews/tests/unit/gapic/merchant_reviews_v1beta/test_merchant_reviews_service.py index 42ab53b3ecee..08a5a9c34109 100644 --- a/packages/google-shopping-merchant-reviews/tests/unit/gapic/merchant_reviews_v1beta/test_merchant_reviews_service.py +++ b/packages/google-shopping-merchant-reviews/tests/unit/gapic/merchant_reviews_v1beta/test_merchant_reviews_service.py @@ -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", diff --git a/packages/google-shopping-merchant-reviews/tests/unit/gapic/merchant_reviews_v1beta/test_product_reviews_service.py b/packages/google-shopping-merchant-reviews/tests/unit/gapic/merchant_reviews_v1beta/test_product_reviews_service.py index b9d8af0dd9c3..434c19da6372 100644 --- a/packages/google-shopping-merchant-reviews/tests/unit/gapic/merchant_reviews_v1beta/test_product_reviews_service.py +++ b/packages/google-shopping-merchant-reviews/tests/unit/gapic/merchant_reviews_v1beta/test_product_reviews_service.py @@ -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",