google-cloud-storage_transfer-v1 0.8.0 → 1.10.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/AUTHENTICATION.md +72 -99
- data/README.md +31 -21
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/client.rb +147 -52
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/operations.rb +93 -31
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/rest/client.rb +128 -47
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/rest/operations.rb +107 -52
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/rest/service_stub.rb +148 -87
- data/lib/google/cloud/storage_transfer/v1/version.rb +1 -1
- data/lib/google/storagetransfer/v1/transfer_pb.rb +3 -26
- data/lib/google/storagetransfer/v1/transfer_types_pb.rb +6 -28
- data/proto_docs/google/api/client.rb +231 -19
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/longrunning/operations.rb +41 -14
- data/proto_docs/google/protobuf/any.rb +2 -1
- data/proto_docs/google/storagetransfer/v1/transfer.rb +25 -10
- data/proto_docs/google/storagetransfer/v1/transfer_types.rb +216 -68
- data/proto_docs/google/type/date.rb +10 -7
- data/proto_docs/google/type/timeofday.rb +10 -6
- metadata +8 -129
|
@@ -21,12 +21,18 @@ module Google
|
|
|
21
21
|
module Api
|
|
22
22
|
# Required information for every language.
|
|
23
23
|
# @!attribute [rw] reference_docs_uri
|
|
24
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
24
25
|
# @return [::String]
|
|
25
26
|
# Link to automatically generated reference documentation. Example:
|
|
26
27
|
# https://cloud.google.com/nodejs/docs/reference/asset/latest
|
|
27
28
|
# @!attribute [rw] destinations
|
|
28
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
|
29
30
|
# The destination where API teams want this client library to be published.
|
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
|
34
|
+
#
|
|
35
|
+
# Note: This field should not be used in most cases.
|
|
30
36
|
class CommonLanguageSettings
|
|
31
37
|
include ::Google::Protobuf::MessageExts
|
|
32
38
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -117,6 +123,10 @@ module Google
|
|
|
117
123
|
# @return [::String]
|
|
118
124
|
# Optional link to proto reference documentation. Example:
|
|
119
125
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
|
126
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
|
127
|
+
# @return [::String]
|
|
128
|
+
# Optional link to REST reference documentation. Example:
|
|
129
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
|
120
130
|
class Publishing
|
|
121
131
|
include ::Google::Protobuf::MessageExts
|
|
122
132
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -133,9 +143,10 @@ module Google
|
|
|
133
143
|
#
|
|
134
144
|
# Example of a YAML configuration::
|
|
135
145
|
#
|
|
136
|
-
#
|
|
137
|
-
#
|
|
138
|
-
#
|
|
146
|
+
# publishing:
|
|
147
|
+
# library_settings:
|
|
148
|
+
# java_settings:
|
|
149
|
+
# library_package: com.google.cloud.pubsub.v1
|
|
139
150
|
# @!attribute [rw] service_class_names
|
|
140
151
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
141
152
|
# Configure the Java class name to use instead of the service's for its
|
|
@@ -147,11 +158,11 @@ module Google
|
|
|
147
158
|
#
|
|
148
159
|
# Example of a YAML configuration::
|
|
149
160
|
#
|
|
150
|
-
#
|
|
151
|
-
#
|
|
152
|
-
#
|
|
153
|
-
#
|
|
154
|
-
#
|
|
161
|
+
# publishing:
|
|
162
|
+
# java_settings:
|
|
163
|
+
# service_class_names:
|
|
164
|
+
# - google.pubsub.v1.Publisher: TopicAdmin
|
|
165
|
+
# - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
|
155
166
|
# @!attribute [rw] common
|
|
156
167
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
157
168
|
# Some settings.
|
|
@@ -182,6 +193,20 @@ module Google
|
|
|
182
193
|
# @!attribute [rw] common
|
|
183
194
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
184
195
|
# Some settings.
|
|
196
|
+
# @!attribute [rw] library_package
|
|
197
|
+
# @return [::String]
|
|
198
|
+
# The package name to use in Php. Clobbers the php_namespace option
|
|
199
|
+
# set in the protobuf. This should be used **only** by APIs
|
|
200
|
+
# who have already set the language_settings.php.package_name" field
|
|
201
|
+
# in gapic.yaml. API teams should use the protobuf php_namespace option
|
|
202
|
+
# where possible.
|
|
203
|
+
#
|
|
204
|
+
# Example of a YAML configuration::
|
|
205
|
+
#
|
|
206
|
+
# publishing:
|
|
207
|
+
# library_settings:
|
|
208
|
+
# php_settings:
|
|
209
|
+
# library_package: Google\Cloud\PubSub\V1
|
|
185
210
|
class PhpSettings
|
|
186
211
|
include ::Google::Protobuf::MessageExts
|
|
187
212
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -191,9 +216,38 @@ module Google
|
|
|
191
216
|
# @!attribute [rw] common
|
|
192
217
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
193
218
|
# Some settings.
|
|
219
|
+
# @!attribute [rw] experimental_features
|
|
220
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
|
221
|
+
# Experimental features to be included during client library generation.
|
|
194
222
|
class PythonSettings
|
|
195
223
|
include ::Google::Protobuf::MessageExts
|
|
196
224
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
225
|
+
|
|
226
|
+
# Experimental features to be included during client library generation.
|
|
227
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
|
228
|
+
# by default.
|
|
229
|
+
# @!attribute [rw] rest_async_io_enabled
|
|
230
|
+
# @return [::Boolean]
|
|
231
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
|
232
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
|
233
|
+
# This feature will be enabled by default 1 month after launching the
|
|
234
|
+
# feature in preview packages.
|
|
235
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
|
236
|
+
# @return [::Boolean]
|
|
237
|
+
# Enables generation of protobuf code using new types that are more
|
|
238
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
|
239
|
+
# enabled by default 1 month after launching the feature in preview
|
|
240
|
+
# packages.
|
|
241
|
+
# @!attribute [rw] unversioned_package_disabled
|
|
242
|
+
# @return [::Boolean]
|
|
243
|
+
# Disables generation of an unversioned Python package for this client
|
|
244
|
+
# library. This means that the module names will need to be versioned in
|
|
245
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
|
246
|
+
# of `import google.cloud.library`.
|
|
247
|
+
class ExperimentalFeatures
|
|
248
|
+
include ::Google::Protobuf::MessageExts
|
|
249
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
250
|
+
end
|
|
197
251
|
end
|
|
198
252
|
|
|
199
253
|
# Settings for Node client libraries.
|
|
@@ -275,9 +329,30 @@ module Google
|
|
|
275
329
|
# @!attribute [rw] common
|
|
276
330
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
277
331
|
# Some settings.
|
|
332
|
+
# @!attribute [rw] renamed_services
|
|
333
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
334
|
+
# Map of service names to renamed services. Keys are the package relative
|
|
335
|
+
# service names and values are the name to be used for the service client
|
|
336
|
+
# and call options.
|
|
337
|
+
#
|
|
338
|
+
# Example:
|
|
339
|
+
#
|
|
340
|
+
# publishing:
|
|
341
|
+
# go_settings:
|
|
342
|
+
# renamed_services:
|
|
343
|
+
# Publisher: TopicAdmin
|
|
278
344
|
class GoSettings
|
|
279
345
|
include ::Google::Protobuf::MessageExts
|
|
280
346
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
347
|
+
|
|
348
|
+
# @!attribute [rw] key
|
|
349
|
+
# @return [::String]
|
|
350
|
+
# @!attribute [rw] value
|
|
351
|
+
# @return [::String]
|
|
352
|
+
class RenamedServicesEntry
|
|
353
|
+
include ::Google::Protobuf::MessageExts
|
|
354
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
355
|
+
end
|
|
281
356
|
end
|
|
282
357
|
|
|
283
358
|
# Describes the generator configuration for a method.
|
|
@@ -285,6 +360,13 @@ module Google
|
|
|
285
360
|
# @return [::String]
|
|
286
361
|
# The fully qualified name of the method, for which the options below apply.
|
|
287
362
|
# This is used to find the method to apply the options.
|
|
363
|
+
#
|
|
364
|
+
# Example:
|
|
365
|
+
#
|
|
366
|
+
# publishing:
|
|
367
|
+
# method_settings:
|
|
368
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
369
|
+
# # method settings for CreateFolder...
|
|
288
370
|
# @!attribute [rw] long_running
|
|
289
371
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
290
372
|
# Describes settings to use for long-running operations when generating
|
|
@@ -293,17 +375,40 @@ module Google
|
|
|
293
375
|
#
|
|
294
376
|
# Example of a YAML configuration::
|
|
295
377
|
#
|
|
296
|
-
#
|
|
297
|
-
#
|
|
298
|
-
#
|
|
299
|
-
#
|
|
300
|
-
#
|
|
301
|
-
#
|
|
302
|
-
#
|
|
303
|
-
#
|
|
304
|
-
#
|
|
305
|
-
#
|
|
306
|
-
#
|
|
378
|
+
# publishing:
|
|
379
|
+
# method_settings:
|
|
380
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
381
|
+
# long_running:
|
|
382
|
+
# initial_poll_delay: 60s # 1 minute
|
|
383
|
+
# poll_delay_multiplier: 1.5
|
|
384
|
+
# max_poll_delay: 360s # 6 minutes
|
|
385
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
386
|
+
# @!attribute [rw] auto_populated_fields
|
|
387
|
+
# @return [::Array<::String>]
|
|
388
|
+
# List of top-level fields of the request message, that should be
|
|
389
|
+
# automatically populated by the client libraries based on their
|
|
390
|
+
# (google.api.field_info).format. Currently supported format: UUID4.
|
|
391
|
+
#
|
|
392
|
+
# Example of a YAML configuration:
|
|
393
|
+
#
|
|
394
|
+
# publishing:
|
|
395
|
+
# method_settings:
|
|
396
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
|
397
|
+
# auto_populated_fields:
|
|
398
|
+
# - request_id
|
|
399
|
+
# @!attribute [rw] batching
|
|
400
|
+
# @return [::Google::Api::BatchingConfigProto]
|
|
401
|
+
# Batching configuration for an API method in client libraries.
|
|
402
|
+
#
|
|
403
|
+
# Example of a YAML configuration:
|
|
404
|
+
#
|
|
405
|
+
# publishing:
|
|
406
|
+
# method_settings:
|
|
407
|
+
# - selector: google.example.v1.ExampleService.BatchCreateExample
|
|
408
|
+
# batching:
|
|
409
|
+
# element_count_threshold: 1000
|
|
410
|
+
# request_byte_threshold: 100000000
|
|
411
|
+
# delay_threshold_millis: 10
|
|
307
412
|
class MethodSettings
|
|
308
413
|
include ::Google::Protobuf::MessageExts
|
|
309
414
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -336,6 +441,98 @@ module Google
|
|
|
336
441
|
end
|
|
337
442
|
end
|
|
338
443
|
|
|
444
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
|
445
|
+
# a service for client libraries.
|
|
446
|
+
#
|
|
447
|
+
# Note: This feature should not be used in most cases.
|
|
448
|
+
# @!attribute [rw] methods
|
|
449
|
+
# @return [::Array<::String>]
|
|
450
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
|
451
|
+
# on public client surfaces.
|
|
452
|
+
# @!attribute [rw] generate_omitted_as_internal
|
|
453
|
+
# @return [::Boolean]
|
|
454
|
+
# Setting this to true indicates to the client generators that methods
|
|
455
|
+
# that would be excluded from the generation should instead be generated
|
|
456
|
+
# in a way that indicates these methods should not be consumed by
|
|
457
|
+
# end users. How this is expressed is up to individual language
|
|
458
|
+
# implementations to decide. Some examples may be: added annotations,
|
|
459
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
|
460
|
+
class SelectiveGapicGeneration
|
|
461
|
+
include ::Google::Protobuf::MessageExts
|
|
462
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
# `BatchingConfigProto` defines the batching configuration for an API method.
|
|
466
|
+
# @!attribute [rw] thresholds
|
|
467
|
+
# @return [::Google::Api::BatchingSettingsProto]
|
|
468
|
+
# The thresholds which trigger a batched request to be sent.
|
|
469
|
+
# @!attribute [rw] batch_descriptor
|
|
470
|
+
# @return [::Google::Api::BatchingDescriptorProto]
|
|
471
|
+
# The request and response fields used in batching.
|
|
472
|
+
class BatchingConfigProto
|
|
473
|
+
include ::Google::Protobuf::MessageExts
|
|
474
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
# `BatchingSettingsProto` specifies a set of batching thresholds, each of
|
|
478
|
+
# which acts as a trigger to send a batch of messages as a request. At least
|
|
479
|
+
# one threshold must be positive nonzero.
|
|
480
|
+
# @!attribute [rw] element_count_threshold
|
|
481
|
+
# @return [::Integer]
|
|
482
|
+
# The number of elements of a field collected into a batch which, if
|
|
483
|
+
# exceeded, causes the batch to be sent.
|
|
484
|
+
# @!attribute [rw] request_byte_threshold
|
|
485
|
+
# @return [::Integer]
|
|
486
|
+
# The aggregated size of the batched field which, if exceeded, causes the
|
|
487
|
+
# batch to be sent. This size is computed by aggregating the sizes of the
|
|
488
|
+
# request field to be batched, not of the entire request message.
|
|
489
|
+
# @!attribute [rw] delay_threshold
|
|
490
|
+
# @return [::Google::Protobuf::Duration]
|
|
491
|
+
# The duration after which a batch should be sent, starting from the addition
|
|
492
|
+
# of the first message to that batch.
|
|
493
|
+
# @!attribute [rw] element_count_limit
|
|
494
|
+
# @return [::Integer]
|
|
495
|
+
# The maximum number of elements collected in a batch that could be accepted
|
|
496
|
+
# by server.
|
|
497
|
+
# @!attribute [rw] request_byte_limit
|
|
498
|
+
# @return [::Integer]
|
|
499
|
+
# The maximum size of the request that could be accepted by server.
|
|
500
|
+
# @!attribute [rw] flow_control_element_limit
|
|
501
|
+
# @return [::Integer]
|
|
502
|
+
# The maximum number of elements allowed by flow control.
|
|
503
|
+
# @!attribute [rw] flow_control_byte_limit
|
|
504
|
+
# @return [::Integer]
|
|
505
|
+
# The maximum size of data allowed by flow control.
|
|
506
|
+
# @!attribute [rw] flow_control_limit_exceeded_behavior
|
|
507
|
+
# @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
|
|
508
|
+
# The behavior to take when the flow control limit is exceeded.
|
|
509
|
+
class BatchingSettingsProto
|
|
510
|
+
include ::Google::Protobuf::MessageExts
|
|
511
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
512
|
+
end
|
|
513
|
+
|
|
514
|
+
# `BatchingDescriptorProto` specifies the fields of the request message to be
|
|
515
|
+
# used for batching, and, optionally, the fields of the response message to be
|
|
516
|
+
# used for demultiplexing.
|
|
517
|
+
# @!attribute [rw] batched_field
|
|
518
|
+
# @return [::String]
|
|
519
|
+
# The repeated field in the request message to be aggregated by batching.
|
|
520
|
+
# @!attribute [rw] discriminator_fields
|
|
521
|
+
# @return [::Array<::String>]
|
|
522
|
+
# A list of the fields in the request message. Two requests will be batched
|
|
523
|
+
# together only if the values of every field specified in
|
|
524
|
+
# `request_discriminator_fields` is equal between the two requests.
|
|
525
|
+
# @!attribute [rw] subresponse_field
|
|
526
|
+
# @return [::String]
|
|
527
|
+
# Optional. When present, indicates the field in the response message to be
|
|
528
|
+
# used to demultiplex the response into multiple response messages, in
|
|
529
|
+
# correspondence with the multiple request messages originally batched
|
|
530
|
+
# together.
|
|
531
|
+
class BatchingDescriptorProto
|
|
532
|
+
include ::Google::Protobuf::MessageExts
|
|
533
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
534
|
+
end
|
|
535
|
+
|
|
339
536
|
# The organization for which the client libraries are being published.
|
|
340
537
|
# Affects the url where generated docs are published, etc.
|
|
341
538
|
module ClientLibraryOrganization
|
|
@@ -377,5 +574,20 @@ module Google
|
|
|
377
574
|
# Publish the library to package managers like nuget.org and npmjs.com.
|
|
378
575
|
PACKAGE_MANAGER = 20
|
|
379
576
|
end
|
|
577
|
+
|
|
578
|
+
# The behavior to take when the flow control limit is exceeded.
|
|
579
|
+
module FlowControlLimitExceededBehaviorProto
|
|
580
|
+
# Default behavior, system-defined.
|
|
581
|
+
UNSET_BEHAVIOR = 0
|
|
582
|
+
|
|
583
|
+
# Stop operation, raise error.
|
|
584
|
+
THROW_EXCEPTION = 1
|
|
585
|
+
|
|
586
|
+
# Pause operation until limit clears.
|
|
587
|
+
BLOCK = 2
|
|
588
|
+
|
|
589
|
+
# Continue operation, disregard limit.
|
|
590
|
+
IGNORE = 3
|
|
591
|
+
end
|
|
380
592
|
end
|
|
381
593
|
end
|
|
@@ -124,8 +124,13 @@ module Google
|
|
|
124
124
|
# @return [::String]
|
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
|
128
|
-
#
|
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
|
131
|
+
# match the `plural` value.
|
|
132
|
+
#
|
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
|
130
135
|
#
|
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
|
@@ -40,9 +40,11 @@ module Google
|
|
|
40
40
|
# @!attribute [rw] error
|
|
41
41
|
# @return [::Google::Rpc::Status]
|
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
|
43
|
+
#
|
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
43
45
|
# @!attribute [rw] response
|
|
44
46
|
# @return [::Google::Protobuf::Any]
|
|
45
|
-
# The normal response of the operation
|
|
47
|
+
# The normal, successful response of the operation. If the original
|
|
46
48
|
# method returns no data on success, such as `Delete`, the response is
|
|
47
49
|
# `google.protobuf.Empty`. If the original method is standard
|
|
48
50
|
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
|
@@ -50,12 +52,15 @@ module Google
|
|
|
50
52
|
# is the original method name. For example, if the original method name
|
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
|
52
54
|
# `TakeSnapshotResponse`.
|
|
55
|
+
#
|
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
53
57
|
class Operation
|
|
54
58
|
include ::Google::Protobuf::MessageExts
|
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
56
60
|
end
|
|
57
61
|
|
|
58
|
-
# The request message for
|
|
62
|
+
# The request message for
|
|
63
|
+
# Operations.GetOperation.
|
|
59
64
|
# @!attribute [rw] name
|
|
60
65
|
# @return [::String]
|
|
61
66
|
# The name of the operation resource.
|
|
@@ -64,7 +69,8 @@ module Google
|
|
|
64
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
65
70
|
end
|
|
66
71
|
|
|
67
|
-
# The request message for
|
|
72
|
+
# The request message for
|
|
73
|
+
# Operations.ListOperations.
|
|
68
74
|
# @!attribute [rw] name
|
|
69
75
|
# @return [::String]
|
|
70
76
|
# The name of the operation's parent resource.
|
|
@@ -77,24 +83,44 @@ module Google
|
|
|
77
83
|
# @!attribute [rw] page_token
|
|
78
84
|
# @return [::String]
|
|
79
85
|
# The standard list page token.
|
|
86
|
+
# @!attribute [rw] return_partial_success
|
|
87
|
+
# @return [::Boolean]
|
|
88
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
89
|
+
# and those that are unreachable are returned in the
|
|
90
|
+
# [ListOperationsResponse.unreachable] field.
|
|
91
|
+
#
|
|
92
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
93
|
+
# is set to `"projects/example/locations/-"`.
|
|
94
|
+
#
|
|
95
|
+
# This field is not by default supported and will result in an
|
|
96
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
97
|
+
# service or product specific documentation.
|
|
80
98
|
class ListOperationsRequest
|
|
81
99
|
include ::Google::Protobuf::MessageExts
|
|
82
100
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
83
101
|
end
|
|
84
102
|
|
|
85
|
-
# The response message for
|
|
103
|
+
# The response message for
|
|
104
|
+
# Operations.ListOperations.
|
|
86
105
|
# @!attribute [rw] operations
|
|
87
106
|
# @return [::Array<::Google::Longrunning::Operation>]
|
|
88
107
|
# A list of operations that matches the specified filter in the request.
|
|
89
108
|
# @!attribute [rw] next_page_token
|
|
90
109
|
# @return [::String]
|
|
91
110
|
# The standard List next-page token.
|
|
111
|
+
# @!attribute [rw] unreachable
|
|
112
|
+
# @return [::Array<::String>]
|
|
113
|
+
# Unordered list. Unreachable resources. Populated when the request sets
|
|
114
|
+
# `ListOperationsRequest.return_partial_success` and reads across
|
|
115
|
+
# collections e.g. when attempting to list all resources across all supported
|
|
116
|
+
# locations.
|
|
92
117
|
class ListOperationsResponse
|
|
93
118
|
include ::Google::Protobuf::MessageExts
|
|
94
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
95
120
|
end
|
|
96
121
|
|
|
97
|
-
# The request message for
|
|
122
|
+
# The request message for
|
|
123
|
+
# Operations.CancelOperation.
|
|
98
124
|
# @!attribute [rw] name
|
|
99
125
|
# @return [::String]
|
|
100
126
|
# The name of the operation resource to be cancelled.
|
|
@@ -103,7 +129,8 @@ module Google
|
|
|
103
129
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
104
130
|
end
|
|
105
131
|
|
|
106
|
-
# The request message for
|
|
132
|
+
# The request message for
|
|
133
|
+
# Operations.DeleteOperation.
|
|
107
134
|
# @!attribute [rw] name
|
|
108
135
|
# @return [::String]
|
|
109
136
|
# The name of the operation resource to be deleted.
|
|
@@ -112,7 +139,8 @@ module Google
|
|
|
112
139
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
113
140
|
end
|
|
114
141
|
|
|
115
|
-
# The request message for
|
|
142
|
+
# The request message for
|
|
143
|
+
# Operations.WaitOperation.
|
|
116
144
|
# @!attribute [rw] name
|
|
117
145
|
# @return [::String]
|
|
118
146
|
# The name of the operation resource to wait on.
|
|
@@ -130,13 +158,12 @@ module Google
|
|
|
130
158
|
#
|
|
131
159
|
# Example:
|
|
132
160
|
#
|
|
133
|
-
#
|
|
134
|
-
#
|
|
135
|
-
#
|
|
136
|
-
#
|
|
137
|
-
#
|
|
138
|
-
# }
|
|
139
|
-
# }
|
|
161
|
+
# rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
|
162
|
+
# option (google.longrunning.operation_info) = {
|
|
163
|
+
# response_type: "ExportResponse"
|
|
164
|
+
# metadata_type: "ExportMetadata"
|
|
165
|
+
# };
|
|
166
|
+
# }
|
|
140
167
|
# @!attribute [rw] response_type
|
|
141
168
|
# @return [::String]
|
|
142
169
|
# Required. The message name of the primary return type for this
|
|
@@ -129,7 +129,8 @@ module Google
|
|
|
129
129
|
#
|
|
130
130
|
# Note: this functionality is not currently available in the official
|
|
131
131
|
# protobuf release, and it is not used for type URLs beginning with
|
|
132
|
-
# type.googleapis.com.
|
|
132
|
+
# type.googleapis.com. As of May 2023, there are no widely used type server
|
|
133
|
+
# implementations and no plans to implement one.
|
|
133
134
|
#
|
|
134
135
|
# Schemes other than `http`, `https` (or the empty scheme) might be
|
|
135
136
|
# used with implementation specific semantics.
|
|
@@ -111,17 +111,32 @@ module Google
|
|
|
111
111
|
# @!attribute [rw] filter
|
|
112
112
|
# @return [::String]
|
|
113
113
|
# Required. A list of query parameters specified as JSON text in the form of:
|
|
114
|
-
# `{"projectId":"my_project_id",
|
|
115
|
-
# "jobNames":["jobid1","jobid2",...],
|
|
116
|
-
# "jobStatuses":["status1","status2",...]}`
|
|
117
114
|
#
|
|
118
|
-
#
|
|
119
|
-
#
|
|
120
|
-
#
|
|
121
|
-
#
|
|
122
|
-
#
|
|
123
|
-
#
|
|
124
|
-
#
|
|
115
|
+
# ```
|
|
116
|
+
# {
|
|
117
|
+
# "projectId":"my_project_id",
|
|
118
|
+
# "jobNames":["jobid1","jobid2",...],
|
|
119
|
+
# "jobStatuses":["status1","status2",...],
|
|
120
|
+
# "dataBackend":"QUERY_REPLICATION_CONFIGS",
|
|
121
|
+
# "sourceBucket":"source-bucket-name",
|
|
122
|
+
# "sinkBucket":"sink-bucket-name",
|
|
123
|
+
# }
|
|
124
|
+
# ```
|
|
125
|
+
#
|
|
126
|
+
# The JSON formatting in the example is for display only; provide the
|
|
127
|
+
# query parameters without spaces or line breaks.
|
|
128
|
+
#
|
|
129
|
+
# * `projectId` is required.
|
|
130
|
+
# * Since `jobNames` and `jobStatuses` support multiple values, their values
|
|
131
|
+
# must be specified with array notation. `jobNames` and `jobStatuses` are
|
|
132
|
+
# optional. Valid values are case-insensitive:
|
|
133
|
+
# * {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::ENABLED ENABLED}
|
|
134
|
+
# * {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::DISABLED DISABLED}
|
|
135
|
+
# * {::Google::Cloud::StorageTransfer::V1::TransferJob::Status::DELETED DELETED}
|
|
136
|
+
# * Specify `"dataBackend":"QUERY_REPLICATION_CONFIGS"` to return a list of
|
|
137
|
+
# cross-bucket replication jobs.
|
|
138
|
+
# * Limit the results to jobs from a particular bucket with `sourceBucket`
|
|
139
|
+
# and/or to a particular bucket with `sinkBucket`.
|
|
125
140
|
# @!attribute [rw] page_size
|
|
126
141
|
# @return [::Integer]
|
|
127
142
|
# The list page size. The max allowed value is 256.
|