Skip to content

Commit f4c0d3d

Browse files
feat: add v1beta version of Workspace Events API (#13968)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 766228215 Source-Link: googleapis/googleapis@315d3b2 Source-Link: googleapis/googleapis-gen@0ec1ae2 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFwcHMtZXZlbnRzLXN1YnNjcmlwdGlvbnMvLk93bEJvdC55YW1sIiwiaCI6IjBlYzFhZTI1ZDY5N2I0YmQ2NjgzMzMwNzI1MzAyYmU0ZGYzNjdjY2YifQ== --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 657e524 commit f4c0d3d

File tree

42 files changed

+16871
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+16871
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Services for Google Apps Events Subscriptions v1beta API
2+
========================================================
3+
.. toctree::
4+
:maxdepth: 2
5+
6+
subscriptions_service
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
SubscriptionsService
2+
--------------------------------------
3+
4+
.. automodule:: google.apps.events_subscriptions_v1beta.services.subscriptions_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.apps.events_subscriptions_v1beta.services.subscriptions_service.pagers
9+
:members:
10+
:inherited-members:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Types for Google Apps Events Subscriptions v1beta API
2+
=====================================================
3+
4+
.. automodule:: google.apps.events_subscriptions_v1beta.types
5+
:members:
6+
:show-inheritance:

packages/google-apps-events-subscriptions/docs/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
.. include:: multiprocessing.rst
44

5+
This package includes clients for multiple versions of Google Workspace Events API.
6+
By default, you will get version ``events_subscriptions_v1``.
7+
58

69
API Reference
710
-------------
@@ -11,6 +14,14 @@ API Reference
1114
events_subscriptions_v1/services_
1215
events_subscriptions_v1/types_
1316

17+
API Reference
18+
-------------
19+
.. toctree::
20+
:maxdepth: 2
21+
22+
events_subscriptions_v1beta/services_
23+
events_subscriptions_v1beta/types_
24+
1425

1526
Changelog
1627
---------

packages/google-apps-events-subscriptions/google/apps/events_subscriptions/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.2.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-apps-events-subscriptions/google/apps/events_subscriptions_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.2.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from google.apps.events_subscriptions_v1beta import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from .services.subscriptions_service import (
22+
SubscriptionsServiceAsyncClient,
23+
SubscriptionsServiceClient,
24+
)
25+
from .types.subscription_resource import (
26+
NotificationEndpoint,
27+
PayloadOptions,
28+
Subscription,
29+
)
30+
from .types.subscriptions_service import (
31+
CreateSubscriptionMetadata,
32+
CreateSubscriptionRequest,
33+
DeleteSubscriptionMetadata,
34+
DeleteSubscriptionRequest,
35+
GetSubscriptionRequest,
36+
ListSubscriptionsRequest,
37+
ListSubscriptionsResponse,
38+
ReactivateSubscriptionMetadata,
39+
ReactivateSubscriptionRequest,
40+
UpdateSubscriptionMetadata,
41+
UpdateSubscriptionRequest,
42+
)
43+
44+
__all__ = (
45+
"SubscriptionsServiceAsyncClient",
46+
"CreateSubscriptionMetadata",
47+
"CreateSubscriptionRequest",
48+
"DeleteSubscriptionMetadata",
49+
"DeleteSubscriptionRequest",
50+
"GetSubscriptionRequest",
51+
"ListSubscriptionsRequest",
52+
"ListSubscriptionsResponse",
53+
"NotificationEndpoint",
54+
"PayloadOptions",
55+
"ReactivateSubscriptionMetadata",
56+
"ReactivateSubscriptionRequest",
57+
"Subscription",
58+
"SubscriptionsServiceClient",
59+
"UpdateSubscriptionMetadata",
60+
"UpdateSubscriptionRequest",
61+
)
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.apps.events_subscriptions_v1beta",
5+
"protoPackage": "google.apps.events.subscriptions.v1beta",
6+
"schema": "1.0",
7+
"services": {
8+
"SubscriptionsService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "SubscriptionsServiceClient",
12+
"rpcs": {
13+
"CreateSubscription": {
14+
"methods": [
15+
"create_subscription"
16+
]
17+
},
18+
"DeleteSubscription": {
19+
"methods": [
20+
"delete_subscription"
21+
]
22+
},
23+
"GetSubscription": {
24+
"methods": [
25+
"get_subscription"
26+
]
27+
},
28+
"ListSubscriptions": {
29+
"methods": [
30+
"list_subscriptions"
31+
]
32+
},
33+
"ReactivateSubscription": {
34+
"methods": [
35+
"reactivate_subscription"
36+
]
37+
},
38+
"UpdateSubscription": {
39+
"methods": [
40+
"update_subscription"
41+
]
42+
}
43+
}
44+
},
45+
"grpc-async": {
46+
"libraryClient": "SubscriptionsServiceAsyncClient",
47+
"rpcs": {
48+
"CreateSubscription": {
49+
"methods": [
50+
"create_subscription"
51+
]
52+
},
53+
"DeleteSubscription": {
54+
"methods": [
55+
"delete_subscription"
56+
]
57+
},
58+
"GetSubscription": {
59+
"methods": [
60+
"get_subscription"
61+
]
62+
},
63+
"ListSubscriptions": {
64+
"methods": [
65+
"list_subscriptions"
66+
]
67+
},
68+
"ReactivateSubscription": {
69+
"methods": [
70+
"reactivate_subscription"
71+
]
72+
},
73+
"UpdateSubscription": {
74+
"methods": [
75+
"update_subscription"
76+
]
77+
}
78+
}
79+
},
80+
"rest": {
81+
"libraryClient": "SubscriptionsServiceClient",
82+
"rpcs": {
83+
"CreateSubscription": {
84+
"methods": [
85+
"create_subscription"
86+
]
87+
},
88+
"DeleteSubscription": {
89+
"methods": [
90+
"delete_subscription"
91+
]
92+
},
93+
"GetSubscription": {
94+
"methods": [
95+
"get_subscription"
96+
]
97+
},
98+
"ListSubscriptions": {
99+
"methods": [
100+
"list_subscriptions"
101+
]
102+
},
103+
"ReactivateSubscription": {
104+
"methods": [
105+
"reactivate_subscription"
106+
]
107+
},
108+
"UpdateSubscription": {
109+
"methods": [
110+
"update_subscription"
111+
]
112+
}
113+
}
114+
}
115+
}
116+
}
117+
}
118+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
__version__ = "0.0.0" # {x-release-please-version}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Marker file for PEP 561.
2+
# The google-apps-events-subscriptions package uses inline types.

0 commit comments

Comments
 (0)