google-cloud-storagebatchoperations 0.6.0__tar.gz → 0.7.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.
Files changed (38) hide show
  1. {google_cloud_storagebatchoperations-0.6.0/google_cloud_storagebatchoperations.egg-info → google_cloud_storagebatchoperations-0.7.0}/PKG-INFO +11 -11
  2. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/README.rst +10 -10
  3. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations/gapic_version.py +1 -1
  4. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/gapic_version.py +1 -1
  5. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/base.py +20 -2
  6. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/grpc_asyncio.py +20 -2
  7. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/types/storage_batch_operations_types.py +40 -1
  8. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0/google_cloud_storagebatchoperations.egg-info}/PKG-INFO +11 -11
  9. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/tests/unit/gapic/storagebatchoperations_v1/test_storage_batch_operations.py +3 -0
  10. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/LICENSE +0 -0
  11. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/MANIFEST.in +0 -0
  12. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations/__init__.py +0 -0
  13. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations/py.typed +0 -0
  14. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/__init__.py +0 -0
  15. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/gapic_metadata.json +0 -0
  16. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/py.typed +0 -0
  17. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/services/__init__.py +0 -0
  18. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/__init__.py +0 -0
  19. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/async_client.py +0 -0
  20. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/client.py +0 -0
  21. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/pagers.py +0 -0
  22. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/__init__.py +0 -0
  23. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/grpc.py +0 -0
  24. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/rest.py +0 -0
  25. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/rest_base.py +0 -0
  26. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/types/__init__.py +0 -0
  27. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google/cloud/storagebatchoperations_v1/types/storage_batch_operations.py +0 -0
  28. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google_cloud_storagebatchoperations.egg-info/SOURCES.txt +0 -0
  29. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google_cloud_storagebatchoperations.egg-info/dependency_links.txt +0 -0
  30. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google_cloud_storagebatchoperations.egg-info/not-zip-safe +0 -0
  31. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google_cloud_storagebatchoperations.egg-info/requires.txt +0 -0
  32. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/google_cloud_storagebatchoperations.egg-info/top_level.txt +0 -0
  33. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/setup.cfg +0 -0
  34. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/setup.py +0 -0
  35. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/tests/__init__.py +0 -0
  36. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/tests/unit/__init__.py +0 -0
  37. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/tests/unit/gapic/__init__.py +0 -0
  38. {google_cloud_storagebatchoperations-0.6.0 → google_cloud_storagebatchoperations-0.7.0}/tests/unit/gapic/storagebatchoperations_v1/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-storagebatchoperations
3
- Version: 0.6.0
3
+ Version: 0.7.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
@@ -41,12 +41,12 @@ Dynamic: requires-dist
41
41
  Dynamic: requires-python
42
42
  Dynamic: summary
43
43
 
44
- Python Client for Storage Batch Operations API
45
- ==============================================
44
+ Python Client for Storage Batch Operations
45
+ ==========================================
46
46
 
47
47
  |preview| |pypi| |versions|
48
48
 
49
- `Storage Batch Operations API`_: null
49
+ `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
50
 
51
51
  - `Client Library Documentation`_
52
52
  - `Product Documentation`_
@@ -57,9 +57,9 @@ Python Client for Storage Batch Operations API
57
57
  :target: https://pypi.org/project/google-cloud-storagebatchoperations/
58
58
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-storagebatchoperations.svg
59
59
  :target: https://pypi.org/project/google-cloud-storagebatchoperations/
60
- .. _Storage Batch Operations API: https://cloud.google.com/storage/docs/batch-operations/overview
60
+ .. _Storage Batch Operations: https://cloud.google.com/storage/
61
61
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/google-cloud-storagebatchoperations/latest/summary_overview
62
- .. _Product Documentation: https://cloud.google.com/storage/docs/batch-operations/overview
62
+ .. _Product Documentation: https://cloud.google.com/storage/
63
63
 
64
64
  Quick Start
65
65
  -----------
@@ -68,12 +68,12 @@ In order to use this library, you first need to go through the following steps:
68
68
 
69
69
  1. `Select or create a Cloud Platform project.`_
70
70
  2. `Enable billing for your project.`_
71
- 3. `Enable the Storage Batch Operations API.`_
71
+ 3. `Enable the Storage Batch Operations.`_
72
72
  4. `Set up Authentication.`_
73
73
 
74
74
  .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
75
75
  .. _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 API.: https://cloud.google.com/storage/docs/batch-operations/overview
76
+ .. _Enable the Storage Batch Operations.: https://cloud.google.com/storage/
77
77
  .. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
78
78
 
79
79
  Installation
@@ -140,14 +140,14 @@ Windows
140
140
  Next Steps
141
141
  ~~~~~~~~~~
142
142
 
143
- - Read the `Client Library Documentation`_ for Storage Batch Operations API
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 API Product documentation`_ to learn
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 API Product documentation: https://cloud.google.com/storage/docs/batch-operations/overview
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
@@ -1,9 +1,9 @@
1
- Python Client for Storage Batch Operations API
2
- ==============================================
1
+ Python Client for Storage Batch Operations
2
+ ==========================================
3
3
 
4
4
  |preview| |pypi| |versions|
5
5
 
6
- `Storage Batch Operations API`_: null
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 API: https://cloud.google.com/storage/docs/batch-operations/overview
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/docs/batch-operations/overview
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 API.`_
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 API.: https://cloud.google.com/storage/docs/batch-operations/overview
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
@@ -97,14 +97,14 @@ Windows
97
97
  Next Steps
98
98
  ~~~~~~~~~~
99
99
 
100
- - Read the `Client Library Documentation`_ for Storage Batch Operations API
100
+ - Read the `Client Library Documentation`_ for Storage Batch Operations
101
101
  to see other available methods on the client.
102
- - Read the `Storage Batch Operations API Product documentation`_ to learn
102
+ - Read the `Storage Batch Operations Product documentation`_ to learn
103
103
  more about the product and see How-to Guides.
104
104
  - View this `README`_ to see the full list of Cloud
105
105
  APIs that we cover.
106
106
 
107
- .. _Storage Batch Operations API Product documentation: https://cloud.google.com/storage/docs/batch-operations/overview
107
+ .. _Storage Batch Operations Product documentation: https://cloud.google.com/storage/
108
108
  .. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
109
109
 
110
110
  Logging
@@ -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.6.0" # {x-release-please-version}
16
+ __version__ = "0.7.0" # {x-release-please-version}
@@ -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.6.0" # {x-release-please-version}
16
+ __version__ = "0.7.0" # {x-release-please-version}
@@ -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
- default_timeout=None,
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
- default_timeout=None,
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(
@@ -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
- default_timeout=None,
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
- default_timeout=None,
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(
@@ -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. Number of objects failed.
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-storagebatchoperations
3
- Version: 0.6.0
3
+ Version: 0.7.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
@@ -41,12 +41,12 @@ Dynamic: requires-dist
41
41
  Dynamic: requires-python
42
42
  Dynamic: summary
43
43
 
44
- Python Client for Storage Batch Operations API
45
- ==============================================
44
+ Python Client for Storage Batch Operations
45
+ ==========================================
46
46
 
47
47
  |preview| |pypi| |versions|
48
48
 
49
- `Storage Batch Operations API`_: null
49
+ `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
50
 
51
51
  - `Client Library Documentation`_
52
52
  - `Product Documentation`_
@@ -57,9 +57,9 @@ Python Client for Storage Batch Operations API
57
57
  :target: https://pypi.org/project/google-cloud-storagebatchoperations/
58
58
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-storagebatchoperations.svg
59
59
  :target: https://pypi.org/project/google-cloud-storagebatchoperations/
60
- .. _Storage Batch Operations API: https://cloud.google.com/storage/docs/batch-operations/overview
60
+ .. _Storage Batch Operations: https://cloud.google.com/storage/
61
61
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/google-cloud-storagebatchoperations/latest/summary_overview
62
- .. _Product Documentation: https://cloud.google.com/storage/docs/batch-operations/overview
62
+ .. _Product Documentation: https://cloud.google.com/storage/
63
63
 
64
64
  Quick Start
65
65
  -----------
@@ -68,12 +68,12 @@ In order to use this library, you first need to go through the following steps:
68
68
 
69
69
  1. `Select or create a Cloud Platform project.`_
70
70
  2. `Enable billing for your project.`_
71
- 3. `Enable the Storage Batch Operations API.`_
71
+ 3. `Enable the Storage Batch Operations.`_
72
72
  4. `Set up Authentication.`_
73
73
 
74
74
  .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
75
75
  .. _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 API.: https://cloud.google.com/storage/docs/batch-operations/overview
76
+ .. _Enable the Storage Batch Operations.: https://cloud.google.com/storage/
77
77
  .. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
78
78
 
79
79
  Installation
@@ -140,14 +140,14 @@ Windows
140
140
  Next Steps
141
141
  ~~~~~~~~~~
142
142
 
143
- - Read the `Client Library Documentation`_ for Storage Batch Operations API
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 API Product documentation`_ to learn
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 API Product documentation: https://cloud.google.com/storage/docs/batch-operations/overview
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
@@ -6451,6 +6451,9 @@ def test_create_job_rest_call_success(request_type):
6451
6451
  "succeeded_object_count": 2307,
6452
6452
  "failed_object_count": 1987,
6453
6453
  "total_bytes_found": 1829,
6454
+ "object_custom_contexts_created": 3199,
6455
+ "object_custom_contexts_deleted": 3198,
6456
+ "object_custom_contexts_updated": 3214,
6454
6457
  },
6455
6458
  "error_summaries": [
6456
6459
  {