google-cloud-storage-control-v2 0.a → 0.1.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/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +144 -8
- data/lib/google/cloud/storage/control/v2/storage_control/client.rb +1480 -0
- data/lib/google/cloud/storage/control/v2/storage_control/credentials.rb +53 -0
- data/lib/google/cloud/storage/control/v2/storage_control/operations.rb +803 -0
- data/lib/google/cloud/storage/control/v2/storage_control/paths.rb +107 -0
- data/lib/google/cloud/storage/control/v2/storage_control.rb +52 -0
- data/lib/google/cloud/storage/control/v2/version.rb +7 -2
- data/lib/google/cloud/storage/control/v2.rb +42 -0
- data/lib/google/storage/control/v2/storage_control_pb.rb +73 -0
- data/lib/google/storage/control/v2/storage_control_services_pb.rb +77 -0
- data/lib/google-cloud-storage-control-v2.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +399 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +65 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/api/routing.rb +459 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/storage/control/v2/storage_control.rb +474 -0
- metadata +77 -10
@@ -0,0 +1,474 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Storage
|
23
|
+
module Control
|
24
|
+
module V2
|
25
|
+
# Contains information about a pending rename operation.
|
26
|
+
# @!attribute [r] operation
|
27
|
+
# @return [::String]
|
28
|
+
# Output only. The name of the rename operation.
|
29
|
+
class PendingRenameInfo
|
30
|
+
include ::Google::Protobuf::MessageExts
|
31
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
end
|
33
|
+
|
34
|
+
# A folder resource. This resource can only exist in a hierarchical namespace
|
35
|
+
# enabled bucket.
|
36
|
+
# Hierarchical namespace buckets are in allowlist preview.
|
37
|
+
# @!attribute [rw] name
|
38
|
+
# @return [::String]
|
39
|
+
# Identifier. The name of this folder.
|
40
|
+
# Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
|
41
|
+
# @!attribute [r] metageneration
|
42
|
+
# @return [::Integer]
|
43
|
+
# Output only. The version of the metadata for this folder. Used for
|
44
|
+
# preconditions and for detecting changes in metadata.
|
45
|
+
# @!attribute [r] create_time
|
46
|
+
# @return [::Google::Protobuf::Timestamp]
|
47
|
+
# Output only. The creation time of the folder.
|
48
|
+
# @!attribute [r] update_time
|
49
|
+
# @return [::Google::Protobuf::Timestamp]
|
50
|
+
# Output only. The modification time of the folder.
|
51
|
+
# @!attribute [r] pending_rename_info
|
52
|
+
# @return [::Google::Cloud::Storage::Control::V2::PendingRenameInfo]
|
53
|
+
# Output only. Only present if the folder is part of an ongoing RenameFolder
|
54
|
+
# operation. Contains information which can be used to query the operation
|
55
|
+
# status. The presence of this field also indicates all write operations are
|
56
|
+
# blocked for this folder, including folder, managed folder, and object
|
57
|
+
# operations.
|
58
|
+
class Folder
|
59
|
+
include ::Google::Protobuf::MessageExts
|
60
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
61
|
+
end
|
62
|
+
|
63
|
+
# Request message for GetFolder. This operation is only applicable to a
|
64
|
+
# hierarchical namespace enabled bucket.
|
65
|
+
# Hierarchical namespace buckets are in allowlist preview.
|
66
|
+
# @!attribute [rw] name
|
67
|
+
# @return [::String]
|
68
|
+
# Required. Name of the folder.
|
69
|
+
# Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
|
70
|
+
# @!attribute [rw] if_metageneration_match
|
71
|
+
# @return [::Integer]
|
72
|
+
# Makes the operation only succeed conditional on whether the folder's
|
73
|
+
# current metageneration matches the given value.
|
74
|
+
# @!attribute [rw] if_metageneration_not_match
|
75
|
+
# @return [::Integer]
|
76
|
+
# Makes the operation only succeed conditional on whether the folder's
|
77
|
+
# current metageneration does not match the given value.
|
78
|
+
# @!attribute [rw] request_id
|
79
|
+
# @return [::String]
|
80
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
81
|
+
# format, but other formats are still accepted.
|
82
|
+
class GetFolderRequest
|
83
|
+
include ::Google::Protobuf::MessageExts
|
84
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
85
|
+
end
|
86
|
+
|
87
|
+
# Request message for CreateFolder. This operation is only applicable to a
|
88
|
+
# hierarchical namespace enabled bucket.
|
89
|
+
# Hierarchical namespace buckets are in allowlist preview.
|
90
|
+
# @!attribute [rw] parent
|
91
|
+
# @return [::String]
|
92
|
+
# Required. Name of the bucket in which the folder will reside. The bucket
|
93
|
+
# must be a hierarchical namespace enabled bucket.
|
94
|
+
# @!attribute [rw] folder
|
95
|
+
# @return [::Google::Cloud::Storage::Control::V2::Folder]
|
96
|
+
# Required. Properties of the new folder being created.
|
97
|
+
# The bucket and name of the folder are specified in the parent and folder_id
|
98
|
+
# fields, respectively. Populating those fields in `folder` will result in an
|
99
|
+
# error.
|
100
|
+
# @!attribute [rw] folder_id
|
101
|
+
# @return [::String]
|
102
|
+
# Required. The full name of a folder, including all its parent folders.
|
103
|
+
# Folders use single '/' characters as a delimiter.
|
104
|
+
# The folder_id must end with a slash.
|
105
|
+
# For example, the folder_id of "books/biographies/" would create a new
|
106
|
+
# "biographies/" folder under the "books/" folder.
|
107
|
+
# @!attribute [rw] recursive
|
108
|
+
# @return [::Boolean]
|
109
|
+
# Optional. If true, parent folder doesn't have to be present and all missing
|
110
|
+
# ancestor folders will be created atomically.
|
111
|
+
# @!attribute [rw] request_id
|
112
|
+
# @return [::String]
|
113
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
114
|
+
# format, but other formats are still accepted.
|
115
|
+
class CreateFolderRequest
|
116
|
+
include ::Google::Protobuf::MessageExts
|
117
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
118
|
+
end
|
119
|
+
|
120
|
+
# Request message for DeleteFolder. This operation is only applicable to a
|
121
|
+
# hierarchical namespace enabled bucket.
|
122
|
+
# Hierarchical namespace buckets are in allowlist preview.
|
123
|
+
# @!attribute [rw] name
|
124
|
+
# @return [::String]
|
125
|
+
# Required. Name of the folder.
|
126
|
+
# Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
|
127
|
+
# @!attribute [rw] if_metageneration_match
|
128
|
+
# @return [::Integer]
|
129
|
+
# Makes the operation only succeed conditional on whether the folder's
|
130
|
+
# current metageneration matches the given value.
|
131
|
+
# @!attribute [rw] if_metageneration_not_match
|
132
|
+
# @return [::Integer]
|
133
|
+
# Makes the operation only succeed conditional on whether the folder's
|
134
|
+
# current metageneration does not match the given value.
|
135
|
+
# @!attribute [rw] request_id
|
136
|
+
# @return [::String]
|
137
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
138
|
+
# format, but other formats are still accepted.
|
139
|
+
class DeleteFolderRequest
|
140
|
+
include ::Google::Protobuf::MessageExts
|
141
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
142
|
+
end
|
143
|
+
|
144
|
+
# Request message for ListFolders. This operation is only applicable to a
|
145
|
+
# hierarchical namespace enabled bucket.
|
146
|
+
# Hierarchical namespace buckets are in allowlist preview.
|
147
|
+
# @!attribute [rw] parent
|
148
|
+
# @return [::String]
|
149
|
+
# Required. Name of the bucket in which to look for folders. The bucket must
|
150
|
+
# be a hierarchical namespace enabled bucket.
|
151
|
+
# @!attribute [rw] page_size
|
152
|
+
# @return [::Integer]
|
153
|
+
# Optional. Maximum number of folders to return in a single response. The
|
154
|
+
# service will use this parameter or 1,000 items, whichever is smaller.
|
155
|
+
# @!attribute [rw] page_token
|
156
|
+
# @return [::String]
|
157
|
+
# Optional. A previously-returned page token representing part of the larger
|
158
|
+
# set of results to view.
|
159
|
+
# @!attribute [rw] prefix
|
160
|
+
# @return [::String]
|
161
|
+
# Optional. Filter results to folders whose names begin with this prefix.
|
162
|
+
# If set, the value must either be an empty string or end with a '/'.
|
163
|
+
# @!attribute [rw] delimiter
|
164
|
+
# @return [::String]
|
165
|
+
# Optional. If set, returns results in a directory-like mode. The results
|
166
|
+
# will only include folders that either exactly match the above prefix, or
|
167
|
+
# are one level below the prefix. The only supported value is '/'.
|
168
|
+
# @!attribute [rw] lexicographic_start
|
169
|
+
# @return [::String]
|
170
|
+
# Optional. Filter results to folders whose names are lexicographically equal
|
171
|
+
# to or after lexicographic_start. If lexicographic_end is also set, the
|
172
|
+
# folders listed have names between lexicographic_start (inclusive) and
|
173
|
+
# lexicographic_end (exclusive).
|
174
|
+
# @!attribute [rw] lexicographic_end
|
175
|
+
# @return [::String]
|
176
|
+
# Optional. Filter results to folders whose names are lexicographically
|
177
|
+
# before lexicographic_end. If lexicographic_start is also set, the folders
|
178
|
+
# listed have names between lexicographic_start (inclusive) and
|
179
|
+
# lexicographic_end (exclusive).
|
180
|
+
# @!attribute [rw] request_id
|
181
|
+
# @return [::String]
|
182
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
183
|
+
# format, but other formats are still accepted.
|
184
|
+
class ListFoldersRequest
|
185
|
+
include ::Google::Protobuf::MessageExts
|
186
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
187
|
+
end
|
188
|
+
|
189
|
+
# Response message for ListFolders.
|
190
|
+
# @!attribute [rw] folders
|
191
|
+
# @return [::Array<::Google::Cloud::Storage::Control::V2::Folder>]
|
192
|
+
# The list of child folders
|
193
|
+
# @!attribute [rw] next_page_token
|
194
|
+
# @return [::String]
|
195
|
+
# The continuation token, used to page through large result sets. Provide
|
196
|
+
# this value in a subsequent request to return the next page of results.
|
197
|
+
class ListFoldersResponse
|
198
|
+
include ::Google::Protobuf::MessageExts
|
199
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
200
|
+
end
|
201
|
+
|
202
|
+
# Request message for RenameFolder. This operation is only applicable to a
|
203
|
+
# hierarchical namespace enabled bucket.
|
204
|
+
# Hierarchical namespace buckets are in allowlist preview.
|
205
|
+
# @!attribute [rw] name
|
206
|
+
# @return [::String]
|
207
|
+
# Required. Name of the source folder being renamed.
|
208
|
+
# Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
|
209
|
+
# @!attribute [rw] destination_folder_id
|
210
|
+
# @return [::String]
|
211
|
+
# Required. The destination folder ID, e.g. `foo/bar/`.
|
212
|
+
# @!attribute [rw] if_metageneration_match
|
213
|
+
# @return [::Integer]
|
214
|
+
# Makes the operation only succeed conditional on whether the source
|
215
|
+
# folder's current metageneration matches the given value.
|
216
|
+
# @!attribute [rw] if_metageneration_not_match
|
217
|
+
# @return [::Integer]
|
218
|
+
# Makes the operation only succeed conditional on whether the source
|
219
|
+
# folder's current metageneration does not match the given value.
|
220
|
+
# @!attribute [rw] request_id
|
221
|
+
# @return [::String]
|
222
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
223
|
+
# format, but other formats are still accepted. This request is only
|
224
|
+
# idempotent if a `request_id` is provided.
|
225
|
+
class RenameFolderRequest
|
226
|
+
include ::Google::Protobuf::MessageExts
|
227
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
228
|
+
end
|
229
|
+
|
230
|
+
# The message contains metadata that is common to all Storage Control
|
231
|
+
# long-running operations, present in its `google.longrunning.Operation`
|
232
|
+
# messages, and accessible via `metadata.common_metadata`.
|
233
|
+
# @!attribute [r] create_time
|
234
|
+
# @return [::Google::Protobuf::Timestamp]
|
235
|
+
# Output only. The time the operation was created.
|
236
|
+
# @!attribute [r] end_time
|
237
|
+
# @return [::Google::Protobuf::Timestamp]
|
238
|
+
# Output only. The time the operation finished running.
|
239
|
+
# @!attribute [r] update_time
|
240
|
+
# @return [::Google::Protobuf::Timestamp]
|
241
|
+
# Output only. The time the operation was last modified.
|
242
|
+
# @!attribute [r] type
|
243
|
+
# @return [::String]
|
244
|
+
# Output only. The type of operation invoked.
|
245
|
+
# @!attribute [r] requested_cancellation
|
246
|
+
# @return [::Boolean]
|
247
|
+
# Output only. Identifies whether the user has requested cancellation.
|
248
|
+
# @!attribute [r] progress_percent
|
249
|
+
# @return [::Integer]
|
250
|
+
# Output only. The estimated progress of the operation in percentage [0,
|
251
|
+
# 100]. The value -1 means the progress is unknown.
|
252
|
+
class CommonLongRunningOperationMetadata
|
253
|
+
include ::Google::Protobuf::MessageExts
|
254
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
255
|
+
end
|
256
|
+
|
257
|
+
# Message returned in the metadata field of the Operation resource for
|
258
|
+
# RenameFolder operations.
|
259
|
+
# @!attribute [rw] common_metadata
|
260
|
+
# @return [::Google::Cloud::Storage::Control::V2::CommonLongRunningOperationMetadata]
|
261
|
+
# Generic metadata for the long running operation.
|
262
|
+
# @!attribute [rw] source_folder_id
|
263
|
+
# @return [::String]
|
264
|
+
# The path of the source folder.
|
265
|
+
# @!attribute [rw] destination_folder_id
|
266
|
+
# @return [::String]
|
267
|
+
# The path of the destination folder.
|
268
|
+
class RenameFolderMetadata
|
269
|
+
include ::Google::Protobuf::MessageExts
|
270
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
271
|
+
end
|
272
|
+
|
273
|
+
# The storage layout configuration of a bucket.
|
274
|
+
# @!attribute [r] name
|
275
|
+
# @return [::String]
|
276
|
+
# Output only. The name of the StorageLayout resource.
|
277
|
+
# Format: `projects/{project}/buckets/{bucket}/storageLayout`
|
278
|
+
# @!attribute [r] location
|
279
|
+
# @return [::String]
|
280
|
+
# Output only. The location of the bucket.
|
281
|
+
# @!attribute [r] location_type
|
282
|
+
# @return [::String]
|
283
|
+
# Output only. The location type of the bucket (region, dual-region,
|
284
|
+
# multi-region, etc).
|
285
|
+
# @!attribute [r] custom_placement_config
|
286
|
+
# @return [::Google::Cloud::Storage::Control::V2::StorageLayout::CustomPlacementConfig]
|
287
|
+
# Output only. The data placement configuration for custom dual region. If
|
288
|
+
# there is no configuration, this is not a custom dual region bucket.
|
289
|
+
# @!attribute [r] hierarchical_namespace
|
290
|
+
# @return [::Google::Cloud::Storage::Control::V2::StorageLayout::HierarchicalNamespace]
|
291
|
+
# Output only. The bucket's hierarchical namespace configuration. If there is
|
292
|
+
# no configuration, the hierarchical namespace is disabled.
|
293
|
+
class StorageLayout
|
294
|
+
include ::Google::Protobuf::MessageExts
|
295
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
296
|
+
|
297
|
+
# Configuration for Custom Dual Regions. It should specify precisely two
|
298
|
+
# eligible regions within the same Multiregion. More information on regions
|
299
|
+
# may be found [https://cloud.google.com/storage/docs/locations][here].
|
300
|
+
# @!attribute [rw] data_locations
|
301
|
+
# @return [::Array<::String>]
|
302
|
+
# List of locations to use for data placement.
|
303
|
+
class CustomPlacementConfig
|
304
|
+
include ::Google::Protobuf::MessageExts
|
305
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
306
|
+
end
|
307
|
+
|
308
|
+
# Configuration for a bucket's hierarchical namespace feature.
|
309
|
+
# @!attribute [rw] enabled
|
310
|
+
# @return [::Boolean]
|
311
|
+
# Enables the hierarchical namespace feature.
|
312
|
+
class HierarchicalNamespace
|
313
|
+
include ::Google::Protobuf::MessageExts
|
314
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
# Request message for GetStorageLayout.
|
319
|
+
# @!attribute [rw] name
|
320
|
+
# @return [::String]
|
321
|
+
# Required. The name of the StorageLayout resource.
|
322
|
+
# Format: `projects/{project}/buckets/{bucket}/storageLayout`
|
323
|
+
# @!attribute [rw] prefix
|
324
|
+
# @return [::String]
|
325
|
+
# An optional prefix used for permission check. It is useful when the caller
|
326
|
+
# only has limited permissions under a specific prefix.
|
327
|
+
# @!attribute [rw] request_id
|
328
|
+
# @return [::String]
|
329
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
330
|
+
# format, but other formats are still accepted.
|
331
|
+
class GetStorageLayoutRequest
|
332
|
+
include ::Google::Protobuf::MessageExts
|
333
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
334
|
+
end
|
335
|
+
|
336
|
+
# A managed folder.
|
337
|
+
# @!attribute [rw] name
|
338
|
+
# @return [::String]
|
339
|
+
# Identifier. The name of this managed folder.
|
340
|
+
# Format:
|
341
|
+
# `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
|
342
|
+
# @!attribute [r] metageneration
|
343
|
+
# @return [::Integer]
|
344
|
+
# Output only. The metadata version of this managed folder. It increases
|
345
|
+
# whenever the metadata is updated. Used for preconditions and for detecting
|
346
|
+
# changes in metadata. Managed folders don't have a generation number.
|
347
|
+
# @!attribute [r] create_time
|
348
|
+
# @return [::Google::Protobuf::Timestamp]
|
349
|
+
# Output only. The creation time of the managed folder.
|
350
|
+
# @!attribute [r] update_time
|
351
|
+
# @return [::Google::Protobuf::Timestamp]
|
352
|
+
# Output only. The modification time of the managed folder.
|
353
|
+
class ManagedFolder
|
354
|
+
include ::Google::Protobuf::MessageExts
|
355
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
356
|
+
end
|
357
|
+
|
358
|
+
# Request message for GetManagedFolder.
|
359
|
+
# @!attribute [rw] name
|
360
|
+
# @return [::String]
|
361
|
+
# Required. Name of the managed folder.
|
362
|
+
# Format:
|
363
|
+
# `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
|
364
|
+
# @!attribute [rw] if_metageneration_match
|
365
|
+
# @return [::Integer]
|
366
|
+
# The operation succeeds conditional on the managed folder's current
|
367
|
+
# metageneration matching the value here specified.
|
368
|
+
# @!attribute [rw] if_metageneration_not_match
|
369
|
+
# @return [::Integer]
|
370
|
+
# The operation succeeds conditional on the managed folder's current
|
371
|
+
# metageneration NOT matching the value here specified.
|
372
|
+
# @!attribute [rw] request_id
|
373
|
+
# @return [::String]
|
374
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
375
|
+
# format, but other formats are still accepted.
|
376
|
+
class GetManagedFolderRequest
|
377
|
+
include ::Google::Protobuf::MessageExts
|
378
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
379
|
+
end
|
380
|
+
|
381
|
+
# Request message for CreateManagedFolder.
|
382
|
+
# @!attribute [rw] parent
|
383
|
+
# @return [::String]
|
384
|
+
# Required. Name of the bucket this managed folder belongs to.
|
385
|
+
# @!attribute [rw] managed_folder
|
386
|
+
# @return [::Google::Cloud::Storage::Control::V2::ManagedFolder]
|
387
|
+
# Required. Properties of the managed folder being created.
|
388
|
+
# The bucket and managed folder names are specified in the `parent` and
|
389
|
+
# `managed_folder_id` fields. Populating these fields in `managed_folder`
|
390
|
+
# will result in an error.
|
391
|
+
# @!attribute [rw] managed_folder_id
|
392
|
+
# @return [::String]
|
393
|
+
# Required. The name of the managed folder. It uses a single `/` as delimiter
|
394
|
+
# and leading and trailing `/` are allowed.
|
395
|
+
# @!attribute [rw] request_id
|
396
|
+
# @return [::String]
|
397
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
398
|
+
# format, but other formats are still accepted.
|
399
|
+
class CreateManagedFolderRequest
|
400
|
+
include ::Google::Protobuf::MessageExts
|
401
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
402
|
+
end
|
403
|
+
|
404
|
+
# DeleteManagedFolder RPC request message.
|
405
|
+
# @!attribute [rw] name
|
406
|
+
# @return [::String]
|
407
|
+
# Required. Name of the managed folder.
|
408
|
+
# Format:
|
409
|
+
# `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
|
410
|
+
# @!attribute [rw] if_metageneration_match
|
411
|
+
# @return [::Integer]
|
412
|
+
# The operation succeeds conditional on the managed folder's current
|
413
|
+
# metageneration matching the value here specified.
|
414
|
+
# @!attribute [rw] if_metageneration_not_match
|
415
|
+
# @return [::Integer]
|
416
|
+
# The operation succeeds conditional on the managed folder's current
|
417
|
+
# metageneration NOT matching the value here specified.
|
418
|
+
# @!attribute [rw] allow_non_empty
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Allows deletion of a managed folder even if it is not empty.
|
421
|
+
# A managed folder is empty if it manages no child managed folders or
|
422
|
+
# objects. Caller must have permission for
|
423
|
+
# storage.managedFolders.setIamPolicy.
|
424
|
+
# @!attribute [rw] request_id
|
425
|
+
# @return [::String]
|
426
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
427
|
+
# format, but other formats are still accepted.
|
428
|
+
class DeleteManagedFolderRequest
|
429
|
+
include ::Google::Protobuf::MessageExts
|
430
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
431
|
+
end
|
432
|
+
|
433
|
+
# Request message for ListManagedFolders.
|
434
|
+
# @!attribute [rw] parent
|
435
|
+
# @return [::String]
|
436
|
+
# Required. Name of the bucket this managed folder belongs to.
|
437
|
+
# @!attribute [rw] page_size
|
438
|
+
# @return [::Integer]
|
439
|
+
# Optional. Maximum number of managed folders to return in a single response.
|
440
|
+
# The service will use this parameter or 1,000 items, whichever is smaller.
|
441
|
+
# @!attribute [rw] page_token
|
442
|
+
# @return [::String]
|
443
|
+
# Optional. A previously-returned page token representing part of the larger
|
444
|
+
# set of results to view.
|
445
|
+
# @!attribute [rw] prefix
|
446
|
+
# @return [::String]
|
447
|
+
# Optional. Filter results to match managed folders with name starting with
|
448
|
+
# this prefix.
|
449
|
+
# @!attribute [rw] request_id
|
450
|
+
# @return [::String]
|
451
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
452
|
+
# format, but other formats are still accepted.
|
453
|
+
class ListManagedFoldersRequest
|
454
|
+
include ::Google::Protobuf::MessageExts
|
455
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
456
|
+
end
|
457
|
+
|
458
|
+
# Response message for ListManagedFolders.
|
459
|
+
# @!attribute [rw] managed_folders
|
460
|
+
# @return [::Array<::Google::Cloud::Storage::Control::V2::ManagedFolder>]
|
461
|
+
# The list of matching managed folders
|
462
|
+
# @!attribute [rw] next_page_token
|
463
|
+
# @return [::String]
|
464
|
+
# The continuation token, used to page through large result sets. Provide
|
465
|
+
# this value in a subsequent request to return the next page of results.
|
466
|
+
class ListManagedFoldersResponse
|
467
|
+
include ::Google::Protobuf::MessageExts
|
468
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
469
|
+
end
|
470
|
+
end
|
471
|
+
end
|
472
|
+
end
|
473
|
+
end
|
474
|
+
end
|
metadata
CHANGED
@@ -1,28 +1,91 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-storage-control-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
11
|
+
date: 2024-04-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: gapic-common
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.21.1
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.21.1
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.a
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: google-cloud-errors
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.0'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.0'
|
47
|
+
description: The Google Cloud Storage API allows applications to read and write data
|
48
|
+
through the abstractions of buckets and objects, which are similar to directories
|
49
|
+
and files except that buckets cannot contain other buckets, and directory-level
|
50
|
+
operations (like directory rename) are not supported. Buckets share a single global
|
51
|
+
namespace, and each bucket belongs to a specific project that has an associated
|
52
|
+
owner that pays for the data stored in the bucket. This API is accessed using standard
|
53
|
+
gRPC requests. Note that google-cloud-storage-control-v2 is a version-specific client
|
54
|
+
library. For most uses, we recommend installing the main client library google-cloud-storage-control
|
55
|
+
instead. See the readme for more details.
|
18
56
|
email: googleapis-packages@google.com
|
19
57
|
executables: []
|
20
58
|
extensions: []
|
21
59
|
extra_rdoc_files: []
|
22
60
|
files:
|
61
|
+
- ".yardopts"
|
62
|
+
- AUTHENTICATION.md
|
23
63
|
- LICENSE.md
|
24
64
|
- README.md
|
65
|
+
- lib/google-cloud-storage-control-v2.rb
|
66
|
+
- lib/google/cloud/storage/control/v2.rb
|
67
|
+
- lib/google/cloud/storage/control/v2/storage_control.rb
|
68
|
+
- lib/google/cloud/storage/control/v2/storage_control/client.rb
|
69
|
+
- lib/google/cloud/storage/control/v2/storage_control/credentials.rb
|
70
|
+
- lib/google/cloud/storage/control/v2/storage_control/operations.rb
|
71
|
+
- lib/google/cloud/storage/control/v2/storage_control/paths.rb
|
25
72
|
- lib/google/cloud/storage/control/v2/version.rb
|
73
|
+
- lib/google/storage/control/v2/storage_control_pb.rb
|
74
|
+
- lib/google/storage/control/v2/storage_control_services_pb.rb
|
75
|
+
- proto_docs/README.md
|
76
|
+
- proto_docs/google/api/client.rb
|
77
|
+
- proto_docs/google/api/field_behavior.rb
|
78
|
+
- proto_docs/google/api/field_info.rb
|
79
|
+
- proto_docs/google/api/launch_stage.rb
|
80
|
+
- proto_docs/google/api/resource.rb
|
81
|
+
- proto_docs/google/api/routing.rb
|
82
|
+
- proto_docs/google/longrunning/operations.rb
|
83
|
+
- proto_docs/google/protobuf/any.rb
|
84
|
+
- proto_docs/google/protobuf/duration.rb
|
85
|
+
- proto_docs/google/protobuf/empty.rb
|
86
|
+
- proto_docs/google/protobuf/timestamp.rb
|
87
|
+
- proto_docs/google/rpc/status.rb
|
88
|
+
- proto_docs/google/storage/control/v2/storage_control.rb
|
26
89
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
27
90
|
licenses:
|
28
91
|
- Apache-2.0
|
@@ -35,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
35
98
|
requirements:
|
36
99
|
- - ">="
|
37
100
|
- !ruby/object:Gem::Version
|
38
|
-
version: '
|
101
|
+
version: '2.7'
|
39
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
103
|
requirements:
|
41
104
|
- - ">="
|
@@ -45,5 +108,9 @@ requirements: []
|
|
45
108
|
rubygems_version: 3.5.6
|
46
109
|
signing_key:
|
47
110
|
specification_version: 4
|
48
|
-
summary:
|
111
|
+
summary: The Storage Control API lets you perform metadata-specific, control plane,
|
112
|
+
and long-running operations. The Storage Control API creates one space to perform
|
113
|
+
metadata-specific, control plane, and long-running operations apart from the Storage
|
114
|
+
API. Separating these operations from the Storage API improves API standardization
|
115
|
+
and lets you run faster releases.
|
49
116
|
test_files: []
|