Skip to content

Commit 3f53dc7

Browse files
partheavchudnov-g
andauthored
feat!: update release level to stable (googleapis#14225)
BEGIN_COMMIT_OVERRIDE feat: update release level to stable feat!: set `google.shopping.merchant_notifications_v1` as the default import for `google.shopping.merchant_notifications` Release-As: 1.0.0 END_COMMIT_OVERRIDE --------- Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
1 parent d36c99a commit 3f53dc7

File tree

7 files changed

+58
-21
lines changed

7 files changed

+58
-21
lines changed

packages/google-shopping-merchant-notifications/.repo-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"product_documentation": "https://developers.google.com/merchant/api",
66
"client_documentation": "https://googleapis.dev/python/google-shopping-merchant-notifications/latest",
77
"issue_tracker": "https://github.com/googleapis/google-cloud-python/issues",
8-
"release_level": "preview",
8+
"release_level": "stable",
99
"language": "python",
1010
"library_type": "GAPIC_AUTO",
1111
"repo": "googleapis/google-cloud-python",
1212
"distribution_name": "google-shopping-merchant-notifications",
1313
"api_id": "merchantapi.googleapis.com",
14-
"default_version": "v1beta",
14+
"default_version": "v1",
1515
"codeowner_team": "",
1616
"api_shortname": "notifications"
1717
}

packages/google-shopping-merchant-notifications/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Python Client for Merchant API
22
==============================
33

4-
|preview| |pypi| |versions|
4+
|stable| |pypi| |versions|
55

66
`Merchant API`_: Programmatically manage your Merchant Center accounts.
77

88
- `Client Library Documentation`_
99
- `Product Documentation`_
1010

11-
.. |preview| image:: https://img.shields.io/badge/support-preview-orange.svg
11+
.. |stable| image:: https://img.shields.io/badge/support-stable-gold.svg
1212
:target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#stability-levels
1313
.. |pypi| image:: https://img.shields.io/pypi/v/google-shopping-merchant-notifications.svg
1414
:target: https://pypi.org/project/google-shopping-merchant-notifications/

packages/google-shopping-merchant-notifications/docs/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
.. include:: multiprocessing.rst
44

55
This package includes clients for multiple versions of Merchant API.
6-
By default, you will get version ``merchant_notifications_v1beta``.
6+
By default, you will get version ``merchant_notifications_v1``.
77

88

99
API Reference
1010
-------------
1111
.. toctree::
1212
:maxdepth: 2
1313

14-
merchant_notifications_v1beta/services_
15-
merchant_notifications_v1beta/types_
14+
merchant_notifications_v1/services_
15+
merchant_notifications_v1/types_
1616

1717
API Reference
1818
-------------
1919
.. toctree::
2020
:maxdepth: 2
2121

22-
merchant_notifications_v1/services_
23-
merchant_notifications_v1/types_
22+
merchant_notifications_v1beta/services_
23+
merchant_notifications_v1beta/types_
2424

2525

2626
Changelog

packages/google-shopping-merchant-notifications/google/shopping/merchant_notifications/__init__.py

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,21 @@
1818
__version__ = package_version.__version__
1919

2020

21-
from google.shopping.merchant_notifications_v1beta.services.notifications_api_service.async_client import (
21+
from google.shopping.merchant_notifications_v1.services.notifications_api_service.async_client import (
2222
NotificationsApiServiceAsyncClient,
2323
)
24-
from google.shopping.merchant_notifications_v1beta.services.notifications_api_service.client import (
24+
from google.shopping.merchant_notifications_v1.services.notifications_api_service.client import (
2525
NotificationsApiServiceClient,
2626
)
27-
from google.shopping.merchant_notifications_v1beta.types.notificationsapi import (
28-
Attribute,
27+
from google.shopping.merchant_notifications_v1.types.notificationsapi import (
2928
CreateNotificationSubscriptionRequest,
3029
DeleteNotificationSubscriptionRequest,
30+
GetNotificationSubscriptionHealthMetricsRequest,
3131
GetNotificationSubscriptionRequest,
3232
ListNotificationSubscriptionsRequest,
3333
ListNotificationSubscriptionsResponse,
3434
NotificationSubscription,
35-
ProductChange,
36-
ProductStatusChangeMessage,
37-
Resource,
35+
NotificationSubscriptionHealthMetrics,
3836
UpdateNotificationSubscriptionRequest,
3937
)
4038

@@ -43,13 +41,11 @@
4341
"NotificationsApiServiceAsyncClient",
4442
"CreateNotificationSubscriptionRequest",
4543
"DeleteNotificationSubscriptionRequest",
44+
"GetNotificationSubscriptionHealthMetricsRequest",
4645
"GetNotificationSubscriptionRequest",
4746
"ListNotificationSubscriptionsRequest",
4847
"ListNotificationSubscriptionsResponse",
4948
"NotificationSubscription",
50-
"ProductChange",
51-
"ProductStatusChangeMessage",
49+
"NotificationSubscriptionHealthMetrics",
5250
"UpdateNotificationSubscriptionRequest",
53-
"Attribute",
54-
"Resource",
5551
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml

packages/google-shopping-merchant-notifications/testing/constraints-3.7.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
google-api-core==1.34.1
88
google-auth==2.14.1
99
proto-plus==1.22.3
10-
protobuf==3.20.2
1110
google-shopping-type==0.1.6
11+
protobuf==3.20.2

scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,43 @@ replacements:
161161
"google-cloud-org-policy >= 1.0.0, <2.0.0",
162162
"proto-plus >= 1.22.3, <2.0.0",
163163
count: 1
164+
- paths: [
165+
packages/google-shopping-merchant-notifications/setup.py
166+
]
167+
before: |
168+
dependencies = \[
169+
"google-api-core\[grpc\] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
170+
# Exclude incompatible versions of `google-auth`
171+
# See https://github.com/googleapis/google-cloud-python/issues/12364
172+
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
173+
"proto-plus >= 1.22.3, <2.0.0",
174+
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
175+
"protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
176+
\]
177+
after: |
178+
dependencies = [
179+
"google-api-core[grpc] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
180+
# Exclude incompatible versions of `google-auth`
181+
# See https://github.com/googleapis/google-cloud-python/issues/12364
182+
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
183+
"proto-plus >= 1.22.3, <2.0.0",
184+
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
185+
"protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
186+
"google-shopping-type >= 1.0.0, <2.0.0",
187+
]
188+
count: 1
189+
- paths: [
190+
packages/google-shopping-merchant-notifications/testing/constraints-3.7.txt
191+
]
192+
before: |
193+
google-api-core==1.34.1
194+
google-auth==2.14.1
195+
proto-plus==1.22.3
196+
protobuf==3.20.2
197+
after: |
198+
google-api-core==1.34.1
199+
google-auth==2.14.1
200+
proto-plus==1.22.3
201+
google-shopping-type==1.0.0
202+
protobuf==3.20.2
203+
count: 1

0 commit comments

Comments
 (0)