google-analytics-admin 0.28.0__tar.gz → 0.30.0__tar.gz
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-0.28.0 → google_analytics_admin-0.30.0}/MANIFEST.in +1 -1
- {google_analytics_admin-0.28.0/google_analytics_admin.egg-info → google_analytics_admin-0.30.0}/PKG-INFO +23 -17
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/README.rst +18 -11
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin/__init__.py +5 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin/gapic_version.py +2 -2
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/__init__.py +8 -21
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/gapic_metadata.json +15 -0
- {google_analytics_admin-0.28.0/google/analytics/admin_v1beta → google_analytics_admin-0.30.0/google/analytics/admin_v1alpha}/gapic_version.py +2 -2
- {google_analytics_admin-0.28.0/google/analytics/admin_v1beta → google_analytics_admin-0.30.0/google/analytics/admin_v1alpha}/services/__init__.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/services/analytics_admin_service/__init__.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/services/analytics_admin_service/async_client.py +100 -3
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/services/analytics_admin_service/client.py +108 -3
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/services/analytics_admin_service/pagers.py +1 -1
- {google_analytics_admin-0.28.0/google/analytics/admin_v1beta → google_analytics_admin-0.30.0/google/analytics/admin_v1alpha}/services/analytics_admin_service/transports/__init__.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/services/analytics_admin_service/transports/base.py +18 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/services/analytics_admin_service/transports/grpc.py +36 -3
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/services/analytics_admin_service/transports/grpc_asyncio.py +41 -3
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/services/analytics_admin_service/transports/rest.py +229 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/services/analytics_admin_service/transports/rest_base.py +48 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/types/__init__.py +5 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/types/access_report.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/types/analytics_admin.py +80 -63
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/types/audience.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/types/channel_group.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/types/event_create_and_edit.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/types/expanded_data_set.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/types/resources.py +71 -22
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/types/subproperty_event_filter.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/__init__.py +4 -21
- {google_analytics_admin-0.28.0/google/analytics/admin_v1alpha → google_analytics_admin-0.30.0/google/analytics/admin_v1beta}/gapic_version.py +2 -2
- {google_analytics_admin-0.28.0/tests → google_analytics_admin-0.30.0/google/analytics/admin_v1beta/services}/__init__.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/services/analytics_admin_service/__init__.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/services/analytics_admin_service/async_client.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/services/analytics_admin_service/client.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/services/analytics_admin_service/pagers.py +1 -1
- {google_analytics_admin-0.28.0/google/analytics/admin_v1alpha → google_analytics_admin-0.30.0/google/analytics/admin_v1beta}/services/analytics_admin_service/transports/__init__.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/services/analytics_admin_service/transports/base.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/services/analytics_admin_service/transports/grpc.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/services/analytics_admin_service/transports/grpc_asyncio.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/services/analytics_admin_service/transports/rest.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/services/analytics_admin_service/transports/rest_base.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/types/__init__.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/types/access_report.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/types/analytics_admin.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/types/resources.py +1 -1
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0/google_analytics_admin.egg-info}/PKG-INFO +23 -17
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google_analytics_admin.egg-info/requires.txt +2 -2
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/setup.py +5 -6
- {google_analytics_admin-0.28.0/tests/unit → google_analytics_admin-0.30.0/tests}/__init__.py +1 -1
- {google_analytics_admin-0.28.0/google/analytics/admin_v1alpha/services → google_analytics_admin-0.30.0/tests/unit}/__init__.py +1 -1
- google_analytics_admin-0.30.0/tests/unit/gapic/__init__.py +15 -0
- google_analytics_admin-0.30.0/tests/unit/gapic/admin_v1alpha/__init__.py +15 -0
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/tests/unit/gapic/admin_v1alpha/test_analytics_admin_service.py +3218 -2740
- google_analytics_admin-0.30.0/tests/unit/gapic/admin_v1beta/__init__.py +15 -0
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/tests/unit/gapic/admin_v1beta/test_analytics_admin_service.py +838 -954
- google_analytics_admin-0.28.0/tests/unit/gapic/__init__.py +0 -15
- google_analytics_admin-0.28.0/tests/unit/gapic/admin_v1alpha/__init__.py +0 -15
- google_analytics_admin-0.28.0/tests/unit/gapic/admin_v1beta/__init__.py +0 -15
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/LICENSE +0 -0
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin/py.typed +0 -0
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1alpha/py.typed +0 -0
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/gapic_metadata.json +0 -0
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin_v1beta/py.typed +0 -0
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google_analytics_admin.egg-info/SOURCES.txt +0 -0
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google_analytics_admin.egg-info/dependency_links.txt +0 -0
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google_analytics_admin.egg-info/not-zip-safe +0 -0
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google_analytics_admin.egg-info/top_level.txt +0 -0
- {google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/setup.cfg +0 -0
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: google-analytics-admin
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.30.0
|
|
4
4
|
Summary: Google Analytics Admin API client library
|
|
5
5
|
Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-analytics-admin
|
|
6
6
|
Author: Google LLC
|
|
7
7
|
Author-email: googleapis-packages@google.com
|
|
8
|
-
License: Apache
|
|
8
|
+
License: Apache-2.0
|
|
9
9
|
Platform: Posix; MacOS X; Windows
|
|
10
10
|
Classifier: Development Status :: 4 - Beta
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
13
|
Classifier: Programming Language :: Python
|
|
14
14
|
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -20,11 +19,11 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.14
|
|
21
20
|
Classifier: Operating System :: OS Independent
|
|
22
21
|
Classifier: Topic :: Internet
|
|
23
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.10
|
|
24
23
|
License-File: LICENSE
|
|
25
|
-
Requires-Dist: google-api-core[grpc]<3.0.0,>=2.
|
|
24
|
+
Requires-Dist: google-api-core[grpc]<3.0.0,>=2.17.1
|
|
26
25
|
Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
|
|
27
|
-
Requires-Dist: grpcio<2.0.0,>=1.
|
|
26
|
+
Requires-Dist: grpcio<2.0.0,>=1.59.0
|
|
28
27
|
Requires-Dist: grpcio<2.0.0,>=1.75.1; python_version >= "3.14"
|
|
29
28
|
Requires-Dist: proto-plus<2.0.0,>=1.22.3
|
|
30
29
|
Requires-Dist: proto-plus<2.0.0,>=1.25.0; python_version >= "3.13"
|
|
@@ -41,12 +40,18 @@ Dynamic: requires-dist
|
|
|
41
40
|
Dynamic: requires-python
|
|
42
41
|
Dynamic: summary
|
|
43
42
|
|
|
44
|
-
Python Client for Analytics Admin
|
|
45
|
-
|
|
43
|
+
Python Client for Google Analytics Admin
|
|
44
|
+
========================================
|
|
46
45
|
|
|
47
46
|
|preview| |pypi| |versions|
|
|
48
47
|
|
|
49
|
-
`Analytics Admin`_:
|
|
48
|
+
`Google Analytics Admin`_: Manage properties in Google Analytics. Warning: Creating multiple Customer
|
|
49
|
+
Applications, Accounts, or Projects to simulate or act as a single
|
|
50
|
+
Customer Application, Account, or Project (respectively) or to circumvent
|
|
51
|
+
Service-specific usage limits or quotas is a direct violation of Google
|
|
52
|
+
Cloud Platform Terms of Service as well as Google APIs Terms of Service.
|
|
53
|
+
These actions can result in immediate termination of your GCP project(s)
|
|
54
|
+
without any warning.
|
|
50
55
|
|
|
51
56
|
- `Client Library Documentation`_
|
|
52
57
|
- `Product Documentation`_
|
|
@@ -57,7 +62,7 @@ Python Client for Analytics Admin
|
|
|
57
62
|
:target: https://pypi.org/project/google-analytics-admin/
|
|
58
63
|
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-analytics-admin.svg
|
|
59
64
|
:target: https://pypi.org/project/google-analytics-admin/
|
|
60
|
-
..
|
|
65
|
+
.. _Google Analytics Admin: https://developers.google.com/analytics/
|
|
61
66
|
.. _Client Library Documentation: https://googleapis.dev/python/analyticsadmin/latest
|
|
62
67
|
.. _Product Documentation: https://developers.google.com/analytics/
|
|
63
68
|
|
|
@@ -68,12 +73,12 @@ In order to use this library, you first need to go through the following steps:
|
|
|
68
73
|
|
|
69
74
|
1. `Select or create a Cloud Platform project.`_
|
|
70
75
|
2. `Enable billing for your project.`_
|
|
71
|
-
3. `Enable the Analytics Admin.`_
|
|
76
|
+
3. `Enable the Google Analytics Admin.`_
|
|
72
77
|
4. `Set up Authentication.`_
|
|
73
78
|
|
|
74
79
|
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
|
|
75
80
|
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
|
|
76
|
-
.. _Enable the Analytics Admin.: https://developers.google.com/analytics/
|
|
81
|
+
.. _Enable the Google Analytics Admin.: https://developers.google.com/analytics/
|
|
77
82
|
.. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
|
|
78
83
|
|
|
79
84
|
Installation
|
|
@@ -104,14 +109,15 @@ Supported Python Versions
|
|
|
104
109
|
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
|
|
105
110
|
Python.
|
|
106
111
|
|
|
107
|
-
Python >= 3.
|
|
112
|
+
Python >= 3.10, including 3.14
|
|
108
113
|
|
|
109
114
|
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
|
|
110
115
|
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
|
|
111
116
|
|
|
112
117
|
Unsupported Python Versions
|
|
113
118
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
114
|
-
Python <= 3.
|
|
119
|
+
Python <= 3.9
|
|
120
|
+
|
|
115
121
|
|
|
116
122
|
If you are using an `end-of-life`_
|
|
117
123
|
version of Python, we recommend that you update as soon as possible to an actively supported version.
|
|
@@ -140,14 +146,14 @@ Windows
|
|
|
140
146
|
Next Steps
|
|
141
147
|
~~~~~~~~~~
|
|
142
148
|
|
|
143
|
-
- Read the `Client Library Documentation`_ for Analytics Admin
|
|
149
|
+
- Read the `Client Library Documentation`_ for Google Analytics Admin
|
|
144
150
|
to see other available methods on the client.
|
|
145
|
-
- Read the `Analytics Admin Product documentation`_ to learn
|
|
151
|
+
- Read the `Google Analytics Admin Product documentation`_ to learn
|
|
146
152
|
more about the product and see How-to Guides.
|
|
147
153
|
- View this `README`_ to see the full list of Cloud
|
|
148
154
|
APIs that we cover.
|
|
149
155
|
|
|
150
|
-
..
|
|
156
|
+
.. _Google Analytics Admin Product documentation: https://developers.google.com/analytics/
|
|
151
157
|
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
|
|
152
158
|
|
|
153
159
|
Logging
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
Python Client for Analytics Admin
|
|
2
|
-
|
|
1
|
+
Python Client for Google Analytics Admin
|
|
2
|
+
========================================
|
|
3
3
|
|
|
4
4
|
|preview| |pypi| |versions|
|
|
5
5
|
|
|
6
|
-
`Analytics Admin`_:
|
|
6
|
+
`Google Analytics Admin`_: Manage properties in Google Analytics. Warning: Creating multiple Customer
|
|
7
|
+
Applications, Accounts, or Projects to simulate or act as a single
|
|
8
|
+
Customer Application, Account, or Project (respectively) or to circumvent
|
|
9
|
+
Service-specific usage limits or quotas is a direct violation of Google
|
|
10
|
+
Cloud Platform Terms of Service as well as Google APIs Terms of Service.
|
|
11
|
+
These actions can result in immediate termination of your GCP project(s)
|
|
12
|
+
without any warning.
|
|
7
13
|
|
|
8
14
|
- `Client Library Documentation`_
|
|
9
15
|
- `Product Documentation`_
|
|
@@ -14,7 +20,7 @@ Python Client for Analytics Admin
|
|
|
14
20
|
:target: https://pypi.org/project/google-analytics-admin/
|
|
15
21
|
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-analytics-admin.svg
|
|
16
22
|
:target: https://pypi.org/project/google-analytics-admin/
|
|
17
|
-
..
|
|
23
|
+
.. _Google Analytics Admin: https://developers.google.com/analytics/
|
|
18
24
|
.. _Client Library Documentation: https://googleapis.dev/python/analyticsadmin/latest
|
|
19
25
|
.. _Product Documentation: https://developers.google.com/analytics/
|
|
20
26
|
|
|
@@ -25,12 +31,12 @@ In order to use this library, you first need to go through the following steps:
|
|
|
25
31
|
|
|
26
32
|
1. `Select or create a Cloud Platform project.`_
|
|
27
33
|
2. `Enable billing for your project.`_
|
|
28
|
-
3. `Enable the Analytics Admin.`_
|
|
34
|
+
3. `Enable the Google Analytics Admin.`_
|
|
29
35
|
4. `Set up Authentication.`_
|
|
30
36
|
|
|
31
37
|
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
|
|
32
38
|
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
|
|
33
|
-
.. _Enable the Analytics Admin.: https://developers.google.com/analytics/
|
|
39
|
+
.. _Enable the Google Analytics Admin.: https://developers.google.com/analytics/
|
|
34
40
|
.. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
|
|
35
41
|
|
|
36
42
|
Installation
|
|
@@ -61,14 +67,15 @@ Supported Python Versions
|
|
|
61
67
|
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
|
|
62
68
|
Python.
|
|
63
69
|
|
|
64
|
-
Python >= 3.
|
|
70
|
+
Python >= 3.10, including 3.14
|
|
65
71
|
|
|
66
72
|
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
|
|
67
73
|
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
|
|
68
74
|
|
|
69
75
|
Unsupported Python Versions
|
|
70
76
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
71
|
-
Python <= 3.
|
|
77
|
+
Python <= 3.9
|
|
78
|
+
|
|
72
79
|
|
|
73
80
|
If you are using an `end-of-life`_
|
|
74
81
|
version of Python, we recommend that you update as soon as possible to an actively supported version.
|
|
@@ -97,14 +104,14 @@ Windows
|
|
|
97
104
|
Next Steps
|
|
98
105
|
~~~~~~~~~~
|
|
99
106
|
|
|
100
|
-
- Read the `Client Library Documentation`_ for Analytics Admin
|
|
107
|
+
- Read the `Client Library Documentation`_ for Google Analytics Admin
|
|
101
108
|
to see other available methods on the client.
|
|
102
|
-
- Read the `Analytics Admin Product documentation`_ to learn
|
|
109
|
+
- Read the `Google Analytics Admin Product documentation`_ to learn
|
|
103
110
|
more about the product and see How-to Guides.
|
|
104
111
|
- View this `README`_ to see the full list of Cloud
|
|
105
112
|
APIs that we cover.
|
|
106
113
|
|
|
107
|
-
..
|
|
114
|
+
.. _Google Analytics Admin Product documentation: https://developers.google.com/analytics/
|
|
108
115
|
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
|
|
109
116
|
|
|
110
117
|
Logging
|
{google_analytics_admin-0.28.0 → google_analytics_admin-0.30.0}/google/analytics/admin/__init__.py
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2026 Google LLC
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -144,6 +144,7 @@ from google.analytics.admin_v1alpha.types.analytics_admin import (
|
|
|
144
144
|
GetSKAdNetworkConversionValueSchemaRequest,
|
|
145
145
|
GetSubpropertyEventFilterRequest,
|
|
146
146
|
GetSubpropertySyncConfigRequest,
|
|
147
|
+
GetUserProvidedDataSettingsRequest,
|
|
147
148
|
ListAccessBindingsRequest,
|
|
148
149
|
ListAccessBindingsResponse,
|
|
149
150
|
ListAccountsRequest,
|
|
@@ -320,6 +321,7 @@ from google.analytics.admin_v1alpha.types.resources import (
|
|
|
320
321
|
ServiceLevel,
|
|
321
322
|
SKAdNetworkConversionValueSchema,
|
|
322
323
|
SubpropertySyncConfig,
|
|
324
|
+
UserProvidedDataSettings,
|
|
323
325
|
)
|
|
324
326
|
from google.analytics.admin_v1alpha.types.subproperty_event_filter import (
|
|
325
327
|
SubpropertyEventFilter,
|
|
@@ -449,6 +451,7 @@ __all__ = (
|
|
|
449
451
|
"GetSKAdNetworkConversionValueSchemaRequest",
|
|
450
452
|
"GetSubpropertyEventFilterRequest",
|
|
451
453
|
"GetSubpropertySyncConfigRequest",
|
|
454
|
+
"GetUserProvidedDataSettingsRequest",
|
|
452
455
|
"ListAccessBindingsRequest",
|
|
453
456
|
"ListAccessBindingsResponse",
|
|
454
457
|
"ListAccountsRequest",
|
|
@@ -604,6 +607,7 @@ __all__ = (
|
|
|
604
607
|
"SearchAds360Link",
|
|
605
608
|
"SKAdNetworkConversionValueSchema",
|
|
606
609
|
"SubpropertySyncConfig",
|
|
610
|
+
"UserProvidedDataSettings",
|
|
607
611
|
"ActionType",
|
|
608
612
|
"ActorType",
|
|
609
613
|
"ChangeHistoryResourceType",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2026 Google LLC
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -13,4 +13,4 @@
|
|
|
13
13
|
# See the License for the specific language governing permissions and
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
#
|
|
16
|
-
__version__ = "0.
|
|
16
|
+
__version__ = "0.30.0" # {x-release-please-version}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2026 Google LLC
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -21,13 +21,7 @@ from google.analytics.admin_v1alpha import gapic_version as package_version
|
|
|
21
21
|
|
|
22
22
|
__version__ = package_version.__version__
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
from importlib import metadata
|
|
26
|
-
else: # pragma: NO COVER
|
|
27
|
-
# TODO(https://github.com/googleapis/python-api-core/issues/835): Remove
|
|
28
|
-
# this code path once we drop support for Python 3.7
|
|
29
|
-
import importlib_metadata as metadata
|
|
30
|
-
|
|
24
|
+
from importlib import metadata
|
|
31
25
|
|
|
32
26
|
from .services.analytics_admin_service import (
|
|
33
27
|
AnalyticsAdminServiceAsyncClient,
|
|
@@ -153,6 +147,7 @@ from .types.analytics_admin import (
|
|
|
153
147
|
GetSKAdNetworkConversionValueSchemaRequest,
|
|
154
148
|
GetSubpropertyEventFilterRequest,
|
|
155
149
|
GetSubpropertySyncConfigRequest,
|
|
150
|
+
GetUserProvidedDataSettingsRequest,
|
|
156
151
|
ListAccessBindingsRequest,
|
|
157
152
|
ListAccessBindingsResponse,
|
|
158
153
|
ListAccountsRequest,
|
|
@@ -329,6 +324,7 @@ from .types.resources import (
|
|
|
329
324
|
ServiceLevel,
|
|
330
325
|
SKAdNetworkConversionValueSchema,
|
|
331
326
|
SubpropertySyncConfig,
|
|
327
|
+
UserProvidedDataSettings,
|
|
332
328
|
)
|
|
333
329
|
from .types.subproperty_event_filter import (
|
|
334
330
|
SubpropertyEventFilter,
|
|
@@ -347,28 +343,17 @@ else: # pragma: NO COVER
|
|
|
347
343
|
# An older version of api_core is installed which does not define the
|
|
348
344
|
# functions above. We do equivalent checks manually.
|
|
349
345
|
try:
|
|
350
|
-
import sys
|
|
351
346
|
import warnings
|
|
352
347
|
|
|
353
348
|
_py_version_str = sys.version.split()[0]
|
|
354
349
|
_package_label = "google.analytics.admin_v1alpha"
|
|
355
|
-
if sys.version_info < (3,
|
|
350
|
+
if sys.version_info < (3, 10):
|
|
356
351
|
warnings.warn(
|
|
357
352
|
"You are using a non-supported Python version "
|
|
358
353
|
+ f"({_py_version_str}). Google will not post any further "
|
|
359
354
|
+ f"updates to {_package_label} supporting this Python version. "
|
|
360
355
|
+ "Please upgrade to the latest Python version, or at "
|
|
361
|
-
+ f"least to Python 3.
|
|
362
|
-
FutureWarning,
|
|
363
|
-
)
|
|
364
|
-
if sys.version_info[:2] == (3, 9):
|
|
365
|
-
warnings.warn(
|
|
366
|
-
f"You are using a Python version ({_py_version_str}) "
|
|
367
|
-
+ f"which Google will stop supporting in {_package_label} in "
|
|
368
|
-
+ "January 2026. Please "
|
|
369
|
-
+ "upgrade to the latest Python version, or at "
|
|
370
|
-
+ "least to Python 3.10, before then, and "
|
|
371
|
-
+ f"then update {_package_label}.",
|
|
356
|
+
+ f"least to Python 3.10, and then update {_package_label}.",
|
|
372
357
|
FutureWarning,
|
|
373
358
|
)
|
|
374
359
|
|
|
@@ -597,6 +582,7 @@ __all__ = (
|
|
|
597
582
|
"GetSearchAds360LinkRequest",
|
|
598
583
|
"GetSubpropertyEventFilterRequest",
|
|
599
584
|
"GetSubpropertySyncConfigRequest",
|
|
585
|
+
"GetUserProvidedDataSettingsRequest",
|
|
600
586
|
"GlobalSiteTag",
|
|
601
587
|
"GoogleAdsLink",
|
|
602
588
|
"GoogleSignalsConsent",
|
|
@@ -723,4 +709,5 @@ __all__ = (
|
|
|
723
709
|
"UpdateSearchAds360LinkRequest",
|
|
724
710
|
"UpdateSubpropertyEventFilterRequest",
|
|
725
711
|
"UpdateSubpropertySyncConfigRequest",
|
|
712
|
+
"UserProvidedDataSettings",
|
|
726
713
|
)
|
|
@@ -470,6 +470,11 @@
|
|
|
470
470
|
"get_subproperty_sync_config"
|
|
471
471
|
]
|
|
472
472
|
},
|
|
473
|
+
"GetUserProvidedDataSettings": {
|
|
474
|
+
"methods": [
|
|
475
|
+
"get_user_provided_data_settings"
|
|
476
|
+
]
|
|
477
|
+
},
|
|
473
478
|
"ListAccessBindings": {
|
|
474
479
|
"methods": [
|
|
475
480
|
"list_access_bindings"
|
|
@@ -1245,6 +1250,11 @@
|
|
|
1245
1250
|
"get_subproperty_sync_config"
|
|
1246
1251
|
]
|
|
1247
1252
|
},
|
|
1253
|
+
"GetUserProvidedDataSettings": {
|
|
1254
|
+
"methods": [
|
|
1255
|
+
"get_user_provided_data_settings"
|
|
1256
|
+
]
|
|
1257
|
+
},
|
|
1248
1258
|
"ListAccessBindings": {
|
|
1249
1259
|
"methods": [
|
|
1250
1260
|
"list_access_bindings"
|
|
@@ -2020,6 +2030,11 @@
|
|
|
2020
2030
|
"get_subproperty_sync_config"
|
|
2021
2031
|
]
|
|
2022
2032
|
},
|
|
2033
|
+
"GetUserProvidedDataSettings": {
|
|
2034
|
+
"methods": [
|
|
2035
|
+
"get_user_provided_data_settings"
|
|
2036
|
+
]
|
|
2037
|
+
},
|
|
2023
2038
|
"ListAccessBindings": {
|
|
2024
2039
|
"methods": [
|
|
2025
2040
|
"list_access_bindings"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2026 Google LLC
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -13,4 +13,4 @@
|
|
|
13
13
|
# See the License for the specific language governing permissions and
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
#
|
|
16
|
-
__version__ = "0.
|
|
16
|
+
__version__ = "0.30.0" # {x-release-please-version}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2026 Google LLC
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -288,6 +288,12 @@ class AnalyticsAdminServiceAsyncClient:
|
|
|
288
288
|
parse_subproperty_sync_config_path = staticmethod(
|
|
289
289
|
AnalyticsAdminServiceClient.parse_subproperty_sync_config_path
|
|
290
290
|
)
|
|
291
|
+
user_provided_data_settings_path = staticmethod(
|
|
292
|
+
AnalyticsAdminServiceClient.user_provided_data_settings_path
|
|
293
|
+
)
|
|
294
|
+
parse_user_provided_data_settings_path = staticmethod(
|
|
295
|
+
AnalyticsAdminServiceClient.parse_user_provided_data_settings_path
|
|
296
|
+
)
|
|
291
297
|
common_billing_account_path = staticmethod(
|
|
292
298
|
AnalyticsAdminServiceClient.common_billing_account_path
|
|
293
299
|
)
|
|
@@ -14672,8 +14678,8 @@ class AnalyticsAdminServiceAsyncClient:
|
|
|
14672
14678
|
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
|
|
14673
14679
|
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
|
|
14674
14680
|
) -> resources.ReportingIdentitySettings:
|
|
14675
|
-
r"""Returns the
|
|
14676
|
-
|
|
14681
|
+
r"""Returns the reporting identity settings for this
|
|
14682
|
+
property.
|
|
14677
14683
|
|
|
14678
14684
|
Args:
|
|
14679
14685
|
request (Optional[Union[google.analytics.admin_v1alpha.types.GetReportingIdentitySettingsRequest, dict]]):
|
|
@@ -14753,6 +14759,97 @@ class AnalyticsAdminServiceAsyncClient:
|
|
|
14753
14759
|
# Done; return the response.
|
|
14754
14760
|
return response
|
|
14755
14761
|
|
|
14762
|
+
async def get_user_provided_data_settings(
|
|
14763
|
+
self,
|
|
14764
|
+
request: Optional[
|
|
14765
|
+
Union[analytics_admin.GetUserProvidedDataSettingsRequest, dict]
|
|
14766
|
+
] = None,
|
|
14767
|
+
*,
|
|
14768
|
+
name: Optional[str] = None,
|
|
14769
|
+
retry: OptionalRetry = gapic_v1.method.DEFAULT,
|
|
14770
|
+
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
|
|
14771
|
+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
|
|
14772
|
+
) -> resources.UserProvidedDataSettings:
|
|
14773
|
+
r"""Looks up settings related to user-provided data for a
|
|
14774
|
+
property.
|
|
14775
|
+
|
|
14776
|
+
Args:
|
|
14777
|
+
request (Optional[Union[google.analytics.admin_v1alpha.types.GetUserProvidedDataSettingsRequest, dict]]):
|
|
14778
|
+
The request object. Request message for
|
|
14779
|
+
GetUserProvidedDataSettings RPC
|
|
14780
|
+
name (:class:`str`):
|
|
14781
|
+
Required. The name of the user
|
|
14782
|
+
provided data settings to retrieve.
|
|
14783
|
+
Format:
|
|
14784
|
+
properties/{property}/userProvidedDataSettings
|
|
14785
|
+
|
|
14786
|
+
This corresponds to the ``name`` field
|
|
14787
|
+
on the ``request`` instance; if ``request`` is provided, this
|
|
14788
|
+
should not be set.
|
|
14789
|
+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
|
|
14790
|
+
should be retried.
|
|
14791
|
+
timeout (float): The timeout for this request.
|
|
14792
|
+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
|
|
14793
|
+
sent along with the request as metadata. Normally, each value must be of type `str`,
|
|
14794
|
+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
|
|
14795
|
+
be of type `bytes`.
|
|
14796
|
+
|
|
14797
|
+
Returns:
|
|
14798
|
+
google.analytics.admin_v1alpha.types.UserProvidedDataSettings:
|
|
14799
|
+
Configuration for user-provided data
|
|
14800
|
+
collection. This is a singleton resource
|
|
14801
|
+
for a Google Analytics property.
|
|
14802
|
+
|
|
14803
|
+
"""
|
|
14804
|
+
# Create or coerce a protobuf request object.
|
|
14805
|
+
# - Quick check: If we got a request object, we should *not* have
|
|
14806
|
+
# gotten any keyword arguments that map to the request.
|
|
14807
|
+
flattened_params = [name]
|
|
14808
|
+
has_flattened_params = (
|
|
14809
|
+
len([param for param in flattened_params if param is not None]) > 0
|
|
14810
|
+
)
|
|
14811
|
+
if request is not None and has_flattened_params:
|
|
14812
|
+
raise ValueError(
|
|
14813
|
+
"If the `request` argument is set, then none of "
|
|
14814
|
+
"the individual field arguments should be set."
|
|
14815
|
+
)
|
|
14816
|
+
|
|
14817
|
+
# - Use the request object if provided (there's no risk of modifying the input as
|
|
14818
|
+
# there are no flattened fields), or create one.
|
|
14819
|
+
if not isinstance(request, analytics_admin.GetUserProvidedDataSettingsRequest):
|
|
14820
|
+
request = analytics_admin.GetUserProvidedDataSettingsRequest(request)
|
|
14821
|
+
|
|
14822
|
+
# If we have keyword arguments corresponding to fields on the
|
|
14823
|
+
# request, apply these.
|
|
14824
|
+
if name is not None:
|
|
14825
|
+
request.name = name
|
|
14826
|
+
|
|
14827
|
+
# Wrap the RPC method; this adds retry and timeout information,
|
|
14828
|
+
# and friendly error handling.
|
|
14829
|
+
rpc = self._client._transport._wrapped_methods[
|
|
14830
|
+
self._client._transport.get_user_provided_data_settings
|
|
14831
|
+
]
|
|
14832
|
+
|
|
14833
|
+
# Certain fields should be provided within the metadata header;
|
|
14834
|
+
# add these here.
|
|
14835
|
+
metadata = tuple(metadata) + (
|
|
14836
|
+
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)),
|
|
14837
|
+
)
|
|
14838
|
+
|
|
14839
|
+
# Validate the universe domain.
|
|
14840
|
+
self._client._validate_universe_domain()
|
|
14841
|
+
|
|
14842
|
+
# Send the request.
|
|
14843
|
+
response = await rpc(
|
|
14844
|
+
request,
|
|
14845
|
+
retry=retry,
|
|
14846
|
+
timeout=timeout,
|
|
14847
|
+
metadata=metadata,
|
|
14848
|
+
)
|
|
14849
|
+
|
|
14850
|
+
# Done; return the response.
|
|
14851
|
+
return response
|
|
14852
|
+
|
|
14756
14853
|
async def __aenter__(self) -> "AnalyticsAdminServiceAsyncClient":
|
|
14757
14854
|
return self
|
|
14758
14855
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2026 Google LLC
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -944,6 +944,21 @@ class AnalyticsAdminServiceClient(metaclass=AnalyticsAdminServiceClientMeta):
|
|
|
944
944
|
)
|
|
945
945
|
return m.groupdict() if m else {}
|
|
946
946
|
|
|
947
|
+
@staticmethod
|
|
948
|
+
def user_provided_data_settings_path(
|
|
949
|
+
property: str,
|
|
950
|
+
) -> str:
|
|
951
|
+
"""Returns a fully-qualified user_provided_data_settings string."""
|
|
952
|
+
return "properties/{property}/userProvidedDataSettings".format(
|
|
953
|
+
property=property,
|
|
954
|
+
)
|
|
955
|
+
|
|
956
|
+
@staticmethod
|
|
957
|
+
def parse_user_provided_data_settings_path(path: str) -> Dict[str, str]:
|
|
958
|
+
"""Parses a user_provided_data_settings path into its component segments."""
|
|
959
|
+
m = re.match(r"^properties/(?P<property>.+?)/userProvidedDataSettings$", path)
|
|
960
|
+
return m.groupdict() if m else {}
|
|
961
|
+
|
|
947
962
|
@staticmethod
|
|
948
963
|
def common_billing_account_path(
|
|
949
964
|
billing_account: str,
|
|
@@ -15260,8 +15275,8 @@ class AnalyticsAdminServiceClient(metaclass=AnalyticsAdminServiceClientMeta):
|
|
|
15260
15275
|
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
|
|
15261
15276
|
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
|
|
15262
15277
|
) -> resources.ReportingIdentitySettings:
|
|
15263
|
-
r"""Returns the
|
|
15264
|
-
|
|
15278
|
+
r"""Returns the reporting identity settings for this
|
|
15279
|
+
property.
|
|
15265
15280
|
|
|
15266
15281
|
Args:
|
|
15267
15282
|
request (Union[google.analytics.admin_v1alpha.types.GetReportingIdentitySettingsRequest, dict]):
|
|
@@ -15340,6 +15355,96 @@ class AnalyticsAdminServiceClient(metaclass=AnalyticsAdminServiceClientMeta):
|
|
|
15340
15355
|
# Done; return the response.
|
|
15341
15356
|
return response
|
|
15342
15357
|
|
|
15358
|
+
def get_user_provided_data_settings(
|
|
15359
|
+
self,
|
|
15360
|
+
request: Optional[
|
|
15361
|
+
Union[analytics_admin.GetUserProvidedDataSettingsRequest, dict]
|
|
15362
|
+
] = None,
|
|
15363
|
+
*,
|
|
15364
|
+
name: Optional[str] = None,
|
|
15365
|
+
retry: OptionalRetry = gapic_v1.method.DEFAULT,
|
|
15366
|
+
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
|
|
15367
|
+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
|
|
15368
|
+
) -> resources.UserProvidedDataSettings:
|
|
15369
|
+
r"""Looks up settings related to user-provided data for a
|
|
15370
|
+
property.
|
|
15371
|
+
|
|
15372
|
+
Args:
|
|
15373
|
+
request (Union[google.analytics.admin_v1alpha.types.GetUserProvidedDataSettingsRequest, dict]):
|
|
15374
|
+
The request object. Request message for
|
|
15375
|
+
GetUserProvidedDataSettings RPC
|
|
15376
|
+
name (str):
|
|
15377
|
+
Required. The name of the user
|
|
15378
|
+
provided data settings to retrieve.
|
|
15379
|
+
Format:
|
|
15380
|
+
properties/{property}/userProvidedDataSettings
|
|
15381
|
+
|
|
15382
|
+
This corresponds to the ``name`` field
|
|
15383
|
+
on the ``request`` instance; if ``request`` is provided, this
|
|
15384
|
+
should not be set.
|
|
15385
|
+
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
15386
|
+
should be retried.
|
|
15387
|
+
timeout (float): The timeout for this request.
|
|
15388
|
+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
|
|
15389
|
+
sent along with the request as metadata. Normally, each value must be of type `str`,
|
|
15390
|
+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
|
|
15391
|
+
be of type `bytes`.
|
|
15392
|
+
|
|
15393
|
+
Returns:
|
|
15394
|
+
google.analytics.admin_v1alpha.types.UserProvidedDataSettings:
|
|
15395
|
+
Configuration for user-provided data
|
|
15396
|
+
collection. This is a singleton resource
|
|
15397
|
+
for a Google Analytics property.
|
|
15398
|
+
|
|
15399
|
+
"""
|
|
15400
|
+
# Create or coerce a protobuf request object.
|
|
15401
|
+
# - Quick check: If we got a request object, we should *not* have
|
|
15402
|
+
# gotten any keyword arguments that map to the request.
|
|
15403
|
+
flattened_params = [name]
|
|
15404
|
+
has_flattened_params = (
|
|
15405
|
+
len([param for param in flattened_params if param is not None]) > 0
|
|
15406
|
+
)
|
|
15407
|
+
if request is not None and has_flattened_params:
|
|
15408
|
+
raise ValueError(
|
|
15409
|
+
"If the `request` argument is set, then none of "
|
|
15410
|
+
"the individual field arguments should be set."
|
|
15411
|
+
)
|
|
15412
|
+
|
|
15413
|
+
# - Use the request object if provided (there's no risk of modifying the input as
|
|
15414
|
+
# there are no flattened fields), or create one.
|
|
15415
|
+
if not isinstance(request, analytics_admin.GetUserProvidedDataSettingsRequest):
|
|
15416
|
+
request = analytics_admin.GetUserProvidedDataSettingsRequest(request)
|
|
15417
|
+
# If we have keyword arguments corresponding to fields on the
|
|
15418
|
+
# request, apply these.
|
|
15419
|
+
if name is not None:
|
|
15420
|
+
request.name = name
|
|
15421
|
+
|
|
15422
|
+
# Wrap the RPC method; this adds retry and timeout information,
|
|
15423
|
+
# and friendly error handling.
|
|
15424
|
+
rpc = self._transport._wrapped_methods[
|
|
15425
|
+
self._transport.get_user_provided_data_settings
|
|
15426
|
+
]
|
|
15427
|
+
|
|
15428
|
+
# Certain fields should be provided within the metadata header;
|
|
15429
|
+
# add these here.
|
|
15430
|
+
metadata = tuple(metadata) + (
|
|
15431
|
+
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)),
|
|
15432
|
+
)
|
|
15433
|
+
|
|
15434
|
+
# Validate the universe domain.
|
|
15435
|
+
self._validate_universe_domain()
|
|
15436
|
+
|
|
15437
|
+
# Send the request.
|
|
15438
|
+
response = rpc(
|
|
15439
|
+
request,
|
|
15440
|
+
retry=retry,
|
|
15441
|
+
timeout=timeout,
|
|
15442
|
+
metadata=metadata,
|
|
15443
|
+
)
|
|
15444
|
+
|
|
15445
|
+
# Done; return the response.
|
|
15446
|
+
return response
|
|
15447
|
+
|
|
15343
15448
|
def __enter__(self) -> "AnalyticsAdminServiceClient":
|
|
15344
15449
|
return self
|
|
15345
15450
|
|