google-cloud-storage-control-v2 0.a → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- 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 +1488 -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 +811 -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 +72 -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 +468 -0
- metadata +77 -10
@@ -0,0 +1,468 @@
|
|
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
|
+
# @!attribute [rw] name
|
37
|
+
# @return [::String]
|
38
|
+
# Identifier. The name of this folder.
|
39
|
+
# Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
|
40
|
+
# @!attribute [r] metageneration
|
41
|
+
# @return [::Integer]
|
42
|
+
# Output only. The version of the metadata for this folder. Used for
|
43
|
+
# preconditions and for detecting changes in metadata.
|
44
|
+
# @!attribute [r] create_time
|
45
|
+
# @return [::Google::Protobuf::Timestamp]
|
46
|
+
# Output only. The creation time of the folder.
|
47
|
+
# @!attribute [r] update_time
|
48
|
+
# @return [::Google::Protobuf::Timestamp]
|
49
|
+
# Output only. The modification time of the folder.
|
50
|
+
# @!attribute [r] pending_rename_info
|
51
|
+
# @return [::Google::Cloud::Storage::Control::V2::PendingRenameInfo]
|
52
|
+
# Output only. Only present if the folder is part of an ongoing RenameFolder
|
53
|
+
# operation. Contains information which can be used to query the operation
|
54
|
+
# status. The presence of this field also indicates all write operations are
|
55
|
+
# blocked for this folder, including folder, managed folder, and object
|
56
|
+
# operations.
|
57
|
+
class Folder
|
58
|
+
include ::Google::Protobuf::MessageExts
|
59
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
60
|
+
end
|
61
|
+
|
62
|
+
# Request message for GetFolder. This operation is only applicable to a
|
63
|
+
# hierarchical namespace enabled bucket.
|
64
|
+
# @!attribute [rw] name
|
65
|
+
# @return [::String]
|
66
|
+
# Required. Name of the folder.
|
67
|
+
# Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
|
68
|
+
# @!attribute [rw] if_metageneration_match
|
69
|
+
# @return [::Integer]
|
70
|
+
# Makes the operation only succeed conditional on whether the folder's
|
71
|
+
# current metageneration matches the given value.
|
72
|
+
# @!attribute [rw] if_metageneration_not_match
|
73
|
+
# @return [::Integer]
|
74
|
+
# Makes the operation only succeed conditional on whether the folder's
|
75
|
+
# current metageneration does not match the given value.
|
76
|
+
# @!attribute [rw] request_id
|
77
|
+
# @return [::String]
|
78
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
79
|
+
# format, but other formats are still accepted.
|
80
|
+
class GetFolderRequest
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
end
|
84
|
+
|
85
|
+
# Request message for CreateFolder. This operation is only applicable to a
|
86
|
+
# hierarchical namespace enabled bucket.
|
87
|
+
# @!attribute [rw] parent
|
88
|
+
# @return [::String]
|
89
|
+
# Required. Name of the bucket in which the folder will reside. The bucket
|
90
|
+
# must be a hierarchical namespace enabled bucket.
|
91
|
+
# @!attribute [rw] folder
|
92
|
+
# @return [::Google::Cloud::Storage::Control::V2::Folder]
|
93
|
+
# Required. Properties of the new folder being created.
|
94
|
+
# The bucket and name of the folder are specified in the parent and folder_id
|
95
|
+
# fields, respectively. Populating those fields in `folder` will result in an
|
96
|
+
# error.
|
97
|
+
# @!attribute [rw] folder_id
|
98
|
+
# @return [::String]
|
99
|
+
# Required. The full name of a folder, including all its parent folders.
|
100
|
+
# Folders use single '/' characters as a delimiter.
|
101
|
+
# The folder_id must end with a slash.
|
102
|
+
# For example, the folder_id of "books/biographies/" would create a new
|
103
|
+
# "biographies/" folder under the "books/" folder.
|
104
|
+
# @!attribute [rw] recursive
|
105
|
+
# @return [::Boolean]
|
106
|
+
# Optional. If true, parent folder doesn't have to be present and all missing
|
107
|
+
# ancestor folders will be created atomically.
|
108
|
+
# @!attribute [rw] request_id
|
109
|
+
# @return [::String]
|
110
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
111
|
+
# format, but other formats are still accepted.
|
112
|
+
class CreateFolderRequest
|
113
|
+
include ::Google::Protobuf::MessageExts
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
|
+
end
|
116
|
+
|
117
|
+
# Request message for DeleteFolder. This operation is only applicable to a
|
118
|
+
# hierarchical namespace enabled bucket.
|
119
|
+
# @!attribute [rw] name
|
120
|
+
# @return [::String]
|
121
|
+
# Required. Name of the folder.
|
122
|
+
# Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
|
123
|
+
# @!attribute [rw] if_metageneration_match
|
124
|
+
# @return [::Integer]
|
125
|
+
# Makes the operation only succeed conditional on whether the folder's
|
126
|
+
# current metageneration matches the given value.
|
127
|
+
# @!attribute [rw] if_metageneration_not_match
|
128
|
+
# @return [::Integer]
|
129
|
+
# Makes the operation only succeed conditional on whether the folder's
|
130
|
+
# current metageneration does not match the given value.
|
131
|
+
# @!attribute [rw] request_id
|
132
|
+
# @return [::String]
|
133
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
134
|
+
# format, but other formats are still accepted.
|
135
|
+
class DeleteFolderRequest
|
136
|
+
include ::Google::Protobuf::MessageExts
|
137
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
138
|
+
end
|
139
|
+
|
140
|
+
# Request message for ListFolders. This operation is only applicable to a
|
141
|
+
# hierarchical namespace enabled bucket.
|
142
|
+
# @!attribute [rw] parent
|
143
|
+
# @return [::String]
|
144
|
+
# Required. Name of the bucket in which to look for folders. The bucket must
|
145
|
+
# be a hierarchical namespace enabled bucket.
|
146
|
+
# @!attribute [rw] page_size
|
147
|
+
# @return [::Integer]
|
148
|
+
# Optional. Maximum number of folders to return in a single response. The
|
149
|
+
# service will use this parameter or 1,000 items, whichever is smaller.
|
150
|
+
# @!attribute [rw] page_token
|
151
|
+
# @return [::String]
|
152
|
+
# Optional. A previously-returned page token representing part of the larger
|
153
|
+
# set of results to view.
|
154
|
+
# @!attribute [rw] prefix
|
155
|
+
# @return [::String]
|
156
|
+
# Optional. Filter results to folders whose names begin with this prefix.
|
157
|
+
# If set, the value must either be an empty string or end with a '/'.
|
158
|
+
# @!attribute [rw] delimiter
|
159
|
+
# @return [::String]
|
160
|
+
# Optional. If set, returns results in a directory-like mode. The results
|
161
|
+
# will only include folders that either exactly match the above prefix, or
|
162
|
+
# are one level below the prefix. The only supported value is '/'.
|
163
|
+
# @!attribute [rw] lexicographic_start
|
164
|
+
# @return [::String]
|
165
|
+
# Optional. Filter results to folders whose names are lexicographically equal
|
166
|
+
# to or after lexicographic_start. If lexicographic_end is also set, the
|
167
|
+
# folders listed have names between lexicographic_start (inclusive) and
|
168
|
+
# lexicographic_end (exclusive).
|
169
|
+
# @!attribute [rw] lexicographic_end
|
170
|
+
# @return [::String]
|
171
|
+
# Optional. Filter results to folders whose names are lexicographically
|
172
|
+
# before lexicographic_end. If lexicographic_start is also set, the folders
|
173
|
+
# listed have names between lexicographic_start (inclusive) and
|
174
|
+
# lexicographic_end (exclusive).
|
175
|
+
# @!attribute [rw] request_id
|
176
|
+
# @return [::String]
|
177
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
178
|
+
# format, but other formats are still accepted.
|
179
|
+
class ListFoldersRequest
|
180
|
+
include ::Google::Protobuf::MessageExts
|
181
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
182
|
+
end
|
183
|
+
|
184
|
+
# Response message for ListFolders.
|
185
|
+
# @!attribute [rw] folders
|
186
|
+
# @return [::Array<::Google::Cloud::Storage::Control::V2::Folder>]
|
187
|
+
# The list of child folders
|
188
|
+
# @!attribute [rw] next_page_token
|
189
|
+
# @return [::String]
|
190
|
+
# The continuation token, used to page through large result sets. Provide
|
191
|
+
# this value in a subsequent request to return the next page of results.
|
192
|
+
class ListFoldersResponse
|
193
|
+
include ::Google::Protobuf::MessageExts
|
194
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
195
|
+
end
|
196
|
+
|
197
|
+
# Request message for RenameFolder. This operation is only applicable to a
|
198
|
+
# hierarchical namespace enabled bucket.
|
199
|
+
# @!attribute [rw] name
|
200
|
+
# @return [::String]
|
201
|
+
# Required. Name of the source folder being renamed.
|
202
|
+
# Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
|
203
|
+
# @!attribute [rw] destination_folder_id
|
204
|
+
# @return [::String]
|
205
|
+
# Required. The destination folder ID, e.g. `foo/bar/`.
|
206
|
+
# @!attribute [rw] if_metageneration_match
|
207
|
+
# @return [::Integer]
|
208
|
+
# Makes the operation only succeed conditional on whether the source
|
209
|
+
# folder's current metageneration matches the given value.
|
210
|
+
# @!attribute [rw] if_metageneration_not_match
|
211
|
+
# @return [::Integer]
|
212
|
+
# Makes the operation only succeed conditional on whether the source
|
213
|
+
# folder's current metageneration does not match the given value.
|
214
|
+
# @!attribute [rw] request_id
|
215
|
+
# @return [::String]
|
216
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
217
|
+
# format, but other formats are still accepted. This request is only
|
218
|
+
# idempotent if a `request_id` is provided.
|
219
|
+
class RenameFolderRequest
|
220
|
+
include ::Google::Protobuf::MessageExts
|
221
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
222
|
+
end
|
223
|
+
|
224
|
+
# The message contains metadata that is common to all Storage Control
|
225
|
+
# long-running operations, present in its `google.longrunning.Operation`
|
226
|
+
# messages, and accessible via `metadata.common_metadata`.
|
227
|
+
# @!attribute [r] create_time
|
228
|
+
# @return [::Google::Protobuf::Timestamp]
|
229
|
+
# Output only. The time the operation was created.
|
230
|
+
# @!attribute [r] end_time
|
231
|
+
# @return [::Google::Protobuf::Timestamp]
|
232
|
+
# Output only. The time the operation finished running.
|
233
|
+
# @!attribute [r] update_time
|
234
|
+
# @return [::Google::Protobuf::Timestamp]
|
235
|
+
# Output only. The time the operation was last modified.
|
236
|
+
# @!attribute [r] type
|
237
|
+
# @return [::String]
|
238
|
+
# Output only. The type of operation invoked.
|
239
|
+
# @!attribute [r] requested_cancellation
|
240
|
+
# @return [::Boolean]
|
241
|
+
# Output only. Identifies whether the user has requested cancellation.
|
242
|
+
# @!attribute [r] progress_percent
|
243
|
+
# @return [::Integer]
|
244
|
+
# Output only. The estimated progress of the operation in percentage [0,
|
245
|
+
# 100]. The value -1 means the progress is unknown.
|
246
|
+
class CommonLongRunningOperationMetadata
|
247
|
+
include ::Google::Protobuf::MessageExts
|
248
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
249
|
+
end
|
250
|
+
|
251
|
+
# Message returned in the metadata field of the Operation resource for
|
252
|
+
# RenameFolder operations.
|
253
|
+
# @!attribute [rw] common_metadata
|
254
|
+
# @return [::Google::Cloud::Storage::Control::V2::CommonLongRunningOperationMetadata]
|
255
|
+
# Generic metadata for the long running operation.
|
256
|
+
# @!attribute [rw] source_folder_id
|
257
|
+
# @return [::String]
|
258
|
+
# The path of the source folder.
|
259
|
+
# @!attribute [rw] destination_folder_id
|
260
|
+
# @return [::String]
|
261
|
+
# The path of the destination folder.
|
262
|
+
class RenameFolderMetadata
|
263
|
+
include ::Google::Protobuf::MessageExts
|
264
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
265
|
+
end
|
266
|
+
|
267
|
+
# The storage layout configuration of a bucket.
|
268
|
+
# @!attribute [r] name
|
269
|
+
# @return [::String]
|
270
|
+
# Output only. The name of the StorageLayout resource.
|
271
|
+
# Format: `projects/{project}/buckets/{bucket}/storageLayout`
|
272
|
+
# @!attribute [r] location
|
273
|
+
# @return [::String]
|
274
|
+
# Output only. The location of the bucket.
|
275
|
+
# @!attribute [r] location_type
|
276
|
+
# @return [::String]
|
277
|
+
# Output only. The location type of the bucket (region, dual-region,
|
278
|
+
# multi-region, etc).
|
279
|
+
# @!attribute [r] custom_placement_config
|
280
|
+
# @return [::Google::Cloud::Storage::Control::V2::StorageLayout::CustomPlacementConfig]
|
281
|
+
# Output only. The data placement configuration for custom dual region. If
|
282
|
+
# there is no configuration, this is not a custom dual region bucket.
|
283
|
+
# @!attribute [r] hierarchical_namespace
|
284
|
+
# @return [::Google::Cloud::Storage::Control::V2::StorageLayout::HierarchicalNamespace]
|
285
|
+
# Output only. The bucket's hierarchical namespace configuration. If there is
|
286
|
+
# no configuration, the hierarchical namespace is disabled.
|
287
|
+
class StorageLayout
|
288
|
+
include ::Google::Protobuf::MessageExts
|
289
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
290
|
+
|
291
|
+
# Configuration for Custom Dual Regions. It should specify precisely two
|
292
|
+
# eligible regions within the same Multiregion. More information on regions
|
293
|
+
# may be found [https://cloud.google.com/storage/docs/locations][here].
|
294
|
+
# @!attribute [rw] data_locations
|
295
|
+
# @return [::Array<::String>]
|
296
|
+
# List of locations to use for data placement.
|
297
|
+
class CustomPlacementConfig
|
298
|
+
include ::Google::Protobuf::MessageExts
|
299
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
300
|
+
end
|
301
|
+
|
302
|
+
# Configuration for a bucket's hierarchical namespace feature.
|
303
|
+
# @!attribute [rw] enabled
|
304
|
+
# @return [::Boolean]
|
305
|
+
# Enables the hierarchical namespace feature.
|
306
|
+
class HierarchicalNamespace
|
307
|
+
include ::Google::Protobuf::MessageExts
|
308
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
# Request message for GetStorageLayout.
|
313
|
+
# @!attribute [rw] name
|
314
|
+
# @return [::String]
|
315
|
+
# Required. The name of the StorageLayout resource.
|
316
|
+
# Format: `projects/{project}/buckets/{bucket}/storageLayout`
|
317
|
+
# @!attribute [rw] prefix
|
318
|
+
# @return [::String]
|
319
|
+
# An optional prefix used for permission check. It is useful when the caller
|
320
|
+
# only has limited permissions under a specific prefix.
|
321
|
+
# @!attribute [rw] request_id
|
322
|
+
# @return [::String]
|
323
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
324
|
+
# format, but other formats are still accepted.
|
325
|
+
class GetStorageLayoutRequest
|
326
|
+
include ::Google::Protobuf::MessageExts
|
327
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
328
|
+
end
|
329
|
+
|
330
|
+
# A managed folder.
|
331
|
+
# @!attribute [rw] name
|
332
|
+
# @return [::String]
|
333
|
+
# Identifier. The name of this managed folder.
|
334
|
+
# Format:
|
335
|
+
# `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
|
336
|
+
# @!attribute [r] metageneration
|
337
|
+
# @return [::Integer]
|
338
|
+
# Output only. The metadata version of this managed folder. It increases
|
339
|
+
# whenever the metadata is updated. Used for preconditions and for detecting
|
340
|
+
# changes in metadata. Managed folders don't have a generation number.
|
341
|
+
# @!attribute [r] create_time
|
342
|
+
# @return [::Google::Protobuf::Timestamp]
|
343
|
+
# Output only. The creation time of the managed folder.
|
344
|
+
# @!attribute [r] update_time
|
345
|
+
# @return [::Google::Protobuf::Timestamp]
|
346
|
+
# Output only. The modification time of the managed folder.
|
347
|
+
class ManagedFolder
|
348
|
+
include ::Google::Protobuf::MessageExts
|
349
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
350
|
+
end
|
351
|
+
|
352
|
+
# Request message for GetManagedFolder.
|
353
|
+
# @!attribute [rw] name
|
354
|
+
# @return [::String]
|
355
|
+
# Required. Name of the managed folder.
|
356
|
+
# Format:
|
357
|
+
# `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
|
358
|
+
# @!attribute [rw] if_metageneration_match
|
359
|
+
# @return [::Integer]
|
360
|
+
# The operation succeeds conditional on the managed folder's current
|
361
|
+
# metageneration matching the value here specified.
|
362
|
+
# @!attribute [rw] if_metageneration_not_match
|
363
|
+
# @return [::Integer]
|
364
|
+
# The operation succeeds conditional on the managed folder's current
|
365
|
+
# metageneration NOT matching the value here specified.
|
366
|
+
# @!attribute [rw] request_id
|
367
|
+
# @return [::String]
|
368
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
369
|
+
# format, but other formats are still accepted.
|
370
|
+
class GetManagedFolderRequest
|
371
|
+
include ::Google::Protobuf::MessageExts
|
372
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
373
|
+
end
|
374
|
+
|
375
|
+
# Request message for CreateManagedFolder.
|
376
|
+
# @!attribute [rw] parent
|
377
|
+
# @return [::String]
|
378
|
+
# Required. Name of the bucket this managed folder belongs to.
|
379
|
+
# @!attribute [rw] managed_folder
|
380
|
+
# @return [::Google::Cloud::Storage::Control::V2::ManagedFolder]
|
381
|
+
# Required. Properties of the managed folder being created.
|
382
|
+
# The bucket and managed folder names are specified in the `parent` and
|
383
|
+
# `managed_folder_id` fields. Populating these fields in `managed_folder`
|
384
|
+
# will result in an error.
|
385
|
+
# @!attribute [rw] managed_folder_id
|
386
|
+
# @return [::String]
|
387
|
+
# Required. The name of the managed folder. It uses a single `/` as delimiter
|
388
|
+
# and leading and trailing `/` are allowed.
|
389
|
+
# @!attribute [rw] request_id
|
390
|
+
# @return [::String]
|
391
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
392
|
+
# format, but other formats are still accepted.
|
393
|
+
class CreateManagedFolderRequest
|
394
|
+
include ::Google::Protobuf::MessageExts
|
395
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
396
|
+
end
|
397
|
+
|
398
|
+
# DeleteManagedFolder RPC request message.
|
399
|
+
# @!attribute [rw] name
|
400
|
+
# @return [::String]
|
401
|
+
# Required. Name of the managed folder.
|
402
|
+
# Format:
|
403
|
+
# `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
|
404
|
+
# @!attribute [rw] if_metageneration_match
|
405
|
+
# @return [::Integer]
|
406
|
+
# The operation succeeds conditional on the managed folder's current
|
407
|
+
# metageneration matching the value here specified.
|
408
|
+
# @!attribute [rw] if_metageneration_not_match
|
409
|
+
# @return [::Integer]
|
410
|
+
# The operation succeeds conditional on the managed folder's current
|
411
|
+
# metageneration NOT matching the value here specified.
|
412
|
+
# @!attribute [rw] allow_non_empty
|
413
|
+
# @return [::Boolean]
|
414
|
+
# Allows deletion of a managed folder even if it is not empty.
|
415
|
+
# A managed folder is empty if it manages no child managed folders or
|
416
|
+
# objects. Caller must have permission for
|
417
|
+
# storage.managedFolders.setIamPolicy.
|
418
|
+
# @!attribute [rw] request_id
|
419
|
+
# @return [::String]
|
420
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
421
|
+
# format, but other formats are still accepted.
|
422
|
+
class DeleteManagedFolderRequest
|
423
|
+
include ::Google::Protobuf::MessageExts
|
424
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
425
|
+
end
|
426
|
+
|
427
|
+
# Request message for ListManagedFolders.
|
428
|
+
# @!attribute [rw] parent
|
429
|
+
# @return [::String]
|
430
|
+
# Required. Name of the bucket this managed folder belongs to.
|
431
|
+
# @!attribute [rw] page_size
|
432
|
+
# @return [::Integer]
|
433
|
+
# Optional. Maximum number of managed folders to return in a single response.
|
434
|
+
# The service will use this parameter or 1,000 items, whichever is smaller.
|
435
|
+
# @!attribute [rw] page_token
|
436
|
+
# @return [::String]
|
437
|
+
# Optional. A previously-returned page token representing part of the larger
|
438
|
+
# set of results to view.
|
439
|
+
# @!attribute [rw] prefix
|
440
|
+
# @return [::String]
|
441
|
+
# Optional. Filter results to match managed folders with name starting with
|
442
|
+
# this prefix.
|
443
|
+
# @!attribute [rw] request_id
|
444
|
+
# @return [::String]
|
445
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
446
|
+
# format, but other formats are still accepted.
|
447
|
+
class ListManagedFoldersRequest
|
448
|
+
include ::Google::Protobuf::MessageExts
|
449
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
450
|
+
end
|
451
|
+
|
452
|
+
# Response message for ListManagedFolders.
|
453
|
+
# @!attribute [rw] managed_folders
|
454
|
+
# @return [::Array<::Google::Cloud::Storage::Control::V2::ManagedFolder>]
|
455
|
+
# The list of matching managed folders
|
456
|
+
# @!attribute [rw] next_page_token
|
457
|
+
# @return [::String]
|
458
|
+
# The continuation token, used to page through large result sets. Provide
|
459
|
+
# this value in a subsequent request to return the next page of results.
|
460
|
+
class ListManagedFoldersResponse
|
461
|
+
include ::Google::Protobuf::MessageExts
|
462
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
463
|
+
end
|
464
|
+
end
|
465
|
+
end
|
466
|
+
end
|
467
|
+
end
|
468
|
+
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.1
|
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-
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
11
|
+
date: 2024-06-26 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: []
|