google-cloud-storage-control-v2 1.0.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -21
- data/lib/google/cloud/storage/control/v2/storage_control/client.rb +37 -11
- data/lib/google/cloud/storage/control/v2/storage_control/operations.rb +19 -15
- data/lib/google/cloud/storage/control/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/longrunning/operations.rb +23 -14
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecd251f82ca05a9d3e847e9c639d45f17db8ed5e2b7aeb6d0309602b436189a8
|
4
|
+
data.tar.gz: 55ad913d80ec65b34d9fb919a7271db7ee0c23d46492c1e9cc33c1c2fcf0bb3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0134349d39575cc45221fc65eb01af36404bd41b2892d8b1d7b08cb8e1e525f82a5ec30f40ce5e346746c41cb3125dc8b341b4f9c01d8c1f4bb184a567577f7d'
|
7
|
+
data.tar.gz: 6c1cc79d7930c3903987bf67b5360acca4d6d45e16ed73b1d69ab9a8b36603721c6bc452ce302d6dddd644557cb1e56ea5000a74e31a9bc61600531eb9888fa1
|
data/README.md
CHANGED
@@ -43,40 +43,50 @@ for class and method documentation.
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/storage/docs/overview)
|
44
44
|
for general usage information.
|
45
45
|
|
46
|
-
##
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
46
|
+
## Debug Logging
|
47
|
+
|
48
|
+
This library comes with opt-in Debug Logging that can help you troubleshoot
|
49
|
+
your application's integration with the API. When logging is activated, key
|
50
|
+
events such as requests and responses, along with data payloads and metadata
|
51
|
+
such as headers and client configuration, are logged to the standard error
|
52
|
+
stream.
|
53
|
+
|
54
|
+
**WARNING:** Client Library Debug Logging includes your data payloads in
|
55
|
+
plaintext, which could include sensitive data such as PII for yourself or your
|
56
|
+
customers, private keys, or other security data that could be compromising if
|
57
|
+
leaked. Always practice good data hygiene with your application logs, and follow
|
58
|
+
the principle of least access. Google also recommends that Client Library Debug
|
59
|
+
Logging be enabled only temporarily during active debugging, and not used
|
60
|
+
permanently in production.
|
61
|
+
|
62
|
+
To enable logging, set the environment variable `GOOGLE_SDK_RUBY_LOGGING_GEMS`
|
63
|
+
to the value `all`. Alternatively, you can set the value to a comma-delimited
|
64
|
+
list of client library gem names. This will select the default logging behavior,
|
65
|
+
which writes logs to the standard error stream. On a local workstation, this may
|
66
|
+
result in logs appearing on the console. When running on a Google Cloud hosting
|
67
|
+
service such as [Google Cloud Run](https://cloud.google.com/run), this generally
|
68
|
+
results in logs appearing alongside your application logs in the
|
69
|
+
[Google Cloud Logging](https://cloud.google.com/logging/) service.
|
70
|
+
|
71
|
+
You can customize logging by modifying the `logger` configuration when
|
72
|
+
constructing a client object. For example:
|
55
73
|
|
56
74
|
```ruby
|
75
|
+
require "google/cloud/storage/control/v2"
|
57
76
|
require "logger"
|
58
77
|
|
59
|
-
|
60
|
-
|
61
|
-
def logger
|
62
|
-
LOGGER
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
# Define a gRPC module-level logger method before grpc/logconfig.rb loads.
|
67
|
-
module GRPC
|
68
|
-
extend MyLogger
|
78
|
+
client = ::Google::Cloud::Storage::Control::V2::StorageControl::Client.new do |config|
|
79
|
+
config.logger = Logger.new "my-app.log"
|
69
80
|
end
|
70
81
|
```
|
71
82
|
|
72
|
-
|
73
83
|
## Google Cloud Samples
|
74
84
|
|
75
85
|
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
86
|
|
77
87
|
## Supported Ruby Versions
|
78
88
|
|
79
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
80
90
|
|
81
91
|
Google provides official support for Ruby versions that are actively supported
|
82
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -197,8 +197,19 @@ module Google
|
|
197
197
|
universe_domain: @config.universe_domain,
|
198
198
|
channel_args: @config.channel_args,
|
199
199
|
interceptors: @config.interceptors,
|
200
|
-
channel_pool_config: @config.channel_pool
|
200
|
+
channel_pool_config: @config.channel_pool,
|
201
|
+
logger: @config.logger
|
201
202
|
)
|
203
|
+
|
204
|
+
@storage_control_stub.stub_logger&.info do |entry|
|
205
|
+
entry.set_system_name
|
206
|
+
entry.set_service
|
207
|
+
entry.message = "Created client for #{entry.service}"
|
208
|
+
entry.set_credentials_fields credentials
|
209
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
210
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
211
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
212
|
+
end
|
202
213
|
end
|
203
214
|
|
204
215
|
##
|
@@ -208,6 +219,15 @@ module Google
|
|
208
219
|
#
|
209
220
|
attr_reader :operations_client
|
210
221
|
|
222
|
+
##
|
223
|
+
# The logger used for request/response debug logging.
|
224
|
+
#
|
225
|
+
# @return [Logger]
|
226
|
+
#
|
227
|
+
def logger
|
228
|
+
@storage_control_stub.logger
|
229
|
+
end
|
230
|
+
|
211
231
|
# Service calls
|
212
232
|
|
213
233
|
##
|
@@ -309,7 +329,6 @@ module Google
|
|
309
329
|
|
310
330
|
@storage_control_stub.call_rpc :create_folder, request, options: options do |response, operation|
|
311
331
|
yield response, operation if block_given?
|
312
|
-
return response
|
313
332
|
end
|
314
333
|
rescue ::GRPC::BadStatus => e
|
315
334
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -409,7 +428,6 @@ module Google
|
|
409
428
|
|
410
429
|
@storage_control_stub.call_rpc :delete_folder, request, options: options do |response, operation|
|
411
430
|
yield response, operation if block_given?
|
412
|
-
return response
|
413
431
|
end
|
414
432
|
rescue ::GRPC::BadStatus => e
|
415
433
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -509,7 +527,6 @@ module Google
|
|
509
527
|
|
510
528
|
@storage_control_stub.call_rpc :get_folder, request, options: options do |response, operation|
|
511
529
|
yield response, operation if block_given?
|
512
|
-
return response
|
513
530
|
end
|
514
531
|
rescue ::GRPC::BadStatus => e
|
515
532
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -628,7 +645,7 @@ module Google
|
|
628
645
|
@storage_control_stub.call_rpc :list_folders, request, options: options do |response, operation|
|
629
646
|
response = ::Gapic::PagedEnumerable.new @storage_control_stub, :list_folders, request, response, operation, options
|
630
647
|
yield response, operation if block_given?
|
631
|
-
|
648
|
+
throw :response, response
|
632
649
|
end
|
633
650
|
rescue ::GRPC::BadStatus => e
|
634
651
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -741,7 +758,7 @@ module Google
|
|
741
758
|
@storage_control_stub.call_rpc :rename_folder, request, options: options do |response, operation|
|
742
759
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
743
760
|
yield response, operation if block_given?
|
744
|
-
|
761
|
+
throw :response, response
|
745
762
|
end
|
746
763
|
rescue ::GRPC::BadStatus => e
|
747
764
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -837,7 +854,6 @@ module Google
|
|
837
854
|
|
838
855
|
@storage_control_stub.call_rpc :get_storage_layout, request, options: options do |response, operation|
|
839
856
|
yield response, operation if block_given?
|
840
|
-
return response
|
841
857
|
end
|
842
858
|
rescue ::GRPC::BadStatus => e
|
843
859
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -934,7 +950,6 @@ module Google
|
|
934
950
|
|
935
951
|
@storage_control_stub.call_rpc :create_managed_folder, request, options: options do |response, operation|
|
936
952
|
yield response, operation if block_given?
|
937
|
-
return response
|
938
953
|
end
|
939
954
|
rescue ::GRPC::BadStatus => e
|
940
955
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1039,7 +1054,6 @@ module Google
|
|
1039
1054
|
|
1040
1055
|
@storage_control_stub.call_rpc :delete_managed_folder, request, options: options do |response, operation|
|
1041
1056
|
yield response, operation if block_given?
|
1042
|
-
return response
|
1043
1057
|
end
|
1044
1058
|
rescue ::GRPC::BadStatus => e
|
1045
1059
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1139,7 +1153,6 @@ module Google
|
|
1139
1153
|
|
1140
1154
|
@storage_control_stub.call_rpc :get_managed_folder, request, options: options do |response, operation|
|
1141
1155
|
yield response, operation if block_given?
|
1142
|
-
return response
|
1143
1156
|
end
|
1144
1157
|
rescue ::GRPC::BadStatus => e
|
1145
1158
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1242,7 +1255,7 @@ module Google
|
|
1242
1255
|
@storage_control_stub.call_rpc :list_managed_folders, request, options: options do |response, operation|
|
1243
1256
|
response = ::Gapic::PagedEnumerable.new @storage_control_stub, :list_managed_folders, request, response, operation, options
|
1244
1257
|
yield response, operation if block_given?
|
1245
|
-
|
1258
|
+
throw :response, response
|
1246
1259
|
end
|
1247
1260
|
rescue ::GRPC::BadStatus => e
|
1248
1261
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1292,6 +1305,13 @@ module Google
|
|
1292
1305
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1293
1306
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1294
1307
|
# * (`nil`) indicating no credentials
|
1308
|
+
#
|
1309
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1310
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1311
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1312
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1313
|
+
# For more information, refer to [Validate credential configurations from external
|
1314
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1295
1315
|
# @return [::Object]
|
1296
1316
|
# @!attribute [rw] scope
|
1297
1317
|
# The OAuth scopes
|
@@ -1331,6 +1351,11 @@ module Google
|
|
1331
1351
|
# default endpoint URL. The default value of nil uses the environment
|
1332
1352
|
# universe (usually the default "googleapis.com" universe).
|
1333
1353
|
# @return [::String,nil]
|
1354
|
+
# @!attribute [rw] logger
|
1355
|
+
# A custom logger to use for request/response debug logging, or the value
|
1356
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
1357
|
+
# explicitly disable logging.
|
1358
|
+
# @return [::Logger,:default,nil]
|
1334
1359
|
#
|
1335
1360
|
class Configuration
|
1336
1361
|
extend ::Gapic::Config
|
@@ -1355,6 +1380,7 @@ module Google
|
|
1355
1380
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
1356
1381
|
config_attr :quota_project, nil, ::String, nil
|
1357
1382
|
config_attr :universe_domain, nil, ::String, nil
|
1383
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
1358
1384
|
|
1359
1385
|
# @private
|
1360
1386
|
def initialize parent_config = nil
|
@@ -125,14 +125,6 @@ module Google
|
|
125
125
|
# Lists operations that match the specified filter in the request. If the
|
126
126
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
127
127
|
#
|
128
|
-
# NOTE: the `name` binding allows API services to override the binding
|
129
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
130
|
-
# override the binding, API services can add a binding such as
|
131
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
132
|
-
# For backwards compatibility, the default name includes the operations
|
133
|
-
# collection id, however overriding users must ensure the name binding
|
134
|
-
# is the parent resource, without the operations collection id.
|
135
|
-
#
|
136
128
|
# @overload list_operations(request, options = nil)
|
137
129
|
# Pass arguments to `list_operations` via a request object, either of type
|
138
130
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -222,7 +214,7 @@ module Google
|
|
222
214
|
wrap_lro_operation = ->(op_response) { ::Gapic::Operation.new op_response, @operations_client }
|
223
215
|
response = ::Gapic::PagedEnumerable.new @operations_stub, :list_operations, request, response, operation, options, format_resource: wrap_lro_operation
|
224
216
|
yield response, operation if block_given?
|
225
|
-
|
217
|
+
throw :response, response
|
226
218
|
end
|
227
219
|
rescue ::GRPC::BadStatus => e
|
228
220
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -318,7 +310,7 @@ module Google
|
|
318
310
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
319
311
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
320
312
|
yield response, operation if block_given?
|
321
|
-
|
313
|
+
throw :response, response
|
322
314
|
end
|
323
315
|
rescue ::GRPC::BadStatus => e
|
324
316
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -407,7 +399,6 @@ module Google
|
|
407
399
|
|
408
400
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
409
401
|
yield response, operation if block_given?
|
410
|
-
return response
|
411
402
|
end
|
412
403
|
rescue ::GRPC::BadStatus => e
|
413
404
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -422,8 +413,9 @@ module Google
|
|
422
413
|
# other methods to check whether the cancellation succeeded or whether the
|
423
414
|
# operation completed despite cancellation. On successful cancellation,
|
424
415
|
# the operation is not deleted; instead, it becomes an operation with
|
425
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
426
|
-
# corresponding to
|
416
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
417
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
418
|
+
# `Code.CANCELLED`.
|
427
419
|
#
|
428
420
|
# @overload cancel_operation(request, options = nil)
|
429
421
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -502,7 +494,6 @@ module Google
|
|
502
494
|
|
503
495
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
504
496
|
yield response, operation if block_given?
|
505
|
-
return response
|
506
497
|
end
|
507
498
|
rescue ::GRPC::BadStatus => e
|
508
499
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -600,7 +591,7 @@ module Google
|
|
600
591
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
601
592
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
602
593
|
yield response, operation if block_given?
|
603
|
-
|
594
|
+
throw :response, response
|
604
595
|
end
|
605
596
|
rescue ::GRPC::BadStatus => e
|
606
597
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -650,6 +641,13 @@ module Google
|
|
650
641
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
651
642
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
652
643
|
# * (`nil`) indicating no credentials
|
644
|
+
#
|
645
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
646
|
+
# external source for authentication to Google Cloud, you must validate it before
|
647
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
648
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
649
|
+
# For more information, refer to [Validate credential configurations from external
|
650
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
653
651
|
# @return [::Object]
|
654
652
|
# @!attribute [rw] scope
|
655
653
|
# The OAuth scopes
|
@@ -689,6 +687,11 @@ module Google
|
|
689
687
|
# default endpoint URL. The default value of nil uses the environment
|
690
688
|
# universe (usually the default "googleapis.com" universe).
|
691
689
|
# @return [::String,nil]
|
690
|
+
# @!attribute [rw] logger
|
691
|
+
# A custom logger to use for request/response debug logging, or the value
|
692
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
693
|
+
# explicitly disable logging.
|
694
|
+
# @return [::Logger,:default,nil]
|
692
695
|
#
|
693
696
|
class Configuration
|
694
697
|
extend ::Gapic::Config
|
@@ -713,6 +716,7 @@ module Google
|
|
713
716
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
714
717
|
config_attr :quota_project, nil, ::String, nil
|
715
718
|
config_attr :universe_domain, nil, ::String, nil
|
719
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
716
720
|
|
717
721
|
# @private
|
718
722
|
def initialize parent_config = nil
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
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.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -212,6 +215,12 @@ module Google
|
|
212
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
213
216
|
# This feature will be enabled by default 1 month after launching the
|
214
217
|
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
215
224
|
class ExperimentalFeatures
|
216
225
|
include ::Google::Protobuf::MessageExts
|
217
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -297,9 +306,28 @@ module Google
|
|
297
306
|
# @!attribute [rw] common
|
298
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
299
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
300
319
|
class GoSettings
|
301
320
|
include ::Google::Protobuf::MessageExts
|
302
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
303
331
|
end
|
304
332
|
|
305
333
|
# Describes the generator configuration for a method.
|
@@ -375,6 +403,17 @@ module Google
|
|
375
403
|
end
|
376
404
|
end
|
377
405
|
|
406
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
407
|
+
# a service for client libraries.
|
408
|
+
# @!attribute [rw] methods
|
409
|
+
# @return [::Array<::String>]
|
410
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
411
|
+
# on public client surfaces.
|
412
|
+
class SelectiveGapicGeneration
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
end
|
416
|
+
|
378
417
|
# The organization for which the client libraries are being published.
|
379
418
|
# Affects the url where generated docs are published, etc.
|
380
419
|
module ClientLibraryOrganization
|
@@ -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.
|
@@ -82,7 +88,8 @@ module Google
|
|
82
88
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
89
|
end
|
84
90
|
|
85
|
-
# The response message for
|
91
|
+
# The response message for
|
92
|
+
# Operations.ListOperations.
|
86
93
|
# @!attribute [rw] operations
|
87
94
|
# @return [::Array<::Google::Longrunning::Operation>]
|
88
95
|
# A list of operations that matches the specified filter in the request.
|
@@ -94,7 +101,8 @@ module Google
|
|
94
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
102
|
end
|
96
103
|
|
97
|
-
# The request message for
|
104
|
+
# The request message for
|
105
|
+
# Operations.CancelOperation.
|
98
106
|
# @!attribute [rw] name
|
99
107
|
# @return [::String]
|
100
108
|
# The name of the operation resource to be cancelled.
|
@@ -103,7 +111,8 @@ module Google
|
|
103
111
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
112
|
end
|
105
113
|
|
106
|
-
# The request message for
|
114
|
+
# The request message for
|
115
|
+
# Operations.DeleteOperation.
|
107
116
|
# @!attribute [rw] name
|
108
117
|
# @return [::String]
|
109
118
|
# The name of the operation resource to be deleted.
|
@@ -112,7 +121,8 @@ module Google
|
|
112
121
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
122
|
end
|
114
123
|
|
115
|
-
# The request message for
|
124
|
+
# The request message for
|
125
|
+
# Operations.WaitOperation.
|
116
126
|
# @!attribute [rw] name
|
117
127
|
# @return [::String]
|
118
128
|
# The name of the operation resource to wait on.
|
@@ -130,13 +140,12 @@ module Google
|
|
130
140
|
#
|
131
141
|
# Example:
|
132
142
|
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# }
|
139
|
-
# }
|
143
|
+
# rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
144
|
+
# option (google.longrunning.operation_info) = {
|
145
|
+
# response_type: "ExportResponse"
|
146
|
+
# metadata_type: "ExportMetadata"
|
147
|
+
# };
|
148
|
+
# }
|
140
149
|
# @!attribute [rw] response_type
|
141
150
|
# @return [::String]
|
142
151
|
# Required. The message name of the primary return type for this
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-storage-control-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -90,7 +89,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
90
89
|
licenses:
|
91
90
|
- Apache-2.0
|
92
91
|
metadata: {}
|
93
|
-
post_install_message:
|
94
92
|
rdoc_options: []
|
95
93
|
require_paths:
|
96
94
|
- lib
|
@@ -98,15 +96,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
96
|
requirements:
|
99
97
|
- - ">="
|
100
98
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
99
|
+
version: '3.0'
|
102
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
101
|
requirements:
|
104
102
|
- - ">="
|
105
103
|
- !ruby/object:Gem::Version
|
106
104
|
version: '0'
|
107
105
|
requirements: []
|
108
|
-
rubygems_version: 3.
|
109
|
-
signing_key:
|
106
|
+
rubygems_version: 3.6.2
|
110
107
|
specification_version: 4
|
111
108
|
summary: The Storage Control API lets you perform metadata-specific, control plane,
|
112
109
|
and long-running operations. The Storage Control API creates one space to perform
|