google-analytics-admin 0.23.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- google/analytics/admin/__init__.py +615 -0
- google/analytics/admin/gapic_version.py +16 -0
- google/analytics/admin/py.typed +2 -0
- google/analytics/admin_v1alpha/__init__.py +613 -0
- google/analytics/admin_v1alpha/gapic_metadata.json +2278 -0
- google/analytics/admin_v1alpha/gapic_version.py +16 -0
- google/analytics/admin_v1alpha/py.typed +2 -0
- google/analytics/admin_v1alpha/services/__init__.py +15 -0
- google/analytics/admin_v1alpha/services/analytics_admin_service/__init__.py +22 -0
- google/analytics/admin_v1alpha/services/analytics_admin_service/async_client.py +14122 -0
- google/analytics/admin_v1alpha/services/analytics_admin_service/client.py +14680 -0
- google/analytics/admin_v1alpha/services/analytics_admin_service/pagers.py +4337 -0
- google/analytics/admin_v1alpha/services/analytics_admin_service/transports/__init__.py +41 -0
- google/analytics/admin_v1alpha/services/analytics_admin_service/transports/base.py +2494 -0
- google/analytics/admin_v1alpha/services/analytics_admin_service/transports/grpc.py +4797 -0
- google/analytics/admin_v1alpha/services/analytics_admin_service/transports/grpc_asyncio.py +5671 -0
- google/analytics/admin_v1alpha/services/analytics_admin_service/transports/rest.py +31875 -0
- google/analytics/admin_v1alpha/services/analytics_admin_service/transports/rest_base.py +7944 -0
- google/analytics/admin_v1alpha/types/__init__.py +602 -0
- google/analytics/admin_v1alpha/types/access_report.py +705 -0
- google/analytics/admin_v1alpha/types/analytics_admin.py +4997 -0
- google/analytics/admin_v1alpha/types/audience.py +781 -0
- google/analytics/admin_v1alpha/types/channel_group.py +309 -0
- google/analytics/admin_v1alpha/types/event_create_and_edit.py +298 -0
- google/analytics/admin_v1alpha/types/expanded_data_set.py +282 -0
- google/analytics/admin_v1alpha/types/resources.py +3289 -0
- google/analytics/admin_v1alpha/types/subproperty_event_filter.py +292 -0
- google/analytics/admin_v1beta/__init__.py +255 -0
- google/analytics/admin_v1beta/gapic_metadata.json +838 -0
- google/analytics/admin_v1beta/gapic_version.py +16 -0
- google/analytics/admin_v1beta/py.typed +2 -0
- google/analytics/admin_v1beta/services/__init__.py +15 -0
- google/analytics/admin_v1beta/services/analytics_admin_service/__init__.py +22 -0
- google/analytics/admin_v1beta/services/analytics_admin_service/async_client.py +6707 -0
- google/analytics/admin_v1beta/services/analytics_admin_service/client.py +7164 -0
- google/analytics/admin_v1beta/services/analytics_admin_service/pagers.py +1927 -0
- google/analytics/admin_v1beta/services/analytics_admin_service/transports/__init__.py +41 -0
- google/analytics/admin_v1beta/services/analytics_admin_service/transports/base.py +965 -0
- google/analytics/admin_v1beta/services/analytics_admin_service/transports/grpc.py +1917 -0
- google/analytics/admin_v1beta/services/analytics_admin_service/transports/grpc_asyncio.py +2251 -0
- google/analytics/admin_v1beta/services/analytics_admin_service/transports/rest.py +11423 -0
- google/analytics/admin_v1beta/services/analytics_admin_service/transports/rest_base.py +2857 -0
- google/analytics/admin_v1beta/types/__init__.py +244 -0
- google/analytics/admin_v1beta/types/access_report.py +705 -0
- google/analytics/admin_v1beta/types/analytics_admin.py +2006 -0
- google/analytics/admin_v1beta/types/resources.py +1677 -0
- google_analytics_admin-0.23.6.dist-info/LICENSE +202 -0
- google_analytics_admin-0.23.6.dist-info/METADATA +228 -0
- google_analytics_admin-0.23.6.dist-info/RECORD +51 -0
- google_analytics_admin-0.23.6.dist-info/WHEEL +5 -0
- google_analytics_admin-0.23.6.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,965 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2024 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
|
+
import abc
|
|
17
|
+
from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
|
|
18
|
+
|
|
19
|
+
import google.api_core
|
|
20
|
+
from google.api_core import exceptions as core_exceptions
|
|
21
|
+
from google.api_core import gapic_v1
|
|
22
|
+
from google.api_core import retry as retries
|
|
23
|
+
import google.auth # type: ignore
|
|
24
|
+
from google.auth import credentials as ga_credentials # type: ignore
|
|
25
|
+
from google.oauth2 import service_account # type: ignore
|
|
26
|
+
from google.protobuf import empty_pb2 # type: ignore
|
|
27
|
+
|
|
28
|
+
from google.analytics.admin_v1beta import gapic_version as package_version
|
|
29
|
+
from google.analytics.admin_v1beta.types import analytics_admin, resources
|
|
30
|
+
|
|
31
|
+
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
|
|
32
|
+
gapic_version=package_version.__version__
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class AnalyticsAdminServiceTransport(abc.ABC):
|
|
37
|
+
"""Abstract transport class for AnalyticsAdminService."""
|
|
38
|
+
|
|
39
|
+
AUTH_SCOPES = (
|
|
40
|
+
"https://www.googleapis.com/auth/analytics.edit",
|
|
41
|
+
"https://www.googleapis.com/auth/analytics.readonly",
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
DEFAULT_HOST: str = "analyticsadmin.googleapis.com"
|
|
45
|
+
|
|
46
|
+
def __init__(
|
|
47
|
+
self,
|
|
48
|
+
*,
|
|
49
|
+
host: str = DEFAULT_HOST,
|
|
50
|
+
credentials: Optional[ga_credentials.Credentials] = None,
|
|
51
|
+
credentials_file: Optional[str] = None,
|
|
52
|
+
scopes: Optional[Sequence[str]] = None,
|
|
53
|
+
quota_project_id: Optional[str] = None,
|
|
54
|
+
client_info: gapic_v1.client_info.ClientInfo = DEFAULT_CLIENT_INFO,
|
|
55
|
+
always_use_jwt_access: Optional[bool] = False,
|
|
56
|
+
api_audience: Optional[str] = None,
|
|
57
|
+
**kwargs,
|
|
58
|
+
) -> None:
|
|
59
|
+
"""Instantiate the transport.
|
|
60
|
+
|
|
61
|
+
Args:
|
|
62
|
+
host (Optional[str]):
|
|
63
|
+
The hostname to connect to (default: 'analyticsadmin.googleapis.com').
|
|
64
|
+
credentials (Optional[google.auth.credentials.Credentials]): The
|
|
65
|
+
authorization credentials to attach to requests. These
|
|
66
|
+
credentials identify the application to the service; if none
|
|
67
|
+
are specified, the client will attempt to ascertain the
|
|
68
|
+
credentials from the environment.
|
|
69
|
+
credentials_file (Optional[str]): A file with credentials that can
|
|
70
|
+
be loaded with :func:`google.auth.load_credentials_from_file`.
|
|
71
|
+
This argument is mutually exclusive with credentials.
|
|
72
|
+
scopes (Optional[Sequence[str]]): A list of scopes.
|
|
73
|
+
quota_project_id (Optional[str]): An optional project to use for billing
|
|
74
|
+
and quota.
|
|
75
|
+
client_info (google.api_core.gapic_v1.client_info.ClientInfo):
|
|
76
|
+
The client info used to send a user-agent string along with
|
|
77
|
+
API requests. If ``None``, then default info will be used.
|
|
78
|
+
Generally, you only need to set this if you're developing
|
|
79
|
+
your own client library.
|
|
80
|
+
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
|
|
81
|
+
be used for service account credentials.
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
|
|
85
|
+
|
|
86
|
+
# Save the scopes.
|
|
87
|
+
self._scopes = scopes
|
|
88
|
+
if not hasattr(self, "_ignore_credentials"):
|
|
89
|
+
self._ignore_credentials: bool = False
|
|
90
|
+
|
|
91
|
+
# If no credentials are provided, then determine the appropriate
|
|
92
|
+
# defaults.
|
|
93
|
+
if credentials and credentials_file:
|
|
94
|
+
raise core_exceptions.DuplicateCredentialArgs(
|
|
95
|
+
"'credentials_file' and 'credentials' are mutually exclusive"
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
if credentials_file is not None:
|
|
99
|
+
credentials, _ = google.auth.load_credentials_from_file(
|
|
100
|
+
credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
|
|
101
|
+
)
|
|
102
|
+
elif credentials is None and not self._ignore_credentials:
|
|
103
|
+
credentials, _ = google.auth.default(
|
|
104
|
+
**scopes_kwargs, quota_project_id=quota_project_id
|
|
105
|
+
)
|
|
106
|
+
# Don't apply audience if the credentials file passed from user.
|
|
107
|
+
if hasattr(credentials, "with_gdch_audience"):
|
|
108
|
+
credentials = credentials.with_gdch_audience(
|
|
109
|
+
api_audience if api_audience else host
|
|
110
|
+
)
|
|
111
|
+
|
|
112
|
+
# If the credentials are service account credentials, then always try to use self signed JWT.
|
|
113
|
+
if (
|
|
114
|
+
always_use_jwt_access
|
|
115
|
+
and isinstance(credentials, service_account.Credentials)
|
|
116
|
+
and hasattr(service_account.Credentials, "with_always_use_jwt_access")
|
|
117
|
+
):
|
|
118
|
+
credentials = credentials.with_always_use_jwt_access(True)
|
|
119
|
+
|
|
120
|
+
# Save the credentials.
|
|
121
|
+
self._credentials = credentials
|
|
122
|
+
|
|
123
|
+
# Save the hostname. Default to port 443 (HTTPS) if none is specified.
|
|
124
|
+
if ":" not in host:
|
|
125
|
+
host += ":443"
|
|
126
|
+
self._host = host
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def host(self):
|
|
130
|
+
return self._host
|
|
131
|
+
|
|
132
|
+
def _prep_wrapped_messages(self, client_info):
|
|
133
|
+
# Precompute the wrapped methods.
|
|
134
|
+
self._wrapped_methods = {
|
|
135
|
+
self.get_account: gapic_v1.method.wrap_method(
|
|
136
|
+
self.get_account,
|
|
137
|
+
default_timeout=None,
|
|
138
|
+
client_info=client_info,
|
|
139
|
+
),
|
|
140
|
+
self.list_accounts: gapic_v1.method.wrap_method(
|
|
141
|
+
self.list_accounts,
|
|
142
|
+
default_timeout=None,
|
|
143
|
+
client_info=client_info,
|
|
144
|
+
),
|
|
145
|
+
self.delete_account: gapic_v1.method.wrap_method(
|
|
146
|
+
self.delete_account,
|
|
147
|
+
default_timeout=None,
|
|
148
|
+
client_info=client_info,
|
|
149
|
+
),
|
|
150
|
+
self.update_account: gapic_v1.method.wrap_method(
|
|
151
|
+
self.update_account,
|
|
152
|
+
default_timeout=None,
|
|
153
|
+
client_info=client_info,
|
|
154
|
+
),
|
|
155
|
+
self.provision_account_ticket: gapic_v1.method.wrap_method(
|
|
156
|
+
self.provision_account_ticket,
|
|
157
|
+
default_timeout=None,
|
|
158
|
+
client_info=client_info,
|
|
159
|
+
),
|
|
160
|
+
self.list_account_summaries: gapic_v1.method.wrap_method(
|
|
161
|
+
self.list_account_summaries,
|
|
162
|
+
default_timeout=None,
|
|
163
|
+
client_info=client_info,
|
|
164
|
+
),
|
|
165
|
+
self.get_property: gapic_v1.method.wrap_method(
|
|
166
|
+
self.get_property,
|
|
167
|
+
default_timeout=None,
|
|
168
|
+
client_info=client_info,
|
|
169
|
+
),
|
|
170
|
+
self.list_properties: gapic_v1.method.wrap_method(
|
|
171
|
+
self.list_properties,
|
|
172
|
+
default_timeout=None,
|
|
173
|
+
client_info=client_info,
|
|
174
|
+
),
|
|
175
|
+
self.create_property: gapic_v1.method.wrap_method(
|
|
176
|
+
self.create_property,
|
|
177
|
+
default_timeout=None,
|
|
178
|
+
client_info=client_info,
|
|
179
|
+
),
|
|
180
|
+
self.delete_property: gapic_v1.method.wrap_method(
|
|
181
|
+
self.delete_property,
|
|
182
|
+
default_timeout=None,
|
|
183
|
+
client_info=client_info,
|
|
184
|
+
),
|
|
185
|
+
self.update_property: gapic_v1.method.wrap_method(
|
|
186
|
+
self.update_property,
|
|
187
|
+
default_timeout=None,
|
|
188
|
+
client_info=client_info,
|
|
189
|
+
),
|
|
190
|
+
self.create_firebase_link: gapic_v1.method.wrap_method(
|
|
191
|
+
self.create_firebase_link,
|
|
192
|
+
default_timeout=None,
|
|
193
|
+
client_info=client_info,
|
|
194
|
+
),
|
|
195
|
+
self.delete_firebase_link: gapic_v1.method.wrap_method(
|
|
196
|
+
self.delete_firebase_link,
|
|
197
|
+
default_timeout=None,
|
|
198
|
+
client_info=client_info,
|
|
199
|
+
),
|
|
200
|
+
self.list_firebase_links: gapic_v1.method.wrap_method(
|
|
201
|
+
self.list_firebase_links,
|
|
202
|
+
default_timeout=None,
|
|
203
|
+
client_info=client_info,
|
|
204
|
+
),
|
|
205
|
+
self.create_google_ads_link: gapic_v1.method.wrap_method(
|
|
206
|
+
self.create_google_ads_link,
|
|
207
|
+
default_timeout=None,
|
|
208
|
+
client_info=client_info,
|
|
209
|
+
),
|
|
210
|
+
self.update_google_ads_link: gapic_v1.method.wrap_method(
|
|
211
|
+
self.update_google_ads_link,
|
|
212
|
+
default_timeout=None,
|
|
213
|
+
client_info=client_info,
|
|
214
|
+
),
|
|
215
|
+
self.delete_google_ads_link: gapic_v1.method.wrap_method(
|
|
216
|
+
self.delete_google_ads_link,
|
|
217
|
+
default_timeout=None,
|
|
218
|
+
client_info=client_info,
|
|
219
|
+
),
|
|
220
|
+
self.list_google_ads_links: gapic_v1.method.wrap_method(
|
|
221
|
+
self.list_google_ads_links,
|
|
222
|
+
default_timeout=None,
|
|
223
|
+
client_info=client_info,
|
|
224
|
+
),
|
|
225
|
+
self.get_data_sharing_settings: gapic_v1.method.wrap_method(
|
|
226
|
+
self.get_data_sharing_settings,
|
|
227
|
+
default_timeout=None,
|
|
228
|
+
client_info=client_info,
|
|
229
|
+
),
|
|
230
|
+
self.get_measurement_protocol_secret: gapic_v1.method.wrap_method(
|
|
231
|
+
self.get_measurement_protocol_secret,
|
|
232
|
+
default_timeout=None,
|
|
233
|
+
client_info=client_info,
|
|
234
|
+
),
|
|
235
|
+
self.list_measurement_protocol_secrets: gapic_v1.method.wrap_method(
|
|
236
|
+
self.list_measurement_protocol_secrets,
|
|
237
|
+
default_timeout=None,
|
|
238
|
+
client_info=client_info,
|
|
239
|
+
),
|
|
240
|
+
self.create_measurement_protocol_secret: gapic_v1.method.wrap_method(
|
|
241
|
+
self.create_measurement_protocol_secret,
|
|
242
|
+
default_timeout=None,
|
|
243
|
+
client_info=client_info,
|
|
244
|
+
),
|
|
245
|
+
self.delete_measurement_protocol_secret: gapic_v1.method.wrap_method(
|
|
246
|
+
self.delete_measurement_protocol_secret,
|
|
247
|
+
default_timeout=None,
|
|
248
|
+
client_info=client_info,
|
|
249
|
+
),
|
|
250
|
+
self.update_measurement_protocol_secret: gapic_v1.method.wrap_method(
|
|
251
|
+
self.update_measurement_protocol_secret,
|
|
252
|
+
default_timeout=None,
|
|
253
|
+
client_info=client_info,
|
|
254
|
+
),
|
|
255
|
+
self.acknowledge_user_data_collection: gapic_v1.method.wrap_method(
|
|
256
|
+
self.acknowledge_user_data_collection,
|
|
257
|
+
default_timeout=None,
|
|
258
|
+
client_info=client_info,
|
|
259
|
+
),
|
|
260
|
+
self.search_change_history_events: gapic_v1.method.wrap_method(
|
|
261
|
+
self.search_change_history_events,
|
|
262
|
+
default_timeout=None,
|
|
263
|
+
client_info=client_info,
|
|
264
|
+
),
|
|
265
|
+
self.create_conversion_event: gapic_v1.method.wrap_method(
|
|
266
|
+
self.create_conversion_event,
|
|
267
|
+
default_timeout=None,
|
|
268
|
+
client_info=client_info,
|
|
269
|
+
),
|
|
270
|
+
self.update_conversion_event: gapic_v1.method.wrap_method(
|
|
271
|
+
self.update_conversion_event,
|
|
272
|
+
default_timeout=None,
|
|
273
|
+
client_info=client_info,
|
|
274
|
+
),
|
|
275
|
+
self.get_conversion_event: gapic_v1.method.wrap_method(
|
|
276
|
+
self.get_conversion_event,
|
|
277
|
+
default_timeout=None,
|
|
278
|
+
client_info=client_info,
|
|
279
|
+
),
|
|
280
|
+
self.delete_conversion_event: gapic_v1.method.wrap_method(
|
|
281
|
+
self.delete_conversion_event,
|
|
282
|
+
default_timeout=None,
|
|
283
|
+
client_info=client_info,
|
|
284
|
+
),
|
|
285
|
+
self.list_conversion_events: gapic_v1.method.wrap_method(
|
|
286
|
+
self.list_conversion_events,
|
|
287
|
+
default_timeout=None,
|
|
288
|
+
client_info=client_info,
|
|
289
|
+
),
|
|
290
|
+
self.create_key_event: gapic_v1.method.wrap_method(
|
|
291
|
+
self.create_key_event,
|
|
292
|
+
default_timeout=None,
|
|
293
|
+
client_info=client_info,
|
|
294
|
+
),
|
|
295
|
+
self.update_key_event: gapic_v1.method.wrap_method(
|
|
296
|
+
self.update_key_event,
|
|
297
|
+
default_timeout=None,
|
|
298
|
+
client_info=client_info,
|
|
299
|
+
),
|
|
300
|
+
self.get_key_event: gapic_v1.method.wrap_method(
|
|
301
|
+
self.get_key_event,
|
|
302
|
+
default_timeout=None,
|
|
303
|
+
client_info=client_info,
|
|
304
|
+
),
|
|
305
|
+
self.delete_key_event: gapic_v1.method.wrap_method(
|
|
306
|
+
self.delete_key_event,
|
|
307
|
+
default_timeout=None,
|
|
308
|
+
client_info=client_info,
|
|
309
|
+
),
|
|
310
|
+
self.list_key_events: gapic_v1.method.wrap_method(
|
|
311
|
+
self.list_key_events,
|
|
312
|
+
default_timeout=None,
|
|
313
|
+
client_info=client_info,
|
|
314
|
+
),
|
|
315
|
+
self.create_custom_dimension: gapic_v1.method.wrap_method(
|
|
316
|
+
self.create_custom_dimension,
|
|
317
|
+
default_timeout=None,
|
|
318
|
+
client_info=client_info,
|
|
319
|
+
),
|
|
320
|
+
self.update_custom_dimension: gapic_v1.method.wrap_method(
|
|
321
|
+
self.update_custom_dimension,
|
|
322
|
+
default_timeout=None,
|
|
323
|
+
client_info=client_info,
|
|
324
|
+
),
|
|
325
|
+
self.list_custom_dimensions: gapic_v1.method.wrap_method(
|
|
326
|
+
self.list_custom_dimensions,
|
|
327
|
+
default_timeout=None,
|
|
328
|
+
client_info=client_info,
|
|
329
|
+
),
|
|
330
|
+
self.archive_custom_dimension: gapic_v1.method.wrap_method(
|
|
331
|
+
self.archive_custom_dimension,
|
|
332
|
+
default_timeout=None,
|
|
333
|
+
client_info=client_info,
|
|
334
|
+
),
|
|
335
|
+
self.get_custom_dimension: gapic_v1.method.wrap_method(
|
|
336
|
+
self.get_custom_dimension,
|
|
337
|
+
default_timeout=None,
|
|
338
|
+
client_info=client_info,
|
|
339
|
+
),
|
|
340
|
+
self.create_custom_metric: gapic_v1.method.wrap_method(
|
|
341
|
+
self.create_custom_metric,
|
|
342
|
+
default_timeout=None,
|
|
343
|
+
client_info=client_info,
|
|
344
|
+
),
|
|
345
|
+
self.update_custom_metric: gapic_v1.method.wrap_method(
|
|
346
|
+
self.update_custom_metric,
|
|
347
|
+
default_timeout=None,
|
|
348
|
+
client_info=client_info,
|
|
349
|
+
),
|
|
350
|
+
self.list_custom_metrics: gapic_v1.method.wrap_method(
|
|
351
|
+
self.list_custom_metrics,
|
|
352
|
+
default_timeout=None,
|
|
353
|
+
client_info=client_info,
|
|
354
|
+
),
|
|
355
|
+
self.archive_custom_metric: gapic_v1.method.wrap_method(
|
|
356
|
+
self.archive_custom_metric,
|
|
357
|
+
default_timeout=None,
|
|
358
|
+
client_info=client_info,
|
|
359
|
+
),
|
|
360
|
+
self.get_custom_metric: gapic_v1.method.wrap_method(
|
|
361
|
+
self.get_custom_metric,
|
|
362
|
+
default_timeout=None,
|
|
363
|
+
client_info=client_info,
|
|
364
|
+
),
|
|
365
|
+
self.get_data_retention_settings: gapic_v1.method.wrap_method(
|
|
366
|
+
self.get_data_retention_settings,
|
|
367
|
+
default_timeout=None,
|
|
368
|
+
client_info=client_info,
|
|
369
|
+
),
|
|
370
|
+
self.update_data_retention_settings: gapic_v1.method.wrap_method(
|
|
371
|
+
self.update_data_retention_settings,
|
|
372
|
+
default_timeout=None,
|
|
373
|
+
client_info=client_info,
|
|
374
|
+
),
|
|
375
|
+
self.create_data_stream: gapic_v1.method.wrap_method(
|
|
376
|
+
self.create_data_stream,
|
|
377
|
+
default_timeout=None,
|
|
378
|
+
client_info=client_info,
|
|
379
|
+
),
|
|
380
|
+
self.delete_data_stream: gapic_v1.method.wrap_method(
|
|
381
|
+
self.delete_data_stream,
|
|
382
|
+
default_timeout=None,
|
|
383
|
+
client_info=client_info,
|
|
384
|
+
),
|
|
385
|
+
self.update_data_stream: gapic_v1.method.wrap_method(
|
|
386
|
+
self.update_data_stream,
|
|
387
|
+
default_timeout=None,
|
|
388
|
+
client_info=client_info,
|
|
389
|
+
),
|
|
390
|
+
self.list_data_streams: gapic_v1.method.wrap_method(
|
|
391
|
+
self.list_data_streams,
|
|
392
|
+
default_timeout=None,
|
|
393
|
+
client_info=client_info,
|
|
394
|
+
),
|
|
395
|
+
self.get_data_stream: gapic_v1.method.wrap_method(
|
|
396
|
+
self.get_data_stream,
|
|
397
|
+
default_timeout=None,
|
|
398
|
+
client_info=client_info,
|
|
399
|
+
),
|
|
400
|
+
self.run_access_report: gapic_v1.method.wrap_method(
|
|
401
|
+
self.run_access_report,
|
|
402
|
+
default_timeout=None,
|
|
403
|
+
client_info=client_info,
|
|
404
|
+
),
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
def close(self):
|
|
408
|
+
"""Closes resources associated with the transport.
|
|
409
|
+
|
|
410
|
+
.. warning::
|
|
411
|
+
Only call this method if the transport is NOT shared
|
|
412
|
+
with other clients - this may cause errors in other clients!
|
|
413
|
+
"""
|
|
414
|
+
raise NotImplementedError()
|
|
415
|
+
|
|
416
|
+
@property
|
|
417
|
+
def get_account(
|
|
418
|
+
self,
|
|
419
|
+
) -> Callable[
|
|
420
|
+
[analytics_admin.GetAccountRequest],
|
|
421
|
+
Union[resources.Account, Awaitable[resources.Account]],
|
|
422
|
+
]:
|
|
423
|
+
raise NotImplementedError()
|
|
424
|
+
|
|
425
|
+
@property
|
|
426
|
+
def list_accounts(
|
|
427
|
+
self,
|
|
428
|
+
) -> Callable[
|
|
429
|
+
[analytics_admin.ListAccountsRequest],
|
|
430
|
+
Union[
|
|
431
|
+
analytics_admin.ListAccountsResponse,
|
|
432
|
+
Awaitable[analytics_admin.ListAccountsResponse],
|
|
433
|
+
],
|
|
434
|
+
]:
|
|
435
|
+
raise NotImplementedError()
|
|
436
|
+
|
|
437
|
+
@property
|
|
438
|
+
def delete_account(
|
|
439
|
+
self,
|
|
440
|
+
) -> Callable[
|
|
441
|
+
[analytics_admin.DeleteAccountRequest],
|
|
442
|
+
Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
|
|
443
|
+
]:
|
|
444
|
+
raise NotImplementedError()
|
|
445
|
+
|
|
446
|
+
@property
|
|
447
|
+
def update_account(
|
|
448
|
+
self,
|
|
449
|
+
) -> Callable[
|
|
450
|
+
[analytics_admin.UpdateAccountRequest],
|
|
451
|
+
Union[resources.Account, Awaitable[resources.Account]],
|
|
452
|
+
]:
|
|
453
|
+
raise NotImplementedError()
|
|
454
|
+
|
|
455
|
+
@property
|
|
456
|
+
def provision_account_ticket(
|
|
457
|
+
self,
|
|
458
|
+
) -> Callable[
|
|
459
|
+
[analytics_admin.ProvisionAccountTicketRequest],
|
|
460
|
+
Union[
|
|
461
|
+
analytics_admin.ProvisionAccountTicketResponse,
|
|
462
|
+
Awaitable[analytics_admin.ProvisionAccountTicketResponse],
|
|
463
|
+
],
|
|
464
|
+
]:
|
|
465
|
+
raise NotImplementedError()
|
|
466
|
+
|
|
467
|
+
@property
|
|
468
|
+
def list_account_summaries(
|
|
469
|
+
self,
|
|
470
|
+
) -> Callable[
|
|
471
|
+
[analytics_admin.ListAccountSummariesRequest],
|
|
472
|
+
Union[
|
|
473
|
+
analytics_admin.ListAccountSummariesResponse,
|
|
474
|
+
Awaitable[analytics_admin.ListAccountSummariesResponse],
|
|
475
|
+
],
|
|
476
|
+
]:
|
|
477
|
+
raise NotImplementedError()
|
|
478
|
+
|
|
479
|
+
@property
|
|
480
|
+
def get_property(
|
|
481
|
+
self,
|
|
482
|
+
) -> Callable[
|
|
483
|
+
[analytics_admin.GetPropertyRequest],
|
|
484
|
+
Union[resources.Property, Awaitable[resources.Property]],
|
|
485
|
+
]:
|
|
486
|
+
raise NotImplementedError()
|
|
487
|
+
|
|
488
|
+
@property
|
|
489
|
+
def list_properties(
|
|
490
|
+
self,
|
|
491
|
+
) -> Callable[
|
|
492
|
+
[analytics_admin.ListPropertiesRequest],
|
|
493
|
+
Union[
|
|
494
|
+
analytics_admin.ListPropertiesResponse,
|
|
495
|
+
Awaitable[analytics_admin.ListPropertiesResponse],
|
|
496
|
+
],
|
|
497
|
+
]:
|
|
498
|
+
raise NotImplementedError()
|
|
499
|
+
|
|
500
|
+
@property
|
|
501
|
+
def create_property(
|
|
502
|
+
self,
|
|
503
|
+
) -> Callable[
|
|
504
|
+
[analytics_admin.CreatePropertyRequest],
|
|
505
|
+
Union[resources.Property, Awaitable[resources.Property]],
|
|
506
|
+
]:
|
|
507
|
+
raise NotImplementedError()
|
|
508
|
+
|
|
509
|
+
@property
|
|
510
|
+
def delete_property(
|
|
511
|
+
self,
|
|
512
|
+
) -> Callable[
|
|
513
|
+
[analytics_admin.DeletePropertyRequest],
|
|
514
|
+
Union[resources.Property, Awaitable[resources.Property]],
|
|
515
|
+
]:
|
|
516
|
+
raise NotImplementedError()
|
|
517
|
+
|
|
518
|
+
@property
|
|
519
|
+
def update_property(
|
|
520
|
+
self,
|
|
521
|
+
) -> Callable[
|
|
522
|
+
[analytics_admin.UpdatePropertyRequest],
|
|
523
|
+
Union[resources.Property, Awaitable[resources.Property]],
|
|
524
|
+
]:
|
|
525
|
+
raise NotImplementedError()
|
|
526
|
+
|
|
527
|
+
@property
|
|
528
|
+
def create_firebase_link(
|
|
529
|
+
self,
|
|
530
|
+
) -> Callable[
|
|
531
|
+
[analytics_admin.CreateFirebaseLinkRequest],
|
|
532
|
+
Union[resources.FirebaseLink, Awaitable[resources.FirebaseLink]],
|
|
533
|
+
]:
|
|
534
|
+
raise NotImplementedError()
|
|
535
|
+
|
|
536
|
+
@property
|
|
537
|
+
def delete_firebase_link(
|
|
538
|
+
self,
|
|
539
|
+
) -> Callable[
|
|
540
|
+
[analytics_admin.DeleteFirebaseLinkRequest],
|
|
541
|
+
Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
|
|
542
|
+
]:
|
|
543
|
+
raise NotImplementedError()
|
|
544
|
+
|
|
545
|
+
@property
|
|
546
|
+
def list_firebase_links(
|
|
547
|
+
self,
|
|
548
|
+
) -> Callable[
|
|
549
|
+
[analytics_admin.ListFirebaseLinksRequest],
|
|
550
|
+
Union[
|
|
551
|
+
analytics_admin.ListFirebaseLinksResponse,
|
|
552
|
+
Awaitable[analytics_admin.ListFirebaseLinksResponse],
|
|
553
|
+
],
|
|
554
|
+
]:
|
|
555
|
+
raise NotImplementedError()
|
|
556
|
+
|
|
557
|
+
@property
|
|
558
|
+
def create_google_ads_link(
|
|
559
|
+
self,
|
|
560
|
+
) -> Callable[
|
|
561
|
+
[analytics_admin.CreateGoogleAdsLinkRequest],
|
|
562
|
+
Union[resources.GoogleAdsLink, Awaitable[resources.GoogleAdsLink]],
|
|
563
|
+
]:
|
|
564
|
+
raise NotImplementedError()
|
|
565
|
+
|
|
566
|
+
@property
|
|
567
|
+
def update_google_ads_link(
|
|
568
|
+
self,
|
|
569
|
+
) -> Callable[
|
|
570
|
+
[analytics_admin.UpdateGoogleAdsLinkRequest],
|
|
571
|
+
Union[resources.GoogleAdsLink, Awaitable[resources.GoogleAdsLink]],
|
|
572
|
+
]:
|
|
573
|
+
raise NotImplementedError()
|
|
574
|
+
|
|
575
|
+
@property
|
|
576
|
+
def delete_google_ads_link(
|
|
577
|
+
self,
|
|
578
|
+
) -> Callable[
|
|
579
|
+
[analytics_admin.DeleteGoogleAdsLinkRequest],
|
|
580
|
+
Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
|
|
581
|
+
]:
|
|
582
|
+
raise NotImplementedError()
|
|
583
|
+
|
|
584
|
+
@property
|
|
585
|
+
def list_google_ads_links(
|
|
586
|
+
self,
|
|
587
|
+
) -> Callable[
|
|
588
|
+
[analytics_admin.ListGoogleAdsLinksRequest],
|
|
589
|
+
Union[
|
|
590
|
+
analytics_admin.ListGoogleAdsLinksResponse,
|
|
591
|
+
Awaitable[analytics_admin.ListGoogleAdsLinksResponse],
|
|
592
|
+
],
|
|
593
|
+
]:
|
|
594
|
+
raise NotImplementedError()
|
|
595
|
+
|
|
596
|
+
@property
|
|
597
|
+
def get_data_sharing_settings(
|
|
598
|
+
self,
|
|
599
|
+
) -> Callable[
|
|
600
|
+
[analytics_admin.GetDataSharingSettingsRequest],
|
|
601
|
+
Union[resources.DataSharingSettings, Awaitable[resources.DataSharingSettings]],
|
|
602
|
+
]:
|
|
603
|
+
raise NotImplementedError()
|
|
604
|
+
|
|
605
|
+
@property
|
|
606
|
+
def get_measurement_protocol_secret(
|
|
607
|
+
self,
|
|
608
|
+
) -> Callable[
|
|
609
|
+
[analytics_admin.GetMeasurementProtocolSecretRequest],
|
|
610
|
+
Union[
|
|
611
|
+
resources.MeasurementProtocolSecret,
|
|
612
|
+
Awaitable[resources.MeasurementProtocolSecret],
|
|
613
|
+
],
|
|
614
|
+
]:
|
|
615
|
+
raise NotImplementedError()
|
|
616
|
+
|
|
617
|
+
@property
|
|
618
|
+
def list_measurement_protocol_secrets(
|
|
619
|
+
self,
|
|
620
|
+
) -> Callable[
|
|
621
|
+
[analytics_admin.ListMeasurementProtocolSecretsRequest],
|
|
622
|
+
Union[
|
|
623
|
+
analytics_admin.ListMeasurementProtocolSecretsResponse,
|
|
624
|
+
Awaitable[analytics_admin.ListMeasurementProtocolSecretsResponse],
|
|
625
|
+
],
|
|
626
|
+
]:
|
|
627
|
+
raise NotImplementedError()
|
|
628
|
+
|
|
629
|
+
@property
|
|
630
|
+
def create_measurement_protocol_secret(
|
|
631
|
+
self,
|
|
632
|
+
) -> Callable[
|
|
633
|
+
[analytics_admin.CreateMeasurementProtocolSecretRequest],
|
|
634
|
+
Union[
|
|
635
|
+
resources.MeasurementProtocolSecret,
|
|
636
|
+
Awaitable[resources.MeasurementProtocolSecret],
|
|
637
|
+
],
|
|
638
|
+
]:
|
|
639
|
+
raise NotImplementedError()
|
|
640
|
+
|
|
641
|
+
@property
|
|
642
|
+
def delete_measurement_protocol_secret(
|
|
643
|
+
self,
|
|
644
|
+
) -> Callable[
|
|
645
|
+
[analytics_admin.DeleteMeasurementProtocolSecretRequest],
|
|
646
|
+
Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
|
|
647
|
+
]:
|
|
648
|
+
raise NotImplementedError()
|
|
649
|
+
|
|
650
|
+
@property
|
|
651
|
+
def update_measurement_protocol_secret(
|
|
652
|
+
self,
|
|
653
|
+
) -> Callable[
|
|
654
|
+
[analytics_admin.UpdateMeasurementProtocolSecretRequest],
|
|
655
|
+
Union[
|
|
656
|
+
resources.MeasurementProtocolSecret,
|
|
657
|
+
Awaitable[resources.MeasurementProtocolSecret],
|
|
658
|
+
],
|
|
659
|
+
]:
|
|
660
|
+
raise NotImplementedError()
|
|
661
|
+
|
|
662
|
+
@property
|
|
663
|
+
def acknowledge_user_data_collection(
|
|
664
|
+
self,
|
|
665
|
+
) -> Callable[
|
|
666
|
+
[analytics_admin.AcknowledgeUserDataCollectionRequest],
|
|
667
|
+
Union[
|
|
668
|
+
analytics_admin.AcknowledgeUserDataCollectionResponse,
|
|
669
|
+
Awaitable[analytics_admin.AcknowledgeUserDataCollectionResponse],
|
|
670
|
+
],
|
|
671
|
+
]:
|
|
672
|
+
raise NotImplementedError()
|
|
673
|
+
|
|
674
|
+
@property
|
|
675
|
+
def search_change_history_events(
|
|
676
|
+
self,
|
|
677
|
+
) -> Callable[
|
|
678
|
+
[analytics_admin.SearchChangeHistoryEventsRequest],
|
|
679
|
+
Union[
|
|
680
|
+
analytics_admin.SearchChangeHistoryEventsResponse,
|
|
681
|
+
Awaitable[analytics_admin.SearchChangeHistoryEventsResponse],
|
|
682
|
+
],
|
|
683
|
+
]:
|
|
684
|
+
raise NotImplementedError()
|
|
685
|
+
|
|
686
|
+
@property
|
|
687
|
+
def create_conversion_event(
|
|
688
|
+
self,
|
|
689
|
+
) -> Callable[
|
|
690
|
+
[analytics_admin.CreateConversionEventRequest],
|
|
691
|
+
Union[resources.ConversionEvent, Awaitable[resources.ConversionEvent]],
|
|
692
|
+
]:
|
|
693
|
+
raise NotImplementedError()
|
|
694
|
+
|
|
695
|
+
@property
|
|
696
|
+
def update_conversion_event(
|
|
697
|
+
self,
|
|
698
|
+
) -> Callable[
|
|
699
|
+
[analytics_admin.UpdateConversionEventRequest],
|
|
700
|
+
Union[resources.ConversionEvent, Awaitable[resources.ConversionEvent]],
|
|
701
|
+
]:
|
|
702
|
+
raise NotImplementedError()
|
|
703
|
+
|
|
704
|
+
@property
|
|
705
|
+
def get_conversion_event(
|
|
706
|
+
self,
|
|
707
|
+
) -> Callable[
|
|
708
|
+
[analytics_admin.GetConversionEventRequest],
|
|
709
|
+
Union[resources.ConversionEvent, Awaitable[resources.ConversionEvent]],
|
|
710
|
+
]:
|
|
711
|
+
raise NotImplementedError()
|
|
712
|
+
|
|
713
|
+
@property
|
|
714
|
+
def delete_conversion_event(
|
|
715
|
+
self,
|
|
716
|
+
) -> Callable[
|
|
717
|
+
[analytics_admin.DeleteConversionEventRequest],
|
|
718
|
+
Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
|
|
719
|
+
]:
|
|
720
|
+
raise NotImplementedError()
|
|
721
|
+
|
|
722
|
+
@property
|
|
723
|
+
def list_conversion_events(
|
|
724
|
+
self,
|
|
725
|
+
) -> Callable[
|
|
726
|
+
[analytics_admin.ListConversionEventsRequest],
|
|
727
|
+
Union[
|
|
728
|
+
analytics_admin.ListConversionEventsResponse,
|
|
729
|
+
Awaitable[analytics_admin.ListConversionEventsResponse],
|
|
730
|
+
],
|
|
731
|
+
]:
|
|
732
|
+
raise NotImplementedError()
|
|
733
|
+
|
|
734
|
+
@property
|
|
735
|
+
def create_key_event(
|
|
736
|
+
self,
|
|
737
|
+
) -> Callable[
|
|
738
|
+
[analytics_admin.CreateKeyEventRequest],
|
|
739
|
+
Union[resources.KeyEvent, Awaitable[resources.KeyEvent]],
|
|
740
|
+
]:
|
|
741
|
+
raise NotImplementedError()
|
|
742
|
+
|
|
743
|
+
@property
|
|
744
|
+
def update_key_event(
|
|
745
|
+
self,
|
|
746
|
+
) -> Callable[
|
|
747
|
+
[analytics_admin.UpdateKeyEventRequest],
|
|
748
|
+
Union[resources.KeyEvent, Awaitable[resources.KeyEvent]],
|
|
749
|
+
]:
|
|
750
|
+
raise NotImplementedError()
|
|
751
|
+
|
|
752
|
+
@property
|
|
753
|
+
def get_key_event(
|
|
754
|
+
self,
|
|
755
|
+
) -> Callable[
|
|
756
|
+
[analytics_admin.GetKeyEventRequest],
|
|
757
|
+
Union[resources.KeyEvent, Awaitable[resources.KeyEvent]],
|
|
758
|
+
]:
|
|
759
|
+
raise NotImplementedError()
|
|
760
|
+
|
|
761
|
+
@property
|
|
762
|
+
def delete_key_event(
|
|
763
|
+
self,
|
|
764
|
+
) -> Callable[
|
|
765
|
+
[analytics_admin.DeleteKeyEventRequest],
|
|
766
|
+
Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
|
|
767
|
+
]:
|
|
768
|
+
raise NotImplementedError()
|
|
769
|
+
|
|
770
|
+
@property
|
|
771
|
+
def list_key_events(
|
|
772
|
+
self,
|
|
773
|
+
) -> Callable[
|
|
774
|
+
[analytics_admin.ListKeyEventsRequest],
|
|
775
|
+
Union[
|
|
776
|
+
analytics_admin.ListKeyEventsResponse,
|
|
777
|
+
Awaitable[analytics_admin.ListKeyEventsResponse],
|
|
778
|
+
],
|
|
779
|
+
]:
|
|
780
|
+
raise NotImplementedError()
|
|
781
|
+
|
|
782
|
+
@property
|
|
783
|
+
def create_custom_dimension(
|
|
784
|
+
self,
|
|
785
|
+
) -> Callable[
|
|
786
|
+
[analytics_admin.CreateCustomDimensionRequest],
|
|
787
|
+
Union[resources.CustomDimension, Awaitable[resources.CustomDimension]],
|
|
788
|
+
]:
|
|
789
|
+
raise NotImplementedError()
|
|
790
|
+
|
|
791
|
+
@property
|
|
792
|
+
def update_custom_dimension(
|
|
793
|
+
self,
|
|
794
|
+
) -> Callable[
|
|
795
|
+
[analytics_admin.UpdateCustomDimensionRequest],
|
|
796
|
+
Union[resources.CustomDimension, Awaitable[resources.CustomDimension]],
|
|
797
|
+
]:
|
|
798
|
+
raise NotImplementedError()
|
|
799
|
+
|
|
800
|
+
@property
|
|
801
|
+
def list_custom_dimensions(
|
|
802
|
+
self,
|
|
803
|
+
) -> Callable[
|
|
804
|
+
[analytics_admin.ListCustomDimensionsRequest],
|
|
805
|
+
Union[
|
|
806
|
+
analytics_admin.ListCustomDimensionsResponse,
|
|
807
|
+
Awaitable[analytics_admin.ListCustomDimensionsResponse],
|
|
808
|
+
],
|
|
809
|
+
]:
|
|
810
|
+
raise NotImplementedError()
|
|
811
|
+
|
|
812
|
+
@property
|
|
813
|
+
def archive_custom_dimension(
|
|
814
|
+
self,
|
|
815
|
+
) -> Callable[
|
|
816
|
+
[analytics_admin.ArchiveCustomDimensionRequest],
|
|
817
|
+
Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
|
|
818
|
+
]:
|
|
819
|
+
raise NotImplementedError()
|
|
820
|
+
|
|
821
|
+
@property
|
|
822
|
+
def get_custom_dimension(
|
|
823
|
+
self,
|
|
824
|
+
) -> Callable[
|
|
825
|
+
[analytics_admin.GetCustomDimensionRequest],
|
|
826
|
+
Union[resources.CustomDimension, Awaitable[resources.CustomDimension]],
|
|
827
|
+
]:
|
|
828
|
+
raise NotImplementedError()
|
|
829
|
+
|
|
830
|
+
@property
|
|
831
|
+
def create_custom_metric(
|
|
832
|
+
self,
|
|
833
|
+
) -> Callable[
|
|
834
|
+
[analytics_admin.CreateCustomMetricRequest],
|
|
835
|
+
Union[resources.CustomMetric, Awaitable[resources.CustomMetric]],
|
|
836
|
+
]:
|
|
837
|
+
raise NotImplementedError()
|
|
838
|
+
|
|
839
|
+
@property
|
|
840
|
+
def update_custom_metric(
|
|
841
|
+
self,
|
|
842
|
+
) -> Callable[
|
|
843
|
+
[analytics_admin.UpdateCustomMetricRequest],
|
|
844
|
+
Union[resources.CustomMetric, Awaitable[resources.CustomMetric]],
|
|
845
|
+
]:
|
|
846
|
+
raise NotImplementedError()
|
|
847
|
+
|
|
848
|
+
@property
|
|
849
|
+
def list_custom_metrics(
|
|
850
|
+
self,
|
|
851
|
+
) -> Callable[
|
|
852
|
+
[analytics_admin.ListCustomMetricsRequest],
|
|
853
|
+
Union[
|
|
854
|
+
analytics_admin.ListCustomMetricsResponse,
|
|
855
|
+
Awaitable[analytics_admin.ListCustomMetricsResponse],
|
|
856
|
+
],
|
|
857
|
+
]:
|
|
858
|
+
raise NotImplementedError()
|
|
859
|
+
|
|
860
|
+
@property
|
|
861
|
+
def archive_custom_metric(
|
|
862
|
+
self,
|
|
863
|
+
) -> Callable[
|
|
864
|
+
[analytics_admin.ArchiveCustomMetricRequest],
|
|
865
|
+
Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
|
|
866
|
+
]:
|
|
867
|
+
raise NotImplementedError()
|
|
868
|
+
|
|
869
|
+
@property
|
|
870
|
+
def get_custom_metric(
|
|
871
|
+
self,
|
|
872
|
+
) -> Callable[
|
|
873
|
+
[analytics_admin.GetCustomMetricRequest],
|
|
874
|
+
Union[resources.CustomMetric, Awaitable[resources.CustomMetric]],
|
|
875
|
+
]:
|
|
876
|
+
raise NotImplementedError()
|
|
877
|
+
|
|
878
|
+
@property
|
|
879
|
+
def get_data_retention_settings(
|
|
880
|
+
self,
|
|
881
|
+
) -> Callable[
|
|
882
|
+
[analytics_admin.GetDataRetentionSettingsRequest],
|
|
883
|
+
Union[
|
|
884
|
+
resources.DataRetentionSettings, Awaitable[resources.DataRetentionSettings]
|
|
885
|
+
],
|
|
886
|
+
]:
|
|
887
|
+
raise NotImplementedError()
|
|
888
|
+
|
|
889
|
+
@property
|
|
890
|
+
def update_data_retention_settings(
|
|
891
|
+
self,
|
|
892
|
+
) -> Callable[
|
|
893
|
+
[analytics_admin.UpdateDataRetentionSettingsRequest],
|
|
894
|
+
Union[
|
|
895
|
+
resources.DataRetentionSettings, Awaitable[resources.DataRetentionSettings]
|
|
896
|
+
],
|
|
897
|
+
]:
|
|
898
|
+
raise NotImplementedError()
|
|
899
|
+
|
|
900
|
+
@property
|
|
901
|
+
def create_data_stream(
|
|
902
|
+
self,
|
|
903
|
+
) -> Callable[
|
|
904
|
+
[analytics_admin.CreateDataStreamRequest],
|
|
905
|
+
Union[resources.DataStream, Awaitable[resources.DataStream]],
|
|
906
|
+
]:
|
|
907
|
+
raise NotImplementedError()
|
|
908
|
+
|
|
909
|
+
@property
|
|
910
|
+
def delete_data_stream(
|
|
911
|
+
self,
|
|
912
|
+
) -> Callable[
|
|
913
|
+
[analytics_admin.DeleteDataStreamRequest],
|
|
914
|
+
Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
|
|
915
|
+
]:
|
|
916
|
+
raise NotImplementedError()
|
|
917
|
+
|
|
918
|
+
@property
|
|
919
|
+
def update_data_stream(
|
|
920
|
+
self,
|
|
921
|
+
) -> Callable[
|
|
922
|
+
[analytics_admin.UpdateDataStreamRequest],
|
|
923
|
+
Union[resources.DataStream, Awaitable[resources.DataStream]],
|
|
924
|
+
]:
|
|
925
|
+
raise NotImplementedError()
|
|
926
|
+
|
|
927
|
+
@property
|
|
928
|
+
def list_data_streams(
|
|
929
|
+
self,
|
|
930
|
+
) -> Callable[
|
|
931
|
+
[analytics_admin.ListDataStreamsRequest],
|
|
932
|
+
Union[
|
|
933
|
+
analytics_admin.ListDataStreamsResponse,
|
|
934
|
+
Awaitable[analytics_admin.ListDataStreamsResponse],
|
|
935
|
+
],
|
|
936
|
+
]:
|
|
937
|
+
raise NotImplementedError()
|
|
938
|
+
|
|
939
|
+
@property
|
|
940
|
+
def get_data_stream(
|
|
941
|
+
self,
|
|
942
|
+
) -> Callable[
|
|
943
|
+
[analytics_admin.GetDataStreamRequest],
|
|
944
|
+
Union[resources.DataStream, Awaitable[resources.DataStream]],
|
|
945
|
+
]:
|
|
946
|
+
raise NotImplementedError()
|
|
947
|
+
|
|
948
|
+
@property
|
|
949
|
+
def run_access_report(
|
|
950
|
+
self,
|
|
951
|
+
) -> Callable[
|
|
952
|
+
[analytics_admin.RunAccessReportRequest],
|
|
953
|
+
Union[
|
|
954
|
+
analytics_admin.RunAccessReportResponse,
|
|
955
|
+
Awaitable[analytics_admin.RunAccessReportResponse],
|
|
956
|
+
],
|
|
957
|
+
]:
|
|
958
|
+
raise NotImplementedError()
|
|
959
|
+
|
|
960
|
+
@property
|
|
961
|
+
def kind(self) -> str:
|
|
962
|
+
raise NotImplementedError()
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
__all__ = ("AnalyticsAdminServiceTransport",)
|