google-cloud-storage_batch_operations-v1 0.1.2 → 0.2.0
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.
- checksums.yaml +4 -4
- data/lib/google/cloud/storage_batch_operations/v1/storage_batch_operations/client.rb +14 -14
- data/lib/google/cloud/storage_batch_operations/v1/storage_batch_operations/rest/client.rb +14 -14
- data/lib/google/cloud/storage_batch_operations/v1/version.rb +1 -1
- data/lib/google/cloud/storagebatchoperations/v1/storage_batch_operations_services_pb.rb +1 -1
- data/proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations.rb +16 -15
- data/proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations_types.rb +2 -2
- metadata +10 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56eebdd5272a5b83685404ff539b2e20c082093a0043e3550595344a13ac08c9
|
4
|
+
data.tar.gz: 7ac6ee2bf248fe4d90a32cba39c9b9fd12b936917b5ffd8c818c7a579e7e04c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4805886c5f5d1fadf07947833f91f2ca29825597d3942f174be6be4c2c09c019a4c32f64df57646da4da9edadf0550b331e2dc148f1977bbf30eb9bc8090b5ae
|
7
|
+
data.tar.gz: 2c6c39a5c43764efb0616d7729ab85ba68968b2efb52d52de27ad19b925b1679c5ab9b26ab30d96c291401059e62dfb81a7ca9d0809461645bee18af55a78972
|
@@ -236,7 +236,7 @@ module Google
|
|
236
236
|
# Service calls
|
237
237
|
|
238
238
|
##
|
239
|
-
# Lists Jobs in a given project
|
239
|
+
# Lists Jobs in a given project.
|
240
240
|
#
|
241
241
|
# @overload list_jobs(request, options = nil)
|
242
242
|
# Pass arguments to `list_jobs` via a request object, either of type
|
@@ -254,7 +254,7 @@ module Google
|
|
254
254
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
255
255
|
#
|
256
256
|
# @param parent [::String]
|
257
|
-
# Required. Format: projects/\\{project_id}/locations
|
257
|
+
# Required. Format: projects/\\{project_id}/locations/global.
|
258
258
|
# @param filter [::String]
|
259
259
|
# Optional. Filters results as defined by https://google.aip.dev/160.
|
260
260
|
# @param page_size [::Integer]
|
@@ -354,7 +354,7 @@ module Google
|
|
354
354
|
#
|
355
355
|
# @param name [::String]
|
356
356
|
# Required. `name` of the job to retrieve.
|
357
|
-
# Format: projects/\\{project_id}/locations
|
357
|
+
# Format: projects/\\{project_id}/locations/global/jobs/\\{job_id} .
|
358
358
|
#
|
359
359
|
# @yield [response, operation] Access the result along with the RPC operation
|
360
360
|
# @yieldparam response [::Google::Cloud::StorageBatchOperations::V1::Job]
|
@@ -450,9 +450,9 @@ module Google
|
|
450
450
|
# @param request_id [::String]
|
451
451
|
# Optional. An optional request ID to identify requests. Specify a unique
|
452
452
|
# request ID in case you need to retry your request. Requests with same
|
453
|
-
# `request_id` will ignored for at least 60 minutes since the first
|
454
|
-
# The request ID must be a valid UUID with the exception that zero
|
455
|
-
# not supported (00000000-0000-0000-0000-000000000000).
|
453
|
+
# `request_id` will be ignored for at least 60 minutes since the first
|
454
|
+
# request. The request ID must be a valid UUID with the exception that zero
|
455
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
456
456
|
#
|
457
457
|
# @yield [response, operation] Access the result along with the RPC operation
|
458
458
|
# @yieldparam response [::Gapic::Operation]
|
@@ -547,13 +547,13 @@ module Google
|
|
547
547
|
#
|
548
548
|
# @param name [::String]
|
549
549
|
# Required. The `name` of the job to delete.
|
550
|
-
# Format: projects/\\{project_id}/locations
|
550
|
+
# Format: projects/\\{project_id}/locations/global/jobs/\\{job_id} .
|
551
551
|
# @param request_id [::String]
|
552
552
|
# Optional. An optional request ID to identify requests. Specify a unique
|
553
553
|
# request ID in case you need to retry your request. Requests with same
|
554
|
-
# `request_id` will ignored for at least 60 minutes since the first
|
555
|
-
# The request ID must be a valid UUID with the exception that zero
|
556
|
-
# not supported (00000000-0000-0000-0000-000000000000).
|
554
|
+
# `request_id` will be ignored for at least 60 minutes since the first
|
555
|
+
# request. The request ID must be a valid UUID with the exception that zero
|
556
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
557
557
|
#
|
558
558
|
# @yield [response, operation] Access the result along with the RPC operation
|
559
559
|
# @yieldparam response [::Google::Protobuf::Empty]
|
@@ -639,13 +639,13 @@ module Google
|
|
639
639
|
#
|
640
640
|
# @param name [::String]
|
641
641
|
# Required. The `name` of the job to cancel.
|
642
|
-
# Format: projects/\\{project_id}/locations
|
642
|
+
# Format: projects/\\{project_id}/locations/global/jobs/\\{job_id}.
|
643
643
|
# @param request_id [::String]
|
644
644
|
# Optional. An optional request ID to identify requests. Specify a unique
|
645
645
|
# request ID in case you need to retry your request. Requests with same
|
646
|
-
# `request_id` will ignored for at least 60 minutes since the first
|
647
|
-
# The request ID must be a valid UUID with the exception that zero
|
648
|
-
# not supported (00000000-0000-0000-0000-000000000000).
|
646
|
+
# `request_id` will be ignored for at least 60 minutes since the first
|
647
|
+
# request. The request ID must be a valid UUID with the exception that zero
|
648
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
649
649
|
#
|
650
650
|
# @yield [response, operation] Access the result along with the RPC operation
|
651
651
|
# @yieldparam response [::Google::Cloud::StorageBatchOperations::V1::CancelJobResponse]
|
@@ -230,7 +230,7 @@ module Google
|
|
230
230
|
# Service calls
|
231
231
|
|
232
232
|
##
|
233
|
-
# Lists Jobs in a given project
|
233
|
+
# Lists Jobs in a given project.
|
234
234
|
#
|
235
235
|
# @overload list_jobs(request, options = nil)
|
236
236
|
# Pass arguments to `list_jobs` via a request object, either of type
|
@@ -248,7 +248,7 @@ module Google
|
|
248
248
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
249
249
|
#
|
250
250
|
# @param parent [::String]
|
251
|
-
# Required. Format: projects/\\{project_id}/locations
|
251
|
+
# Required. Format: projects/\\{project_id}/locations/global.
|
252
252
|
# @param filter [::String]
|
253
253
|
# Optional. Filters results as defined by https://google.aip.dev/160.
|
254
254
|
# @param page_size [::Integer]
|
@@ -341,7 +341,7 @@ module Google
|
|
341
341
|
#
|
342
342
|
# @param name [::String]
|
343
343
|
# Required. `name` of the job to retrieve.
|
344
|
-
# Format: projects/\\{project_id}/locations
|
344
|
+
# Format: projects/\\{project_id}/locations/global/jobs/\\{job_id} .
|
345
345
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
346
346
|
# @yieldparam result [::Google::Cloud::StorageBatchOperations::V1::Job]
|
347
347
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -430,9 +430,9 @@ module Google
|
|
430
430
|
# @param request_id [::String]
|
431
431
|
# Optional. An optional request ID to identify requests. Specify a unique
|
432
432
|
# request ID in case you need to retry your request. Requests with same
|
433
|
-
# `request_id` will ignored for at least 60 minutes since the first
|
434
|
-
# The request ID must be a valid UUID with the exception that zero
|
435
|
-
# not supported (00000000-0000-0000-0000-000000000000).
|
433
|
+
# `request_id` will be ignored for at least 60 minutes since the first
|
434
|
+
# request. The request ID must be a valid UUID with the exception that zero
|
435
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
436
436
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
437
437
|
# @yieldparam result [::Gapic::Operation]
|
438
438
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -520,13 +520,13 @@ module Google
|
|
520
520
|
#
|
521
521
|
# @param name [::String]
|
522
522
|
# Required. The `name` of the job to delete.
|
523
|
-
# Format: projects/\\{project_id}/locations
|
523
|
+
# Format: projects/\\{project_id}/locations/global/jobs/\\{job_id} .
|
524
524
|
# @param request_id [::String]
|
525
525
|
# Optional. An optional request ID to identify requests. Specify a unique
|
526
526
|
# request ID in case you need to retry your request. Requests with same
|
527
|
-
# `request_id` will ignored for at least 60 minutes since the first
|
528
|
-
# The request ID must be a valid UUID with the exception that zero
|
529
|
-
# not supported (00000000-0000-0000-0000-000000000000).
|
527
|
+
# `request_id` will be ignored for at least 60 minutes since the first
|
528
|
+
# request. The request ID must be a valid UUID with the exception that zero
|
529
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
530
530
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
531
531
|
# @yieldparam result [::Google::Protobuf::Empty]
|
532
532
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -605,13 +605,13 @@ module Google
|
|
605
605
|
#
|
606
606
|
# @param name [::String]
|
607
607
|
# Required. The `name` of the job to cancel.
|
608
|
-
# Format: projects/\\{project_id}/locations
|
608
|
+
# Format: projects/\\{project_id}/locations/global/jobs/\\{job_id}.
|
609
609
|
# @param request_id [::String]
|
610
610
|
# Optional. An optional request ID to identify requests. Specify a unique
|
611
611
|
# request ID in case you need to retry your request. Requests with same
|
612
|
-
# `request_id` will ignored for at least 60 minutes since the first
|
613
|
-
# The request ID must be a valid UUID with the exception that zero
|
614
|
-
# not supported (00000000-0000-0000-0000-000000000000).
|
612
|
+
# `request_id` will be ignored for at least 60 minutes since the first
|
613
|
+
# request. The request ID must be a valid UUID with the exception that zero
|
614
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
615
615
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
616
616
|
# @yieldparam result [::Google::Cloud::StorageBatchOperations::V1::CancelJobResponse]
|
617
617
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -36,7 +36,7 @@ module Google
|
|
36
36
|
self.unmarshal_class_method = :decode
|
37
37
|
self.service_name = 'google.cloud.storagebatchoperations.v1.StorageBatchOperations'
|
38
38
|
|
39
|
-
# Lists Jobs in a given project
|
39
|
+
# Lists Jobs in a given project.
|
40
40
|
rpc :ListJobs, ::Google::Cloud::StorageBatchOperations::V1::ListJobsRequest, ::Google::Cloud::StorageBatchOperations::V1::ListJobsResponse
|
41
41
|
# Gets a batch job.
|
42
42
|
rpc :GetJob, ::Google::Cloud::StorageBatchOperations::V1::GetJobRequest, ::Google::Cloud::StorageBatchOperations::V1::Job
|
@@ -24,7 +24,7 @@ module Google
|
|
24
24
|
# Message for request to list Jobs
|
25
25
|
# @!attribute [rw] parent
|
26
26
|
# @return [::String]
|
27
|
-
# Required. Format: projects/\\{project_id}/locations
|
27
|
+
# Required. Format: projects/\\{project_id}/locations/global.
|
28
28
|
# @!attribute [rw] filter
|
29
29
|
# @return [::String]
|
30
30
|
# Optional. Filters results as defined by https://google.aip.dev/160.
|
@@ -61,7 +61,7 @@ module Google
|
|
61
61
|
# @!attribute [rw] name
|
62
62
|
# @return [::String]
|
63
63
|
# Required. `name` of the job to retrieve.
|
64
|
-
# Format: projects/\\{project_id}/locations
|
64
|
+
# Format: projects/\\{project_id}/locations/global/jobs/\\{job_id} .
|
65
65
|
class GetJobRequest
|
66
66
|
include ::Google::Protobuf::MessageExts
|
67
67
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -84,9 +84,9 @@ module Google
|
|
84
84
|
# @return [::String]
|
85
85
|
# Optional. An optional request ID to identify requests. Specify a unique
|
86
86
|
# request ID in case you need to retry your request. Requests with same
|
87
|
-
# `request_id` will ignored for at least 60 minutes since the first
|
88
|
-
# The request ID must be a valid UUID with the exception that zero
|
89
|
-
# not supported (00000000-0000-0000-0000-000000000000).
|
87
|
+
# `request_id` will be ignored for at least 60 minutes since the first
|
88
|
+
# request. The request ID must be a valid UUID with the exception that zero
|
89
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
90
90
|
class CreateJobRequest
|
91
91
|
include ::Google::Protobuf::MessageExts
|
92
92
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -96,14 +96,14 @@ module Google
|
|
96
96
|
# @!attribute [rw] name
|
97
97
|
# @return [::String]
|
98
98
|
# Required. The `name` of the job to cancel.
|
99
|
-
# Format: projects/\\{project_id}/locations
|
99
|
+
# Format: projects/\\{project_id}/locations/global/jobs/\\{job_id}.
|
100
100
|
# @!attribute [rw] request_id
|
101
101
|
# @return [::String]
|
102
102
|
# Optional. An optional request ID to identify requests. Specify a unique
|
103
103
|
# request ID in case you need to retry your request. Requests with same
|
104
|
-
# `request_id` will ignored for at least 60 minutes since the first
|
105
|
-
# The request ID must be a valid UUID with the exception that zero
|
106
|
-
# not supported (00000000-0000-0000-0000-000000000000).
|
104
|
+
# `request_id` will be ignored for at least 60 minutes since the first
|
105
|
+
# request. The request ID must be a valid UUID with the exception that zero
|
106
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
107
107
|
class CancelJobRequest
|
108
108
|
include ::Google::Protobuf::MessageExts
|
109
109
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -113,14 +113,14 @@ module Google
|
|
113
113
|
# @!attribute [rw] name
|
114
114
|
# @return [::String]
|
115
115
|
# Required. The `name` of the job to delete.
|
116
|
-
# Format: projects/\\{project_id}/locations
|
116
|
+
# Format: projects/\\{project_id}/locations/global/jobs/\\{job_id} .
|
117
117
|
# @!attribute [rw] request_id
|
118
118
|
# @return [::String]
|
119
119
|
# Optional. An optional request ID to identify requests. Specify a unique
|
120
120
|
# request ID in case you need to retry your request. Requests with same
|
121
|
-
# `request_id` will ignored for at least 60 minutes since the first
|
122
|
-
# The request ID must be a valid UUID with the exception that zero
|
123
|
-
# not supported (00000000-0000-0000-0000-000000000000).
|
121
|
+
# `request_id` will be ignored for at least 60 minutes since the first
|
122
|
+
# request. The request ID must be a valid UUID with the exception that zero
|
123
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
124
124
|
class DeleteJobRequest
|
125
125
|
include ::Google::Protobuf::MessageExts
|
126
126
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -136,7 +136,7 @@ module Google
|
|
136
136
|
# @!attribute [r] operation
|
137
137
|
# @return [::String]
|
138
138
|
# Output only. The unique operation resource name.
|
139
|
-
# Format: projects/\\{project}/locations
|
139
|
+
# Format: projects/\\{project}/locations/global/operations/\\{operation}.
|
140
140
|
# @!attribute [r] create_time
|
141
141
|
# @return [::Google::Protobuf::Timestamp]
|
142
142
|
# Output only. The time the operation was created.
|
@@ -150,7 +150,8 @@ module Google
|
|
150
150
|
# have
|
151
151
|
# {::Google::Longrunning::Operation#error google.longrunning.Operation.error}
|
152
152
|
# value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
|
153
|
-
# corresponding to
|
153
|
+
# corresponding to
|
154
|
+
# `[Code.CANCELLED][google.rpc.Code.CANCELLED]`.
|
154
155
|
# @!attribute [r] api_version
|
155
156
|
# @return [::String]
|
156
157
|
# Output only. API version used to start the operation.
|
@@ -143,9 +143,9 @@ module Google
|
|
143
143
|
# upon.
|
144
144
|
# `manifest_location` should either be
|
145
145
|
# 1) An absolute path to the object in the format of
|
146
|
-
# gs://bucket_name/path/file_name.csv
|
146
|
+
# `gs://bucket_name/path/file_name.csv`.
|
147
147
|
# 2) An absolute path with a single wildcard character in the file name, for
|
148
|
-
# example gs://bucket_name/path/file_name*.csv
|
148
|
+
# example `gs://bucket_name/path/file_name*.csv`.
|
149
149
|
# If manifest location is specified with a wildcard, objects in all manifest
|
150
150
|
# files matching the pattern will be acted upon.
|
151
151
|
class Manifest
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-storage_batch_operations-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -13,22 +13,16 @@ dependencies:
|
|
13
13
|
name: gapic-common
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- - "
|
17
|
-
- !ruby/object:Gem::Version
|
18
|
-
version: 0.25.0
|
19
|
-
- - "<"
|
16
|
+
- - "~>"
|
20
17
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
18
|
+
version: '1.0'
|
22
19
|
type: :runtime
|
23
20
|
prerelease: false
|
24
21
|
version_requirements: !ruby/object:Gem::Requirement
|
25
22
|
requirements:
|
26
|
-
- - "
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
version: 0.25.0
|
29
|
-
- - "<"
|
23
|
+
- - "~>"
|
30
24
|
- !ruby/object:Gem::Version
|
31
|
-
version:
|
25
|
+
version: '1.0'
|
32
26
|
- !ruby/object:Gem::Dependency
|
33
27
|
name: google-cloud-errors
|
34
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,22 +41,16 @@ dependencies:
|
|
47
41
|
name: google-cloud-location
|
48
42
|
requirement: !ruby/object:Gem::Requirement
|
49
43
|
requirements:
|
50
|
-
- - "
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '0.7'
|
53
|
-
- - "<"
|
44
|
+
- - "~>"
|
54
45
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
46
|
+
version: '1.0'
|
56
47
|
type: :runtime
|
57
48
|
prerelease: false
|
58
49
|
version_requirements: !ruby/object:Gem::Requirement
|
59
50
|
requirements:
|
60
|
-
- - "
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0.7'
|
63
|
-
- - "<"
|
51
|
+
- - "~>"
|
64
52
|
- !ruby/object:Gem::Version
|
65
|
-
version:
|
53
|
+
version: '1.0'
|
66
54
|
description: google-cloud-storage_batch_operations-v1 is the official client library
|
67
55
|
for the Storage Batch Operations V1 API. Note that google-cloud-storage_batch_operations-v1
|
68
56
|
is a version-specific client library. For most uses, we recommend installing the
|
@@ -119,7 +107,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
119
107
|
requirements:
|
120
108
|
- - ">="
|
121
109
|
- !ruby/object:Gem::Version
|
122
|
-
version: '3.
|
110
|
+
version: '3.1'
|
123
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
112
|
requirements:
|
125
113
|
- - ">="
|