google-cloud-storagebatchoperations 0.6.0__tar.gz → 0.8.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_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/MANIFEST.in +1 -1
- {google_cloud_storagebatchoperations-0.6.0/google_cloud_storagebatchoperations.egg-info → google_cloud_storagebatchoperations-0.8.0}/PKG-INFO +18 -18
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/README.rst +13 -12
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations/__init__.py +1 -1
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations/gapic_version.py +2 -2
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/__init__.py +4 -21
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/gapic_version.py +2 -2
- {google_cloud_storagebatchoperations-0.6.0/tests/unit → google_cloud_storagebatchoperations-0.8.0/google/cloud/storagebatchoperations_v1/services}/__init__.py +1 -1
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/__init__.py +1 -1
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/async_client.py +3 -3
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/client.py +1 -1
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/pagers.py +1 -1
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/__init__.py +1 -1
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/base.py +21 -3
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/grpc.py +1 -1
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/grpc_asyncio.py +21 -3
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/rest.py +1 -1
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/rest_base.py +1 -1
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/types/__init__.py +1 -1
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/types/storage_batch_operations.py +1 -1
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/types/storage_batch_operations_types.py +41 -2
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0/google_cloud_storagebatchoperations.egg-info}/PKG-INFO +18 -18
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google_cloud_storagebatchoperations.egg-info/requires.txt +2 -2
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/setup.py +5 -6
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/tests/__init__.py +1 -1
- {google_cloud_storagebatchoperations-0.6.0/tests/unit/gapic → google_cloud_storagebatchoperations-0.8.0/tests/unit}/__init__.py +1 -1
- {google_cloud_storagebatchoperations-0.6.0/google/cloud/storagebatchoperations_v1/services → google_cloud_storagebatchoperations-0.8.0/tests/unit/gapic}/__init__.py +1 -1
- google_cloud_storagebatchoperations-0.8.0/tests/unit/gapic/storagebatchoperations_v1/__init__.py +15 -0
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/tests/unit/gapic/storagebatchoperations_v1/test_storage_batch_operations.py +130 -141
- google_cloud_storagebatchoperations-0.6.0/tests/unit/gapic/storagebatchoperations_v1/__init__.py +0 -15
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/LICENSE +0 -0
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations/py.typed +0 -0
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/gapic_metadata.json +0 -0
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google/cloud/storagebatchoperations_v1/py.typed +0 -0
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google_cloud_storagebatchoperations.egg-info/SOURCES.txt +0 -0
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google_cloud_storagebatchoperations.egg-info/dependency_links.txt +0 -0
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google_cloud_storagebatchoperations.egg-info/not-zip-safe +0 -0
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/google_cloud_storagebatchoperations.egg-info/top_level.txt +0 -0
- {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/setup.cfg +0 -0
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: google-cloud-storagebatchoperations
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: Google Cloud Storagebatchoperations API client library
|
|
5
5
|
Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-storagebatchoperations
|
|
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,12 @@ Dynamic: requires-dist
|
|
|
41
40
|
Dynamic: requires-python
|
|
42
41
|
Dynamic: summary
|
|
43
42
|
|
|
44
|
-
Python Client for Storage Batch Operations
|
|
45
|
-
|
|
43
|
+
Python Client for Storage Batch Operations
|
|
44
|
+
==========================================
|
|
46
45
|
|
|
47
46
|
|preview| |pypi| |versions|
|
|
48
47
|
|
|
49
|
-
`Storage Batch Operations
|
|
48
|
+
`Storage Batch Operations`_: Cloud Storage Batch Operations is a Cloud Storage capability that lets you perform operations on billions of objects in a serverless manner.
|
|
50
49
|
|
|
51
50
|
- `Client Library Documentation`_
|
|
52
51
|
- `Product Documentation`_
|
|
@@ -57,9 +56,9 @@ Python Client for Storage Batch Operations API
|
|
|
57
56
|
:target: https://pypi.org/project/google-cloud-storagebatchoperations/
|
|
58
57
|
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-storagebatchoperations.svg
|
|
59
58
|
:target: https://pypi.org/project/google-cloud-storagebatchoperations/
|
|
60
|
-
.. _Storage Batch Operations
|
|
59
|
+
.. _Storage Batch Operations: https://cloud.google.com/storage/
|
|
61
60
|
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/google-cloud-storagebatchoperations/latest/summary_overview
|
|
62
|
-
.. _Product Documentation: https://cloud.google.com/storage/
|
|
61
|
+
.. _Product Documentation: https://cloud.google.com/storage/
|
|
63
62
|
|
|
64
63
|
Quick Start
|
|
65
64
|
-----------
|
|
@@ -68,12 +67,12 @@ In order to use this library, you first need to go through the following steps:
|
|
|
68
67
|
|
|
69
68
|
1. `Select or create a Cloud Platform project.`_
|
|
70
69
|
2. `Enable billing for your project.`_
|
|
71
|
-
3. `Enable the Storage Batch Operations
|
|
70
|
+
3. `Enable the Storage Batch Operations.`_
|
|
72
71
|
4. `Set up Authentication.`_
|
|
73
72
|
|
|
74
73
|
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
|
|
75
74
|
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
|
|
76
|
-
.. _Enable the Storage Batch Operations
|
|
75
|
+
.. _Enable the Storage Batch Operations.: https://cloud.google.com/storage/
|
|
77
76
|
.. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
|
|
78
77
|
|
|
79
78
|
Installation
|
|
@@ -104,14 +103,15 @@ Supported Python Versions
|
|
|
104
103
|
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
|
|
105
104
|
Python.
|
|
106
105
|
|
|
107
|
-
Python >= 3.
|
|
106
|
+
Python >= 3.10, including 3.14
|
|
108
107
|
|
|
109
108
|
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
|
|
110
109
|
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
|
|
111
110
|
|
|
112
111
|
Unsupported Python Versions
|
|
113
112
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
114
|
-
Python <= 3.
|
|
113
|
+
Python <= 3.9
|
|
114
|
+
|
|
115
115
|
|
|
116
116
|
If you are using an `end-of-life`_
|
|
117
117
|
version of Python, we recommend that you update as soon as possible to an actively supported version.
|
|
@@ -140,14 +140,14 @@ Windows
|
|
|
140
140
|
Next Steps
|
|
141
141
|
~~~~~~~~~~
|
|
142
142
|
|
|
143
|
-
- Read the `Client Library Documentation`_ for Storage Batch Operations
|
|
143
|
+
- Read the `Client Library Documentation`_ for Storage Batch Operations
|
|
144
144
|
to see other available methods on the client.
|
|
145
|
-
- Read the `Storage Batch Operations
|
|
145
|
+
- Read the `Storage Batch Operations Product documentation`_ to learn
|
|
146
146
|
more about the product and see How-to Guides.
|
|
147
147
|
- View this `README`_ to see the full list of Cloud
|
|
148
148
|
APIs that we cover.
|
|
149
149
|
|
|
150
|
-
.. _Storage Batch Operations
|
|
150
|
+
.. _Storage Batch Operations Product documentation: https://cloud.google.com/storage/
|
|
151
151
|
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
|
|
152
152
|
|
|
153
153
|
Logging
|
{google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.8.0}/README.rst
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
Python Client for Storage Batch Operations
|
|
2
|
-
|
|
1
|
+
Python Client for Storage Batch Operations
|
|
2
|
+
==========================================
|
|
3
3
|
|
|
4
4
|
|preview| |pypi| |versions|
|
|
5
5
|
|
|
6
|
-
`Storage Batch Operations
|
|
6
|
+
`Storage Batch Operations`_: Cloud Storage Batch Operations is a Cloud Storage capability that lets you perform operations on billions of objects in a serverless manner.
|
|
7
7
|
|
|
8
8
|
- `Client Library Documentation`_
|
|
9
9
|
- `Product Documentation`_
|
|
@@ -14,9 +14,9 @@ Python Client for Storage Batch Operations API
|
|
|
14
14
|
:target: https://pypi.org/project/google-cloud-storagebatchoperations/
|
|
15
15
|
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-storagebatchoperations.svg
|
|
16
16
|
:target: https://pypi.org/project/google-cloud-storagebatchoperations/
|
|
17
|
-
.. _Storage Batch Operations
|
|
17
|
+
.. _Storage Batch Operations: https://cloud.google.com/storage/
|
|
18
18
|
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/google-cloud-storagebatchoperations/latest/summary_overview
|
|
19
|
-
.. _Product Documentation: https://cloud.google.com/storage/
|
|
19
|
+
.. _Product Documentation: https://cloud.google.com/storage/
|
|
20
20
|
|
|
21
21
|
Quick Start
|
|
22
22
|
-----------
|
|
@@ -25,12 +25,12 @@ In order to use this library, you first need to go through the following steps:
|
|
|
25
25
|
|
|
26
26
|
1. `Select or create a Cloud Platform project.`_
|
|
27
27
|
2. `Enable billing for your project.`_
|
|
28
|
-
3. `Enable the Storage Batch Operations
|
|
28
|
+
3. `Enable the Storage Batch Operations.`_
|
|
29
29
|
4. `Set up Authentication.`_
|
|
30
30
|
|
|
31
31
|
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
|
|
32
32
|
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
|
|
33
|
-
.. _Enable the Storage Batch Operations
|
|
33
|
+
.. _Enable the Storage Batch Operations.: https://cloud.google.com/storage/
|
|
34
34
|
.. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
|
|
35
35
|
|
|
36
36
|
Installation
|
|
@@ -61,14 +61,15 @@ Supported Python Versions
|
|
|
61
61
|
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
|
|
62
62
|
Python.
|
|
63
63
|
|
|
64
|
-
Python >= 3.
|
|
64
|
+
Python >= 3.10, including 3.14
|
|
65
65
|
|
|
66
66
|
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
|
|
67
67
|
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
|
|
68
68
|
|
|
69
69
|
Unsupported Python Versions
|
|
70
70
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
71
|
-
Python <= 3.
|
|
71
|
+
Python <= 3.9
|
|
72
|
+
|
|
72
73
|
|
|
73
74
|
If you are using an `end-of-life`_
|
|
74
75
|
version of Python, we recommend that you update as soon as possible to an actively supported version.
|
|
@@ -97,14 +98,14 @@ Windows
|
|
|
97
98
|
Next Steps
|
|
98
99
|
~~~~~~~~~~
|
|
99
100
|
|
|
100
|
-
- Read the `Client Library Documentation`_ for Storage Batch Operations
|
|
101
|
+
- Read the `Client Library Documentation`_ for Storage Batch Operations
|
|
101
102
|
to see other available methods on the client.
|
|
102
|
-
- Read the `Storage Batch Operations
|
|
103
|
+
- Read the `Storage Batch Operations Product documentation`_ to learn
|
|
103
104
|
more about the product and see How-to Guides.
|
|
104
105
|
- View this `README`_ to see the full list of Cloud
|
|
105
106
|
APIs that we cover.
|
|
106
107
|
|
|
107
|
-
.. _Storage Batch Operations
|
|
108
|
+
.. _Storage Batch Operations Product documentation: https://cloud.google.com/storage/
|
|
108
109
|
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
|
|
109
110
|
|
|
110
111
|
Logging
|
|
@@ -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.8.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.cloud.storagebatchoperations_v1 import gapic_version as package_vers
|
|
|
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.storage_batch_operations import (
|
|
33
27
|
StorageBatchOperationsAsyncClient,
|
|
@@ -75,28 +69,17 @@ else: # pragma: NO COVER
|
|
|
75
69
|
# An older version of api_core is installed which does not define the
|
|
76
70
|
# functions above. We do equivalent checks manually.
|
|
77
71
|
try:
|
|
78
|
-
import sys
|
|
79
72
|
import warnings
|
|
80
73
|
|
|
81
74
|
_py_version_str = sys.version.split()[0]
|
|
82
75
|
_package_label = "google.cloud.storagebatchoperations_v1"
|
|
83
|
-
if sys.version_info < (3,
|
|
76
|
+
if sys.version_info < (3, 10):
|
|
84
77
|
warnings.warn(
|
|
85
78
|
"You are using a non-supported Python version "
|
|
86
79
|
+ f"({_py_version_str}). Google will not post any further "
|
|
87
80
|
+ f"updates to {_package_label} supporting this Python version. "
|
|
88
81
|
+ "Please upgrade to the latest Python version, or at "
|
|
89
|
-
+ f"least to Python 3.
|
|
90
|
-
FutureWarning,
|
|
91
|
-
)
|
|
92
|
-
if sys.version_info[:2] == (3, 9):
|
|
93
|
-
warnings.warn(
|
|
94
|
-
f"You are using a Python version ({_py_version_str}) "
|
|
95
|
-
+ f"which Google will stop supporting in {_package_label} in "
|
|
96
|
-
+ "January 2026. Please "
|
|
97
|
-
+ "upgrade to the latest Python version, or at "
|
|
98
|
-
+ "least to Python 3.10, before then, and "
|
|
99
|
-
+ f"then update {_package_label}.",
|
|
82
|
+
+ f"least to Python 3.10, and then update {_package_label}.",
|
|
100
83
|
FutureWarning,
|
|
101
84
|
)
|
|
102
85
|
|
|
@@ -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.8.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.
|
|
@@ -605,11 +605,11 @@ class StorageBatchOperationsAsyncClient:
|
|
|
605
605
|
)
|
|
606
606
|
|
|
607
607
|
# Make the request
|
|
608
|
-
operation = client.create_job(request=request)
|
|
608
|
+
operation = await client.create_job(request=request)
|
|
609
609
|
|
|
610
610
|
print("Waiting for operation to complete...")
|
|
611
611
|
|
|
612
|
-
response =
|
|
612
|
+
response = await operation.result()
|
|
613
613
|
|
|
614
614
|
# Handle the response
|
|
615
615
|
print(response)
|
|
@@ -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.
|
|
@@ -202,12 +202,30 @@ class StorageBatchOperationsTransport(abc.ABC):
|
|
|
202
202
|
),
|
|
203
203
|
self.list_bucket_operations: gapic_v1.method.wrap_method(
|
|
204
204
|
self.list_bucket_operations,
|
|
205
|
-
|
|
205
|
+
default_retry=retries.Retry(
|
|
206
|
+
initial=1.0,
|
|
207
|
+
maximum=60.0,
|
|
208
|
+
multiplier=2,
|
|
209
|
+
predicate=retries.if_exception_type(
|
|
210
|
+
core_exceptions.ServiceUnavailable,
|
|
211
|
+
),
|
|
212
|
+
deadline=60.0,
|
|
213
|
+
),
|
|
214
|
+
default_timeout=60.0,
|
|
206
215
|
client_info=client_info,
|
|
207
216
|
),
|
|
208
217
|
self.get_bucket_operation: gapic_v1.method.wrap_method(
|
|
209
218
|
self.get_bucket_operation,
|
|
210
|
-
|
|
219
|
+
default_retry=retries.Retry(
|
|
220
|
+
initial=1.0,
|
|
221
|
+
maximum=60.0,
|
|
222
|
+
multiplier=2,
|
|
223
|
+
predicate=retries.if_exception_type(
|
|
224
|
+
core_exceptions.ServiceUnavailable,
|
|
225
|
+
),
|
|
226
|
+
deadline=60.0,
|
|
227
|
+
),
|
|
228
|
+
default_timeout=60.0,
|
|
211
229
|
client_info=client_info,
|
|
212
230
|
),
|
|
213
231
|
self.get_location: gapic_v1.method.wrap_method(
|
|
@@ -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.
|
|
@@ -618,12 +618,30 @@ class StorageBatchOperationsGrpcAsyncIOTransport(StorageBatchOperationsTransport
|
|
|
618
618
|
),
|
|
619
619
|
self.list_bucket_operations: self._wrap_method(
|
|
620
620
|
self.list_bucket_operations,
|
|
621
|
-
|
|
621
|
+
default_retry=retries.AsyncRetry(
|
|
622
|
+
initial=1.0,
|
|
623
|
+
maximum=60.0,
|
|
624
|
+
multiplier=2,
|
|
625
|
+
predicate=retries.if_exception_type(
|
|
626
|
+
core_exceptions.ServiceUnavailable,
|
|
627
|
+
),
|
|
628
|
+
deadline=60.0,
|
|
629
|
+
),
|
|
630
|
+
default_timeout=60.0,
|
|
622
631
|
client_info=client_info,
|
|
623
632
|
),
|
|
624
633
|
self.get_bucket_operation: self._wrap_method(
|
|
625
634
|
self.get_bucket_operation,
|
|
626
|
-
|
|
635
|
+
default_retry=retries.AsyncRetry(
|
|
636
|
+
initial=1.0,
|
|
637
|
+
maximum=60.0,
|
|
638
|
+
multiplier=2,
|
|
639
|
+
predicate=retries.if_exception_type(
|
|
640
|
+
core_exceptions.ServiceUnavailable,
|
|
641
|
+
),
|
|
642
|
+
deadline=60.0,
|
|
643
|
+
),
|
|
644
|
+
default_timeout=60.0,
|
|
627
645
|
client_info=client_info,
|
|
628
646
|
),
|
|
629
647
|
self.get_location: self._wrap_method(
|
|
@@ -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.
|
|
@@ -947,13 +947,37 @@ class Counters(proto.Message):
|
|
|
947
947
|
succeeded_object_count (int):
|
|
948
948
|
Output only. Number of objects completed.
|
|
949
949
|
failed_object_count (int):
|
|
950
|
-
Output only.
|
|
950
|
+
Output only. The number of objects that
|
|
951
|
+
failed due to user errors or service errors.
|
|
951
952
|
total_bytes_found (int):
|
|
952
953
|
Output only. Number of bytes found from
|
|
953
954
|
source. This field is only populated for jobs
|
|
954
955
|
with a prefix list object configuration.
|
|
955
956
|
|
|
956
957
|
This field is a member of `oneof`_ ``_total_bytes_found``.
|
|
958
|
+
object_custom_contexts_created (int):
|
|
959
|
+
Output only. Number of object custom contexts
|
|
960
|
+
created. This field is only populated for jobs
|
|
961
|
+
with the UpdateObjectCustomContext
|
|
962
|
+
transformation.
|
|
963
|
+
|
|
964
|
+
This field is a member of `oneof`_ ``_object_custom_contexts_created``.
|
|
965
|
+
object_custom_contexts_deleted (int):
|
|
966
|
+
Output only. Number of object custom contexts
|
|
967
|
+
deleted. This field is only populated for jobs
|
|
968
|
+
with the UpdateObjectCustomContext
|
|
969
|
+
transformation.
|
|
970
|
+
|
|
971
|
+
This field is a member of `oneof`_ ``_object_custom_contexts_deleted``.
|
|
972
|
+
object_custom_contexts_updated (int):
|
|
973
|
+
Output only. Number of object custom contexts
|
|
974
|
+
updated. This counter tracks custom contexts
|
|
975
|
+
where the key already existed, but the payload
|
|
976
|
+
was modified. This field is only populated for
|
|
977
|
+
jobs with the UpdateObjectCustomContext
|
|
978
|
+
transformation.
|
|
979
|
+
|
|
980
|
+
This field is a member of `oneof`_ ``_object_custom_contexts_updated``.
|
|
957
981
|
"""
|
|
958
982
|
|
|
959
983
|
total_object_count: int = proto.Field(
|
|
@@ -973,6 +997,21 @@ class Counters(proto.Message):
|
|
|
973
997
|
number=4,
|
|
974
998
|
optional=True,
|
|
975
999
|
)
|
|
1000
|
+
object_custom_contexts_created: int = proto.Field(
|
|
1001
|
+
proto.INT64,
|
|
1002
|
+
number=5,
|
|
1003
|
+
optional=True,
|
|
1004
|
+
)
|
|
1005
|
+
object_custom_contexts_deleted: int = proto.Field(
|
|
1006
|
+
proto.INT64,
|
|
1007
|
+
number=6,
|
|
1008
|
+
optional=True,
|
|
1009
|
+
)
|
|
1010
|
+
object_custom_contexts_updated: int = proto.Field(
|
|
1011
|
+
proto.INT64,
|
|
1012
|
+
number=7,
|
|
1013
|
+
optional=True,
|
|
1014
|
+
)
|
|
976
1015
|
|
|
977
1016
|
|
|
978
1017
|
class LoggingConfig(proto.Message):
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: google-cloud-storagebatchoperations
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: Google Cloud Storagebatchoperations API client library
|
|
5
5
|
Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-storagebatchoperations
|
|
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,12 @@ Dynamic: requires-dist
|
|
|
41
40
|
Dynamic: requires-python
|
|
42
41
|
Dynamic: summary
|
|
43
42
|
|
|
44
|
-
Python Client for Storage Batch Operations
|
|
45
|
-
|
|
43
|
+
Python Client for Storage Batch Operations
|
|
44
|
+
==========================================
|
|
46
45
|
|
|
47
46
|
|preview| |pypi| |versions|
|
|
48
47
|
|
|
49
|
-
`Storage Batch Operations
|
|
48
|
+
`Storage Batch Operations`_: Cloud Storage Batch Operations is a Cloud Storage capability that lets you perform operations on billions of objects in a serverless manner.
|
|
50
49
|
|
|
51
50
|
- `Client Library Documentation`_
|
|
52
51
|
- `Product Documentation`_
|
|
@@ -57,9 +56,9 @@ Python Client for Storage Batch Operations API
|
|
|
57
56
|
:target: https://pypi.org/project/google-cloud-storagebatchoperations/
|
|
58
57
|
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-storagebatchoperations.svg
|
|
59
58
|
:target: https://pypi.org/project/google-cloud-storagebatchoperations/
|
|
60
|
-
.. _Storage Batch Operations
|
|
59
|
+
.. _Storage Batch Operations: https://cloud.google.com/storage/
|
|
61
60
|
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/google-cloud-storagebatchoperations/latest/summary_overview
|
|
62
|
-
.. _Product Documentation: https://cloud.google.com/storage/
|
|
61
|
+
.. _Product Documentation: https://cloud.google.com/storage/
|
|
63
62
|
|
|
64
63
|
Quick Start
|
|
65
64
|
-----------
|
|
@@ -68,12 +67,12 @@ In order to use this library, you first need to go through the following steps:
|
|
|
68
67
|
|
|
69
68
|
1. `Select or create a Cloud Platform project.`_
|
|
70
69
|
2. `Enable billing for your project.`_
|
|
71
|
-
3. `Enable the Storage Batch Operations
|
|
70
|
+
3. `Enable the Storage Batch Operations.`_
|
|
72
71
|
4. `Set up Authentication.`_
|
|
73
72
|
|
|
74
73
|
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
|
|
75
74
|
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
|
|
76
|
-
.. _Enable the Storage Batch Operations
|
|
75
|
+
.. _Enable the Storage Batch Operations.: https://cloud.google.com/storage/
|
|
77
76
|
.. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
|
|
78
77
|
|
|
79
78
|
Installation
|
|
@@ -104,14 +103,15 @@ Supported Python Versions
|
|
|
104
103
|
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
|
|
105
104
|
Python.
|
|
106
105
|
|
|
107
|
-
Python >= 3.
|
|
106
|
+
Python >= 3.10, including 3.14
|
|
108
107
|
|
|
109
108
|
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
|
|
110
109
|
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
|
|
111
110
|
|
|
112
111
|
Unsupported Python Versions
|
|
113
112
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
114
|
-
Python <= 3.
|
|
113
|
+
Python <= 3.9
|
|
114
|
+
|
|
115
115
|
|
|
116
116
|
If you are using an `end-of-life`_
|
|
117
117
|
version of Python, we recommend that you update as soon as possible to an actively supported version.
|
|
@@ -140,14 +140,14 @@ Windows
|
|
|
140
140
|
Next Steps
|
|
141
141
|
~~~~~~~~~~
|
|
142
142
|
|
|
143
|
-
- Read the `Client Library Documentation`_ for Storage Batch Operations
|
|
143
|
+
- Read the `Client Library Documentation`_ for Storage Batch Operations
|
|
144
144
|
to see other available methods on the client.
|
|
145
|
-
- Read the `Storage Batch Operations
|
|
145
|
+
- Read the `Storage Batch Operations Product documentation`_ to learn
|
|
146
146
|
more about the product and see How-to Guides.
|
|
147
147
|
- View this `README`_ to see the full list of Cloud
|
|
148
148
|
APIs that we cover.
|
|
149
149
|
|
|
150
|
-
.. _Storage Batch Operations
|
|
150
|
+
.. _Storage Batch Operations Product documentation: https://cloud.google.com/storage/
|
|
151
151
|
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
|
|
152
152
|
|
|
153
153
|
Logging
|