Skip to content

Commit feccc8b

Browse files
committed
fix: docs failures in google-shopping-merchant-accounts
1 parent ed9bb31 commit feccc8b

5 files changed

Lines changed: 9 additions & 15 deletions

File tree

packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/services/email_preferences_service/async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ async def get_email_preferences(
291291
r"""Returns the email preferences for a Merchant Center account
292292
user.
293293
294-
Use the name=accounts/*/users/me/emailPreferences alias to get
294+
Use the ``name=accounts/*/users/me/emailPreferences`` alias to get
295295
preferences for the authenticated user.
296296
297297
.. code-block:: python
@@ -415,7 +415,7 @@ async def update_email_preferences(
415415
It is invalid for updates to specify an UNCONFIRMED opt-in
416416
status value.
417417
418-
Use the name=accounts/*/users/me/emailPreferences alias to
418+
Use the ``name=accounts/*/users/me/emailPreferences`` alias to
419419
update preferences for the authenticated user.
420420
421421
.. code-block:: python

packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/services/email_preferences_service/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ def get_email_preferences(
702702
r"""Returns the email preferences for a Merchant Center account
703703
user.
704704
705-
Use the name=accounts/*/users/me/emailPreferences alias to get
705+
Use the ``name=accounts/*/users/me/emailPreferences`` alias to get
706706
preferences for the authenticated user.
707707
708708
.. code-block:: python
@@ -823,7 +823,7 @@ def update_email_preferences(
823823
It is invalid for updates to specify an UNCONFIRMED opt-in
824824
status value.
825825
826-
Use the name=accounts/*/users/me/emailPreferences alias to
826+
Use the ``name=accounts/*/users/me/emailPreferences`` alias to
827827
update preferences for the authenticated user.
828828
829829
.. code-block:: python

packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/services/online_return_policy_service/async_client.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,8 @@
5656
class OnlineReturnPolicyServiceAsyncClient:
5757
"""The service facilitates the management of a merchant's remorse
5858
return policy configuration, encompassing return policies for both
59-
ads and free listings
60-
61-
programs. This API defines the following resource model:
62-
--------------------------------------------------------
63-
59+
ads and free listings programs. This API defines the following resource model:
60+
6461
[OnlineReturnPolicy][google.shopping.merchant.accounts.v1.OnlineReturnPolicy]
6562
"""
6663

packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/services/online_return_policy_service/client.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,7 @@ def get_transport_class(
9999
class OnlineReturnPolicyServiceClient(metaclass=OnlineReturnPolicyServiceClientMeta):
100100
"""The service facilitates the management of a merchant's remorse
101101
return policy configuration, encompassing return policies for both
102-
ads and free listings
103-
104-
programs. This API defines the following resource model:
105-
--------------------------------------------------------
102+
ads and free listings programs. This API defines the following resource model:
106103
107104
[OnlineReturnPolicy][google.shopping.merchant.accounts.v1.OnlineReturnPolicy]
108105
"""

packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/types/shippingsettings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ class ShippingSettings(proto.Message):
6565
etag (str):
6666
Required. This field is used for avoid async
6767
issue. Make sure shipping setting data
68-
didn't change between get call and insert call.
69-
The user should do following steps:
68+
didn't change between get call and insert call.
69+
The user should do following steps:
7070
7171
1. Set etag field as empty string for initial
7272
shipping setting creation.

0 commit comments

Comments
 (0)