google-cloud-storage-control-v2 1.13.0 → 1.13.1
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/control/v2/rest.rb +1 -1
- data/lib/google/cloud/storage/control/v2/storage_control/client.rb +20 -20
- data/lib/google/cloud/storage/control/v2/storage_control/credentials.rb +1 -1
- data/lib/google/cloud/storage/control/v2/storage_control/operations.rb +1 -1
- data/lib/google/cloud/storage/control/v2/storage_control/paths.rb +1 -1
- data/lib/google/cloud/storage/control/v2/storage_control/rest/client.rb +1 -1
- data/lib/google/cloud/storage/control/v2/storage_control/rest/operations.rb +3 -3
- data/lib/google/cloud/storage/control/v2/storage_control/rest/service_stub.rb +5 -5
- data/lib/google/cloud/storage/control/v2/storage_control/rest.rb +1 -1
- data/lib/google/cloud/storage/control/v2/storage_control.rb +1 -1
- data/lib/google/cloud/storage/control/v2/version.rb +1 -1
- data/lib/google/cloud/storage/control/v2.rb +1 -1
- data/lib/google/storage/control/v2/storage_control_services_pb.rb +1 -1
- data/lib/google-cloud-storage-control-v2.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/field_info.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/api/routing.rb +1 -1
- data/proto_docs/google/iam/v1/iam_policy.rb +1 -1
- data/proto_docs/google/iam/v1/options.rb +1 -1
- data/proto_docs/google/iam/v1/policy.rb +1 -1
- data/proto_docs/google/longrunning/operations.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/field_mask.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/rpc/status.rb +1 -1
- data/proto_docs/google/storage/control/v2/storage_control.rb +1 -1
- data/proto_docs/google/type/expr.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '08442494391e11987b0a33da8c8ca965c5a1b2e90b8468e98cc4286ef0887250'
|
|
4
|
+
data.tar.gz: 2cf0abc8d5cb98d3433fb21632650e2297b1cb4d66fcc30fda04e97a69497605
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 361186882cd06a80b9fc828b56f355767841ca6e45fa9bb6071907791d8fe73c3345fb66a0bfd233355e41b08692694f782a5c5b7eb47945aa18af6af4a9a426
|
|
7
|
+
data.tar.gz: bef5e85f41877154f54a74fe89999536702ff00bbc7091925c13414c9afe63fe91fdebca6babf1fcdf53156d8c4b45fe9ea674e3696d534aea5e68d9000f2849
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -509,7 +509,7 @@ module Google
|
|
|
509
509
|
|
|
510
510
|
header_params = {}
|
|
511
511
|
if request.name
|
|
512
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
512
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.name
|
|
513
513
|
if regex_match
|
|
514
514
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
515
515
|
end
|
|
@@ -608,7 +608,7 @@ module Google
|
|
|
608
608
|
|
|
609
609
|
header_params = {}
|
|
610
610
|
if request.name
|
|
611
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
611
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.name
|
|
612
612
|
if regex_match
|
|
613
613
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
614
614
|
end
|
|
@@ -838,7 +838,7 @@ module Google
|
|
|
838
838
|
|
|
839
839
|
header_params = {}
|
|
840
840
|
if request.name
|
|
841
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
841
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.name
|
|
842
842
|
if regex_match
|
|
843
843
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
844
844
|
end
|
|
@@ -947,7 +947,7 @@ module Google
|
|
|
947
947
|
|
|
948
948
|
header_params = {}
|
|
949
949
|
if request.name
|
|
950
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
950
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.name
|
|
951
951
|
if regex_match
|
|
952
952
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
953
953
|
end
|
|
@@ -1044,7 +1044,7 @@ module Google
|
|
|
1044
1044
|
|
|
1045
1045
|
header_params = {}
|
|
1046
1046
|
if request.name
|
|
1047
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
1047
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.name
|
|
1048
1048
|
if regex_match
|
|
1049
1049
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
1050
1050
|
end
|
|
@@ -1244,7 +1244,7 @@ module Google
|
|
|
1244
1244
|
|
|
1245
1245
|
header_params = {}
|
|
1246
1246
|
if request.name
|
|
1247
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
1247
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.name
|
|
1248
1248
|
if regex_match
|
|
1249
1249
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
1250
1250
|
end
|
|
@@ -1343,7 +1343,7 @@ module Google
|
|
|
1343
1343
|
|
|
1344
1344
|
header_params = {}
|
|
1345
1345
|
if request.name
|
|
1346
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
1346
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.name
|
|
1347
1347
|
if regex_match
|
|
1348
1348
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
1349
1349
|
end
|
|
@@ -1555,7 +1555,7 @@ module Google
|
|
|
1555
1555
|
|
|
1556
1556
|
header_params = {}
|
|
1557
1557
|
if request.managed_folder&.name
|
|
1558
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
1558
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.managed_folder.name
|
|
1559
1559
|
if regex_match
|
|
1560
1560
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
1561
1561
|
end
|
|
@@ -1769,7 +1769,7 @@ module Google
|
|
|
1769
1769
|
|
|
1770
1770
|
header_params = {}
|
|
1771
1771
|
if request.anywhere_cache&.name
|
|
1772
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
1772
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.anywhere_cache.name
|
|
1773
1773
|
if regex_match
|
|
1774
1774
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
1775
1775
|
end
|
|
@@ -1867,7 +1867,7 @@ module Google
|
|
|
1867
1867
|
|
|
1868
1868
|
header_params = {}
|
|
1869
1869
|
if request.name
|
|
1870
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
1870
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.name
|
|
1871
1871
|
if regex_match
|
|
1872
1872
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
1873
1873
|
end
|
|
@@ -1960,7 +1960,7 @@ module Google
|
|
|
1960
1960
|
|
|
1961
1961
|
header_params = {}
|
|
1962
1962
|
if request.name
|
|
1963
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
1963
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.name
|
|
1964
1964
|
if regex_match
|
|
1965
1965
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
1966
1966
|
end
|
|
@@ -2053,7 +2053,7 @@ module Google
|
|
|
2053
2053
|
|
|
2054
2054
|
header_params = {}
|
|
2055
2055
|
if request.name
|
|
2056
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
2056
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.name
|
|
2057
2057
|
if regex_match
|
|
2058
2058
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
2059
2059
|
end
|
|
@@ -2145,7 +2145,7 @@ module Google
|
|
|
2145
2145
|
|
|
2146
2146
|
header_params = {}
|
|
2147
2147
|
if request.name
|
|
2148
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
2148
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.name
|
|
2149
2149
|
if regex_match
|
|
2150
2150
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
2151
2151
|
end
|
|
@@ -2456,7 +2456,7 @@ module Google
|
|
|
2456
2456
|
|
|
2457
2457
|
header_params = {}
|
|
2458
2458
|
if request.rapid_cache&.name
|
|
2459
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
2459
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.rapid_cache.name
|
|
2460
2460
|
if regex_match
|
|
2461
2461
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
2462
2462
|
end
|
|
@@ -2550,7 +2550,7 @@ module Google
|
|
|
2550
2550
|
|
|
2551
2551
|
header_params = {}
|
|
2552
2552
|
if request.name
|
|
2553
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
2553
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.name
|
|
2554
2554
|
if regex_match
|
|
2555
2555
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
2556
2556
|
end
|
|
@@ -3289,7 +3289,7 @@ module Google
|
|
|
3289
3289
|
header_params["bucket"] = request.resource
|
|
3290
3290
|
end
|
|
3291
3291
|
if request.resource
|
|
3292
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
3292
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.resource
|
|
3293
3293
|
if regex_match
|
|
3294
3294
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
3295
3295
|
end
|
|
@@ -3396,7 +3396,7 @@ module Google
|
|
|
3396
3396
|
header_params["bucket"] = request.resource
|
|
3397
3397
|
end
|
|
3398
3398
|
if request.resource
|
|
3399
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(
|
|
3399
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.resource
|
|
3400
3400
|
if regex_match
|
|
3401
3401
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
3402
3402
|
end
|
|
@@ -3499,13 +3499,13 @@ module Google
|
|
|
3499
3499
|
header_params["bucket"] = request.resource
|
|
3500
3500
|
end
|
|
3501
3501
|
if request.resource
|
|
3502
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)/objects(
|
|
3502
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)/objects(?:/(?<__wildcard__>.*))?$}.match request.resource
|
|
3503
3503
|
if regex_match
|
|
3504
3504
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
3505
3505
|
end
|
|
3506
3506
|
end
|
|
3507
3507
|
if request.resource
|
|
3508
|
-
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)/managedFolders(
|
|
3508
|
+
regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)/managedFolders(?:/(?<__wildcard__>.*))?$}.match request.resource
|
|
3509
3509
|
if regex_match
|
|
3510
3510
|
header_params["bucket"] = regex_match["bucket".to_s]
|
|
3511
3511
|
end
|
|
@@ -871,7 +871,7 @@ module Google
|
|
|
871
871
|
uri_method: :get,
|
|
872
872
|
uri_template: "/v1/{name}",
|
|
873
873
|
matches: [
|
|
874
|
-
["name", %r{^operations(
|
|
874
|
+
["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
|
|
875
875
|
]
|
|
876
876
|
)
|
|
877
877
|
transcoder.transcode request_pb
|
|
@@ -892,7 +892,7 @@ module Google
|
|
|
892
892
|
uri_method: :delete,
|
|
893
893
|
uri_template: "/v1/{name}",
|
|
894
894
|
matches: [
|
|
895
|
-
["name", %r{^operations(
|
|
895
|
+
["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
|
|
896
896
|
]
|
|
897
897
|
)
|
|
898
898
|
transcoder.transcode request_pb
|
|
@@ -914,7 +914,7 @@ module Google
|
|
|
914
914
|
uri_template: "/v1/{name}:cancel",
|
|
915
915
|
body: "*",
|
|
916
916
|
matches: [
|
|
917
|
-
["name", %r{^operations(
|
|
917
|
+
["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
|
|
918
918
|
]
|
|
919
919
|
)
|
|
920
920
|
transcoder.transcode request_pb
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -831,7 +831,7 @@ module Google
|
|
|
831
831
|
uri_method: :delete,
|
|
832
832
|
uri_template: "/v2/{name}",
|
|
833
833
|
matches: [
|
|
834
|
-
["name", %r{^projects/[^/]+/buckets/[^/]+/folders(
|
|
834
|
+
["name", %r{^projects/[^/]+/buckets/[^/]+/folders(?:/(?<__wildcard__>.*))?$}, true]
|
|
835
835
|
]
|
|
836
836
|
)
|
|
837
837
|
transcoder.transcode request_pb
|
|
@@ -852,7 +852,7 @@ module Google
|
|
|
852
852
|
uri_method: :get,
|
|
853
853
|
uri_template: "/v2/{name}",
|
|
854
854
|
matches: [
|
|
855
|
-
["name", %r{^projects/[^/]+/buckets/[^/]+/folders(
|
|
855
|
+
["name", %r{^projects/[^/]+/buckets/[^/]+/folders(?:/(?<__wildcard__>.*))?$}, true]
|
|
856
856
|
]
|
|
857
857
|
)
|
|
858
858
|
transcoder.transcode request_pb
|
|
@@ -895,7 +895,7 @@ module Google
|
|
|
895
895
|
uri_template: "/v2/{name}:rename",
|
|
896
896
|
body: "*",
|
|
897
897
|
matches: [
|
|
898
|
-
["name", %r{^projects/[^/]+/buckets/[^/]+/folders(
|
|
898
|
+
["name", %r{^projects/[^/]+/buckets/[^/]+/folders(?:/(?<__wildcard__>.*))?$}, true]
|
|
899
899
|
]
|
|
900
900
|
)
|
|
901
901
|
transcoder.transcode request_pb
|
|
@@ -917,7 +917,7 @@ module Google
|
|
|
917
917
|
uri_template: "/v2/{name}:deleteRecursive",
|
|
918
918
|
body: "*",
|
|
919
919
|
matches: [
|
|
920
|
-
["name", %r{^projects/[^/]+/buckets/[^/]+/folders(
|
|
920
|
+
["name", %r{^projects/[^/]+/buckets/[^/]+/folders(?:/(?<__wildcard__>.*))?$}, true]
|
|
921
921
|
]
|
|
922
922
|
)
|
|
923
923
|
transcoder.transcode request_pb
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# Source: google/storage/control/v2/storage_control.proto for package 'Google.Cloud.Storage.Control.V2'
|
|
3
3
|
# Original file comments:
|
|
4
|
-
# Copyright
|
|
4
|
+
# Copyright 2026 Google LLC
|
|
5
5
|
#
|
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|