Skip to content
Open
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
3 changes: 3 additions & 0 deletions librarian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2608,9 +2608,12 @@ libraries:
- name: google-shopping-merchant-reviews
version: 0.6.1
apis:
- path: google/shopping/merchant/reviews/v1
- path: google/shopping/merchant/reviews/v1beta
python:
opt_args_by_api:
google/shopping/merchant/reviews/v1:
- proto-plus-deps=google.shopping.type
google/shopping/merchant/reviews/v1beta:
- proto-plus-deps=google.shopping.type
default_version: v1beta
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"language": "python",
"library_type": "GAPIC_AUTO",
"name": "google-shopping-merchant-reviews",
"name_pretty": "Shopping Merchant Reviews",
"name_pretty": "Merchant",
"product_documentation": "https://developers.google.com/merchant/api",
"release_level": "preview",
"repo": "googleapis/google-cloud-python"
Expand Down
18 changes: 9 additions & 9 deletions packages/google-shopping-merchant-reviews/README.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Python Client for Shopping Merchant Reviews
===========================================
Python Client for Merchant
==========================

|preview| |pypi| |versions|

`Shopping Merchant Reviews`_: Programmatically manage your Merchant Center Accounts.
`Merchant`_: Programmatically manage your Merchant Center Accounts.

- `Client Library Documentation`_
- `Product Documentation`_
Expand All @@ -14,7 +14,7 @@ Python Client for Shopping Merchant Reviews
:target: https://pypi.org/project/google-shopping-merchant-reviews/
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-shopping-merchant-reviews.svg
:target: https://pypi.org/project/google-shopping-merchant-reviews/
.. _Shopping Merchant Reviews: https://developers.google.com/merchant/api
.. _Merchant: https://developers.google.com/merchant/api
.. _Client Library Documentation: https://googleapis.dev/python/google-shopping-merchant-reviews/latest
.. _Product Documentation: https://developers.google.com/merchant/api

Expand All @@ -25,12 +25,12 @@ In order to use this library, you first need to go through the following steps:

1. `Select or create a Cloud Platform project.`_
2. `Enable billing for your project.`_
3. `Enable the Shopping Merchant Reviews.`_
3. `Enable the Merchant.`_
4. `Set up Authentication.`_

.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Enable the Shopping Merchant Reviews.: https://developers.google.com/merchant/api
.. _Enable the Merchant.: https://developers.google.com/merchant/api
.. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html

Installation
Expand Down Expand Up @@ -98,14 +98,14 @@ Windows
Next Steps
~~~~~~~~~~

- Read the `Client Library Documentation`_ for Shopping Merchant Reviews
- Read the `Client Library Documentation`_ for Merchant
to see other available methods on the client.
- Read the `Shopping Merchant Reviews Product documentation`_ to learn
- Read the `Merchant Product documentation`_ to learn
more about the product and see How-to Guides.
- View this `README`_ to see the full list of Cloud
APIs that we cover.

.. _Shopping Merchant Reviews Product documentation: https://developers.google.com/merchant/api
.. _Merchant Product documentation: https://developers.google.com/merchant/api
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst

Logging
Expand Down
18 changes: 9 additions & 9 deletions packages/google-shopping-merchant-reviews/docs/README.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Python Client for Shopping Merchant Reviews
===========================================
Python Client for Merchant
==========================

|preview| |pypi| |versions|

`Shopping Merchant Reviews`_: Programmatically manage your Merchant Center Accounts.
`Merchant`_: Programmatically manage your Merchant Center Accounts.

- `Client Library Documentation`_
- `Product Documentation`_
Expand All @@ -14,7 +14,7 @@ Python Client for Shopping Merchant Reviews
:target: https://pypi.org/project/google-shopping-merchant-reviews/
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-shopping-merchant-reviews.svg
:target: https://pypi.org/project/google-shopping-merchant-reviews/
.. _Shopping Merchant Reviews: https://developers.google.com/merchant/api
.. _Merchant: https://developers.google.com/merchant/api
.. _Client Library Documentation: https://googleapis.dev/python/google-shopping-merchant-reviews/latest
.. _Product Documentation: https://developers.google.com/merchant/api

Expand All @@ -25,12 +25,12 @@ In order to use this library, you first need to go through the following steps:

1. `Select or create a Cloud Platform project.`_
2. `Enable billing for your project.`_
3. `Enable the Shopping Merchant Reviews.`_
3. `Enable the Merchant.`_
4. `Set up Authentication.`_

.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Enable the Shopping Merchant Reviews.: https://developers.google.com/merchant/api
.. _Enable the Merchant.: https://developers.google.com/merchant/api
.. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html

Installation
Expand Down Expand Up @@ -98,14 +98,14 @@ Windows
Next Steps
~~~~~~~~~~

- Read the `Client Library Documentation`_ for Shopping Merchant Reviews
- Read the `Client Library Documentation`_ for Merchant
to see other available methods on the client.
- Read the `Shopping Merchant Reviews Product documentation`_ to learn
- Read the `Merchant Product documentation`_ to learn
more about the product and see How-to Guides.
- View this `README`_ to see the full list of Cloud
APIs that we cover.

.. _Shopping Merchant Reviews Product documentation: https://developers.google.com/merchant/api
.. _Merchant Product documentation: https://developers.google.com/merchant/api
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst

Logging
Expand Down
11 changes: 11 additions & 0 deletions packages/google-shopping-merchant-reviews/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

.. include:: multiprocessing.rst

This package includes clients for multiple versions of Merchant.
By default, you will get version ``merchant_reviews_v1beta``.


API Reference
-------------
Expand All @@ -11,6 +14,14 @@ API Reference
merchant_reviews_v1beta/services_
merchant_reviews_v1beta/types_

API Reference
-------------
.. toctree::
:maxdepth: 2

merchant_reviews_v1/services_
merchant_reviews_v1/types_


Changelog
---------
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ProductReviewsService
---------------------------------------

.. automodule:: google.shopping.merchant_reviews_v1.services.product_reviews_service
:members:
:inherited-members:

.. automodule:: google.shopping.merchant_reviews_v1.services.product_reviews_service.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Services for Google Shopping Merchant Reviews v1 API
====================================================
.. toctree::
:maxdepth: 2

product_reviews_service
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Types for Google Shopping Merchant Reviews v1 API
=================================================

.. automodule:: google.shopping.merchant_reviews_v1.types
:members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# -*- coding: utf-8 -*-
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import google.api_core as api_core

from google.shopping.merchant_reviews_v1 import gapic_version as package_version

__version__ = package_version.__version__

# PEP 0810: Explicit Lazy Imports
# Python 3.15+ natively intercepts and defers these imports.
# Developers can disable this behavior and force eager imports.
# For more information, see:
# https://docs.python.org/3.15/library/sys.html#sys.set_lazy_imports_filter
# Older Python versions safely ignore this variable.
__lazy_modules__ = {
"google.shopping.merchant_reviews_v1.services.product_reviews_service",
"google.shopping.merchant_reviews_v1.types.productreviews",
"google.shopping.merchant_reviews_v1.types.productreviews_common",
}


from .services.product_reviews_service import (
ProductReviewsServiceAsyncClient,
ProductReviewsServiceClient,
)
from .types.productreviews import (
DeleteProductReviewRequest,
GetProductReviewRequest,
InsertProductReviewRequest,
ListProductReviewsRequest,
ListProductReviewsResponse,
ProductReview,
)
from .types.productreviews_common import ProductReviewAttributes, ProductReviewStatus

__all__ = (
"ProductReviewsServiceAsyncClient",
"DeleteProductReviewRequest",
"GetProductReviewRequest",
"InsertProductReviewRequest",
"ListProductReviewsRequest",
"ListProductReviewsResponse",
"ProductReview",
"ProductReviewAttributes",
"ProductReviewStatus",
"ProductReviewsServiceClient",
)

api_core.check_python_version("google.shopping.merchant_reviews_v1")
api_core.check_dependency_versions("google.shopping.merchant_reviews_v1")
Loading
Loading