google-apis-storage_v1 0.64.0 → 0.69.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57c516c005458cef372d45a91e8f7a7bdddda76e679a494fbb2765cf06bcdae5
4
- data.tar.gz: 1f164229dd37673ebfa62f3e1f00222f4c3fe08f3b76507aab0aa0c38d43b0bd
3
+ metadata.gz: 24f76a46e84021434008b07589510b98f033c4668311ecbe08693f23fa005443
4
+ data.tar.gz: 0510b39ed065af9ed42ab33ed72d7dc0bd51303e8c9f2934a5bc410bfa18c99d
5
5
  SHA512:
6
- metadata.gz: 3597cb839bdf637b9f02f9ed72e91bade16a367282ba5ec0897ea685862de3d34343f128305fec13cf6a9eb50de1236094e63dbc8283a77eb1d49534a1e6a648
7
- data.tar.gz: 574116620cb5f99f9b1e5a82ddcad76d6d144e87ca13a3b0aa2c9e98f9928a027b218096f85c687abadd47a6e1e314a2cb82215e2f7328dd216e160f7703817f
6
+ metadata.gz: 8fde1935a517e2582184c45de8f1a19dc490e9aa83cdd95a07a5b9b6d9f6d93d84acd5c85ef343fea3a536739d15d960733d487f97fad46913d9a0740ee4c21e
7
+ data.tar.gz: c1667e80d1b6296a4b288375089bd1bc630e909a2b4e4f44961d55041bc2f7244ad8418d6b12fa8bb521a506b32e7e7a4175dd66aec16b98adb50a2f3c98fd12
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Release history for google-apis-storage_v1
2
2
 
3
+ ### v0.69.0 (2026-10-04)
4
+
5
+ * Regenerated from discovery document revision 20260930
6
+
7
+ ### v0.68.0 (2026-09-20)
8
+
9
+ * Regenerated from discovery document revision 20260911
10
+
11
+ ### v0.67.0 (2026-08-30)
12
+
13
+ * Regenerated from discovery document revision 20260821
14
+
15
+ ### v0.66.0 (2026-08-16)
16
+
17
+ * Regenerated from discovery document revision 20260805
18
+
19
+ ### v0.65.0 (2026-07-05)
20
+
21
+ * Regenerated from discovery document revision 20260625
22
+
3
23
  ### v0.64.0 (2026-06-14)
4
24
 
5
25
  * Regenerated using generator version 0.19.0
@@ -1249,6 +1249,13 @@ module Google
1249
1249
  # @return [DateTime]
1250
1250
  attr_accessor :effective_time
1251
1251
 
1252
+ # The bucket's hard delete pause configuration. If set, soft-deleted objects in
1253
+ # the bucket will not be permanently deleted until the hard delete pause is
1254
+ # disabled.
1255
+ # Corresponds to the JSON property `hardDeletePause`
1256
+ # @return [Google::Apis::StorageV1::Bucket::SoftDeletePolicy::HardDeletePause]
1257
+ attr_accessor :hard_delete_pause
1258
+
1252
1259
  # The duration in seconds that soft-deleted objects in the bucket will be
1253
1260
  # retained and cannot be permanently deleted.
1254
1261
  # Corresponds to the JSON property `retentionDurationSeconds`
@@ -1262,8 +1269,38 @@ module Google
1262
1269
  # Update properties of this object
1263
1270
  def update!(**args)
1264
1271
  @effective_time = args[:effective_time] if args.key?(:effective_time)
1272
+ @hard_delete_pause = args[:hard_delete_pause] if args.key?(:hard_delete_pause)
1265
1273
  @retention_duration_seconds = args[:retention_duration_seconds] if args.key?(:retention_duration_seconds)
1266
1274
  end
1275
+
1276
+ # The bucket's hard delete pause configuration. If set, soft-deleted objects in
1277
+ # the bucket will not be permanently deleted until the hard delete pause is
1278
+ # disabled.
1279
+ class HardDeletePause
1280
+ include Google::Apis::Core::Hashable
1281
+
1282
+ # Server-determined value that indicates the time from which the hard delete
1283
+ # pause became effective. This value is in RFC 3339 format.
1284
+ # Corresponds to the JSON property `effectiveTime`
1285
+ # @return [DateTime]
1286
+ attr_accessor :effective_time
1287
+
1288
+ # Whether hard deletions are paused.
1289
+ # Corresponds to the JSON property `enabled`
1290
+ # @return [Boolean]
1291
+ attr_accessor :enabled
1292
+ alias_method :enabled?, :enabled
1293
+
1294
+ def initialize(**args)
1295
+ update!(**args)
1296
+ end
1297
+
1298
+ # Update properties of this object
1299
+ def update!(**args)
1300
+ @effective_time = args[:effective_time] if args.key?(:effective_time)
1301
+ @enabled = args[:enabled] if args.key?(:enabled)
1302
+ end
1303
+ end
1267
1304
  end
1268
1305
 
1269
1306
  # The bucket's versioning configuration.
@@ -2307,6 +2344,11 @@ module Google
2307
2344
  # @return [String]
2308
2345
  attr_accessor :name
2309
2346
 
2347
+ # Configuration options for the rapid cache of a managed folder.
2348
+ # Corresponds to the JSON property `rapidCacheConfig`
2349
+ # @return [Google::Apis::StorageV1::RapidCacheConfig]
2350
+ attr_accessor :rapid_cache_config
2351
+
2310
2352
  # The link to this managed folder.
2311
2353
  # Corresponds to the JSON property `selfLink`
2312
2354
  # @return [String]
@@ -2329,6 +2371,7 @@ module Google
2329
2371
  @kind = args[:kind] if args.key?(:kind)
2330
2372
  @metageneration = args[:metageneration] if args.key?(:metageneration)
2331
2373
  @name = args[:name] if args.key?(:name)
2374
+ @rapid_cache_config = args[:rapid_cache_config] if args.key?(:rapid_cache_config)
2332
2375
  @self_link = args[:self_link] if args.key?(:self_link)
2333
2376
  @update_time = args[:update_time] if args.key?(:update_time)
2334
2377
  end
@@ -3014,6 +3057,11 @@ module Google
3014
3057
  # @return [DateTime]
3015
3058
  attr_accessor :create_time
3016
3059
 
3060
+ # The type URL of the object context's extended data.
3061
+ # Corresponds to the JSON property `extendedDataTypeUrl`
3062
+ # @return [String]
3063
+ attr_accessor :extended_data_type_url
3064
+
3017
3065
  # The time at which the object context was last updated in RFC 3339 format.
3018
3066
  # Corresponds to the JSON property `updateTime`
3019
3067
  # @return [DateTime]
@@ -3031,6 +3079,65 @@ module Google
3031
3079
  # Update properties of this object
3032
3080
  def update!(**args)
3033
3081
  @create_time = args[:create_time] if args.key?(:create_time)
3082
+ @extended_data_type_url = args[:extended_data_type_url] if args.key?(:extended_data_type_url)
3083
+ @update_time = args[:update_time] if args.key?(:update_time)
3084
+ @value = args[:value] if args.key?(:value)
3085
+ end
3086
+ end
3087
+
3088
+ # A full representation of an object context.
3089
+ class ObjectFullContext
3090
+ include Google::Apis::Core::Hashable
3091
+
3092
+ # The time at which the object context was created. This value is in RFC 3339
3093
+ # format.
3094
+ # Corresponds to the JSON property `createTime`
3095
+ # @return [DateTime]
3096
+ attr_accessor :create_time
3097
+
3098
+ # The extended data of the object context.
3099
+ # Corresponds to the JSON property `extendedData`
3100
+ # @return [Hash<String,Object>]
3101
+ attr_accessor :extended_data
3102
+
3103
+ # The key of the object context.
3104
+ # Corresponds to the JSON property `key`
3105
+ # @return [String]
3106
+ attr_accessor :key
3107
+
3108
+ # The kind of item this is. For ObjectFullContext, this is always storage#
3109
+ # objectFullContext.
3110
+ # Corresponds to the JSON property `kind`
3111
+ # @return [String]
3112
+ attr_accessor :kind
3113
+
3114
+ # The type of the object context.
3115
+ # Corresponds to the JSON property `type`
3116
+ # @return [String]
3117
+ attr_accessor :type
3118
+
3119
+ # The time at which the object context was last updated. This value is in RFC
3120
+ # 3339 format.
3121
+ # Corresponds to the JSON property `updateTime`
3122
+ # @return [DateTime]
3123
+ attr_accessor :update_time
3124
+
3125
+ # The value of the object context.
3126
+ # Corresponds to the JSON property `value`
3127
+ # @return [String]
3128
+ attr_accessor :value
3129
+
3130
+ def initialize(**args)
3131
+ update!(**args)
3132
+ end
3133
+
3134
+ # Update properties of this object
3135
+ def update!(**args)
3136
+ @create_time = args[:create_time] if args.key?(:create_time)
3137
+ @extended_data = args[:extended_data] if args.key?(:extended_data)
3138
+ @key = args[:key] if args.key?(:key)
3139
+ @kind = args[:kind] if args.key?(:kind)
3140
+ @type = args[:type] if args.key?(:type)
3034
3141
  @update_time = args[:update_time] if args.key?(:update_time)
3035
3142
  @value = args[:value] if args.key?(:value)
3036
3143
  end
@@ -3201,6 +3308,187 @@ module Google
3201
3308
  end
3202
3309
  end
3203
3310
 
3311
+ # A Rapid Cache instance.
3312
+ class RapidCache
3313
+ include Google::Apis::Core::Hashable
3314
+
3315
+ # The cache-level entry admission policy.
3316
+ # Corresponds to the JSON property `admissionPolicy`
3317
+ # @return [String]
3318
+ attr_accessor :admission_policy
3319
+
3320
+ # The name of the bucket containing this cache instance.
3321
+ # Corresponds to the JSON property `bucket`
3322
+ # @return [String]
3323
+ attr_accessor :bucket
3324
+
3325
+ # The type of Rapid Cache this represents. Valid values include: "rapid-cache"
3326
+ # and "rapid-cache-ultra".
3327
+ # Corresponds to the JSON property `cacheType`
3328
+ # @return [String]
3329
+ attr_accessor :cache_type
3330
+
3331
+ # The creation time of the cache instance in RFC 3339 format.
3332
+ # Corresponds to the JSON property `createTime`
3333
+ # @return [DateTime]
3334
+ attr_accessor :create_time
3335
+
3336
+ # The ID of the resource, including the project number, bucket name and rapid
3337
+ # cache ID.
3338
+ # Corresponds to the JSON property `id`
3339
+ # @return [String]
3340
+ attr_accessor :id
3341
+
3342
+ # Specifies whether objects are ingested into the cache upon write.
3343
+ # Corresponds to the JSON property `ingestOnWrite`
3344
+ # @return [Boolean]
3345
+ attr_accessor :ingest_on_write
3346
+ alias_method :ingest_on_write?, :ingest_on_write
3347
+
3348
+ # The kind of item this is. For Rapid Cache, this is always storage#rapidCache.
3349
+ # Corresponds to the JSON property `kind`
3350
+ # @return [String]
3351
+ attr_accessor :kind
3352
+
3353
+ # True if the cache instance has an active Update long-running operation.
3354
+ # Corresponds to the JSON property `pendingUpdate`
3355
+ # @return [Boolean]
3356
+ attr_accessor :pending_update
3357
+ alias_method :pending_update?, :pending_update
3358
+
3359
+ # The ID of the Rapid cache instance.
3360
+ # Corresponds to the JSON property `rapidCacheId`
3361
+ # @return [String]
3362
+ attr_accessor :rapid_cache_id
3363
+
3364
+ # The link to this cache instance.
3365
+ # Corresponds to the JSON property `selfLink`
3366
+ # @return [String]
3367
+ attr_accessor :self_link
3368
+
3369
+ # The current state of the cache instance.
3370
+ # Corresponds to the JSON property `state`
3371
+ # @return [String]
3372
+ attr_accessor :state
3373
+
3374
+ # The TTL of all cache entries in whole seconds. e.g., "7200s".
3375
+ # Corresponds to the JSON property `ttl`
3376
+ # @return [String]
3377
+ attr_accessor :ttl
3378
+
3379
+ # The modification time of the cache instance metadata in RFC 3339 format.
3380
+ # Corresponds to the JSON property `updateTime`
3381
+ # @return [DateTime]
3382
+ attr_accessor :update_time
3383
+
3384
+ # The zone in which the cache instance is running. For example, us-central1-a.
3385
+ # Corresponds to the JSON property `zone`
3386
+ # @return [String]
3387
+ attr_accessor :zone
3388
+
3389
+ def initialize(**args)
3390
+ update!(**args)
3391
+ end
3392
+
3393
+ # Update properties of this object
3394
+ def update!(**args)
3395
+ @admission_policy = args[:admission_policy] if args.key?(:admission_policy)
3396
+ @bucket = args[:bucket] if args.key?(:bucket)
3397
+ @cache_type = args[:cache_type] if args.key?(:cache_type)
3398
+ @create_time = args[:create_time] if args.key?(:create_time)
3399
+ @id = args[:id] if args.key?(:id)
3400
+ @ingest_on_write = args[:ingest_on_write] if args.key?(:ingest_on_write)
3401
+ @kind = args[:kind] if args.key?(:kind)
3402
+ @pending_update = args[:pending_update] if args.key?(:pending_update)
3403
+ @rapid_cache_id = args[:rapid_cache_id] if args.key?(:rapid_cache_id)
3404
+ @self_link = args[:self_link] if args.key?(:self_link)
3405
+ @state = args[:state] if args.key?(:state)
3406
+ @ttl = args[:ttl] if args.key?(:ttl)
3407
+ @update_time = args[:update_time] if args.key?(:update_time)
3408
+ @zone = args[:zone] if args.key?(:zone)
3409
+ end
3410
+ end
3411
+
3412
+ # Configuration options for the rapid cache of a managed folder.
3413
+ class RapidCacheConfig
3414
+ include Google::Apis::Core::Hashable
3415
+
3416
+ # A map of rapid cache IDs to the corresponding `RapidCachePolicy`
3417
+ # configurations for a managed folder.
3418
+ # Corresponds to the JSON property `policies`
3419
+ # @return [Hash<String,Google::Apis::StorageV1::RapidCachePolicy>]
3420
+ attr_accessor :policies
3421
+
3422
+ def initialize(**args)
3423
+ update!(**args)
3424
+ end
3425
+
3426
+ # Update properties of this object
3427
+ def update!(**args)
3428
+ @policies = args[:policies] if args.key?(:policies)
3429
+ end
3430
+ end
3431
+
3432
+ # The rapid cache policy configuration for a managed folder.
3433
+ class RapidCachePolicy
3434
+ include Google::Apis::Core::Hashable
3435
+
3436
+ # The ingest-on-write policy for objects in the managed folder. When set to `
3437
+ # enabled`, objects are automatically ingested into the cache when they are
3438
+ # written to the managed folder.
3439
+ # Corresponds to the JSON property `ingestOnWrite`
3440
+ # @return [String]
3441
+ attr_accessor :ingest_on_write
3442
+
3443
+ # The unique identifier of the rapid cache.
3444
+ # Corresponds to the JSON property `rapidCacheId`
3445
+ # @return [String]
3446
+ attr_accessor :rapid_cache_id
3447
+
3448
+ def initialize(**args)
3449
+ update!(**args)
3450
+ end
3451
+
3452
+ # Update properties of this object
3453
+ def update!(**args)
3454
+ @ingest_on_write = args[:ingest_on_write] if args.key?(:ingest_on_write)
3455
+ @rapid_cache_id = args[:rapid_cache_id] if args.key?(:rapid_cache_id)
3456
+ end
3457
+ end
3458
+
3459
+ # A list of Rapid Caches.
3460
+ class RapidCaches
3461
+ include Google::Apis::Core::Hashable
3462
+
3463
+ # The list of items.
3464
+ # Corresponds to the JSON property `items`
3465
+ # @return [Array<Google::Apis::StorageV1::RapidCache>]
3466
+ attr_accessor :items
3467
+
3468
+ # The kind of item this is. For lists of Rapid Caches, this is always storage#
3469
+ # rapidCaches.
3470
+ # Corresponds to the JSON property `kind`
3471
+ # @return [String]
3472
+ attr_accessor :kind
3473
+
3474
+ # The continuation token, used to page through large result sets. Provide this
3475
+ # value in a subsequent request to return the next page of results.
3476
+ # Corresponds to the JSON property `nextPageToken`
3477
+ # @return [String]
3478
+ attr_accessor :next_page_token
3479
+
3480
+ def initialize(**args)
3481
+ update!(**args)
3482
+ end
3483
+
3484
+ # Update properties of this object
3485
+ def update!(**args)
3486
+ @items = args[:items] if args.key?(:items)
3487
+ @kind = args[:kind] if args.key?(:kind)
3488
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3489
+ end
3490
+ end
3491
+
3204
3492
  # A Relocate Bucket request.
3205
3493
  class RelocateBucketRequest
3206
3494
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module StorageV1
18
18
  # Version of the google-apis-storage_v1 gem
19
- GEM_VERSION = "0.64.0"
19
+ GEM_VERSION = "0.69.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260524"
25
+ REVISION = "20260930"
26
26
  end
27
27
  end
28
28
  end
@@ -183,6 +183,12 @@ module Google
183
183
 
184
184
  class SoftDeletePolicy
185
185
  class Representation < Google::Apis::Core::JsonRepresentation; end
186
+
187
+ class HardDeletePause
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
186
192
 
187
193
  include Google::Apis::Core::JsonObjectSupport
188
194
  end
@@ -412,6 +418,12 @@ module Google
412
418
  include Google::Apis::Core::JsonObjectSupport
413
419
  end
414
420
 
421
+ class ObjectFullContext
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
415
427
  class Objects
416
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
429
 
@@ -430,6 +442,30 @@ module Google
430
442
  include Google::Apis::Core::JsonObjectSupport
431
443
  end
432
444
 
445
+ class RapidCache
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class RapidCacheConfig
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class RapidCachePolicy
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class RapidCaches
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
433
469
  class RelocateBucketRequest
434
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
471
 
@@ -792,8 +828,19 @@ module Google
792
828
  class Representation < Google::Apis::Core::JsonRepresentation
793
829
  property :effective_time, as: 'effectiveTime', type: DateTime
794
830
 
831
+ property :hard_delete_pause, as: 'hardDeletePause', class: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::HardDeletePause, decorator: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::HardDeletePause::Representation
832
+
795
833
  property :retention_duration_seconds, :numeric_string => true, as: 'retentionDurationSeconds'
796
834
  end
835
+
836
+ class HardDeletePause
837
+ # @private
838
+ class Representation < Google::Apis::Core::JsonRepresentation
839
+ property :effective_time, as: 'effectiveTime', type: DateTime
840
+
841
+ property :enabled, as: 'enabled'
842
+ end
843
+ end
797
844
  end
798
845
 
799
846
  class Versioning
@@ -1074,6 +1121,8 @@ module Google
1074
1121
  property :kind, as: 'kind'
1075
1122
  property :metageneration, :numeric_string => true, as: 'metageneration'
1076
1123
  property :name, as: 'name'
1124
+ property :rapid_cache_config, as: 'rapidCacheConfig', class: Google::Apis::StorageV1::RapidCacheConfig, decorator: Google::Apis::StorageV1::RapidCacheConfig::Representation
1125
+
1077
1126
  property :self_link, as: 'selfLink'
1078
1127
  property :update_time, as: 'updateTime', type: DateTime
1079
1128
 
@@ -1247,6 +1296,22 @@ module Google
1247
1296
  class Representation < Google::Apis::Core::JsonRepresentation
1248
1297
  property :create_time, as: 'createTime', type: DateTime
1249
1298
 
1299
+ property :extended_data_type_url, as: 'extendedDataTypeUrl'
1300
+ property :update_time, as: 'updateTime', type: DateTime
1301
+
1302
+ property :value, as: 'value'
1303
+ end
1304
+ end
1305
+
1306
+ class ObjectFullContext
1307
+ # @private
1308
+ class Representation < Google::Apis::Core::JsonRepresentation
1309
+ property :create_time, as: 'createTime', type: DateTime
1310
+
1311
+ hash :extended_data, as: 'extendedData'
1312
+ property :key, as: 'key'
1313
+ property :kind, as: 'kind'
1314
+ property :type, as: 'type'
1250
1315
  property :update_time, as: 'updateTime', type: DateTime
1251
1316
 
1252
1317
  property :value, as: 'value'
@@ -1286,6 +1351,54 @@ module Google
1286
1351
  end
1287
1352
  end
1288
1353
 
1354
+ class RapidCache
1355
+ # @private
1356
+ class Representation < Google::Apis::Core::JsonRepresentation
1357
+ property :admission_policy, as: 'admissionPolicy'
1358
+ property :bucket, as: 'bucket'
1359
+ property :cache_type, as: 'cacheType'
1360
+ property :create_time, as: 'createTime', type: DateTime
1361
+
1362
+ property :id, as: 'id'
1363
+ property :ingest_on_write, as: 'ingestOnWrite'
1364
+ property :kind, as: 'kind'
1365
+ property :pending_update, as: 'pendingUpdate'
1366
+ property :rapid_cache_id, as: 'rapidCacheId'
1367
+ property :self_link, as: 'selfLink'
1368
+ property :state, as: 'state'
1369
+ property :ttl, as: 'ttl'
1370
+ property :update_time, as: 'updateTime', type: DateTime
1371
+
1372
+ property :zone, as: 'zone'
1373
+ end
1374
+ end
1375
+
1376
+ class RapidCacheConfig
1377
+ # @private
1378
+ class Representation < Google::Apis::Core::JsonRepresentation
1379
+ hash :policies, as: 'policies', class: Google::Apis::StorageV1::RapidCachePolicy, decorator: Google::Apis::StorageV1::RapidCachePolicy::Representation
1380
+
1381
+ end
1382
+ end
1383
+
1384
+ class RapidCachePolicy
1385
+ # @private
1386
+ class Representation < Google::Apis::Core::JsonRepresentation
1387
+ property :ingest_on_write, as: 'ingestOnWrite'
1388
+ property :rapid_cache_id, as: 'rapidCacheId'
1389
+ end
1390
+ end
1391
+
1392
+ class RapidCaches
1393
+ # @private
1394
+ class Representation < Google::Apis::Core::JsonRepresentation
1395
+ collection :items, as: 'items', class: Google::Apis::StorageV1::RapidCache, decorator: Google::Apis::StorageV1::RapidCache::Representation
1396
+
1397
+ property :kind, as: 'kind'
1398
+ property :next_page_token, as: 'nextPageToken'
1399
+ end
1400
+ end
1401
+
1289
1402
  class RelocateBucketRequest
1290
1403
  # @private
1291
1404
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2011,6 +2011,53 @@ module Google
2011
2011
  execute_or_queue_command(command, &block)
2012
2012
  end
2013
2013
 
2014
+ # Updates a managed folder using patch semantics.
2015
+ # @param [String] bucket
2016
+ # The name of the bucket containing the managed folder.
2017
+ # @param [String] managed_folder
2018
+ # The name of the managed folder.
2019
+ # @param [Google::Apis::StorageV1::ManagedFolder] managed_folder_object
2020
+ # @param [Fixnum] if_metageneration_match
2021
+ # Makes the operation conditional on whether the metageneration of the managed
2022
+ # folder matches the specified value.
2023
+ # @param [Fixnum] if_metageneration_not_match
2024
+ # Makes the operation conditional on whether the metageneration of the managed
2025
+ # folder doesn't match the specified value.
2026
+ # @param [String] fields
2027
+ # Selector specifying which fields to include in a partial response.
2028
+ # @param [String] quota_user
2029
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
2030
+ # characters.
2031
+ # @param [String] user_ip
2032
+ # Deprecated. Please use quotaUser instead.
2033
+ # @param [Google::Apis::RequestOptions] options
2034
+ # Request-specific options
2035
+ #
2036
+ # @yield [result, err] Result & error if block supplied
2037
+ # @yieldparam result [Google::Apis::StorageV1::ManagedFolder] parsed result object
2038
+ # @yieldparam err [StandardError] error object if request failed
2039
+ #
2040
+ # @return [Google::Apis::StorageV1::ManagedFolder]
2041
+ #
2042
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2043
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2044
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2045
+ def update_managed_folder(bucket, managed_folder, managed_folder_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2046
+ command = make_simple_command(:patch, 'b/{bucket}/managedFolders/{managedFolder}', options)
2047
+ command.request_representation = Google::Apis::StorageV1::ManagedFolder::Representation
2048
+ command.request_object = managed_folder_object
2049
+ command.response_representation = Google::Apis::StorageV1::ManagedFolder::Representation
2050
+ command.response_class = Google::Apis::StorageV1::ManagedFolder
2051
+ command.params['bucket'] = bucket unless bucket.nil?
2052
+ command.params['managedFolder'] = managed_folder unless managed_folder.nil?
2053
+ command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
2054
+ command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
2055
+ command.query['fields'] = fields unless fields.nil?
2056
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2057
+ command.query['userIp'] = user_ip unless user_ip.nil?
2058
+ execute_or_queue_command(command, &block)
2059
+ end
2060
+
2014
2061
  # Permanently deletes a notification subscription.
2015
2062
  # @param [String] bucket
2016
2063
  # The parent bucket of the notification.
@@ -2504,8 +2551,13 @@ module Google
2504
2551
  # @param [String] destination_predefined_acl
2505
2552
  # Apply a predefined set of access controls to the destination object.
2506
2553
  # @param [Array<String>, String] drop_context_groups
2507
- # Specifies which groups of Object Contexts from the source object(s) should be
2508
- # dropped from the destination object.
2554
+ # Specifies which object context groups to drop from the source object(s) during
2555
+ # a compose operation. The accepted value is 'custom'.
2556
+ # Destination contexts behave as follows:
2557
+ # - When request body contexts are provided, they override all source contexts.
2558
+ # - When no request body contexts are provided, source contexts are preserved
2559
+ # unless 'dropContextGroups' contains 'custom', in which case all contexts are
2560
+ # dropped.
2509
2561
  # @param [Fixnum] if_generation_match
2510
2562
  # Makes the operation conditional on whether the object's current generation
2511
2563
  # matches the given value. Setting to 0 makes the operation succeed only if
@@ -3323,8 +3375,13 @@ module Google
3323
3375
  # @param [String] destination_predefined_acl
3324
3376
  # Apply a predefined set of access controls to the destination object.
3325
3377
  # @param [Array<String>, String] drop_context_groups
3326
- # Specifies which groups of Object Contexts from the source object should be
3327
- # dropped from the destination object.
3378
+ # Specifies which object context groups to drop from the source object during a
3379
+ # copy operation. The accepted value is 'custom'.
3380
+ # Destination contexts behave as follows:
3381
+ # - When request body contexts are provided, they override all source contexts.
3382
+ # - When no request body contexts are provided, source contexts are preserved
3383
+ # unless 'dropContextGroups' contains 'custom', in which case all contexts are
3384
+ # dropped.
3328
3385
  # @param [Fixnum] if_generation_match
3329
3386
  # Makes the operation conditional on whether the object's current generation
3330
3387
  # matches the given value. Setting to 0 makes the operation succeed only if
@@ -3598,45 +3655,18 @@ module Google
3598
3655
  execute_or_queue_command(command, &block)
3599
3656
  end
3600
3657
 
3601
- # Watch for changes on all objects in a bucket.
3658
+ # Retrieves a specific object context with its extended data for a given object.
3602
3659
  # @param [String] bucket
3603
- # Name of the bucket in which to look for objects.
3604
- # @param [Google::Apis::StorageV1::Channel] channel_object
3605
- # @param [String] delimiter
3606
- # Returns results in a directory-like mode. items will contain only objects
3607
- # whose names, aside from the prefix, do not contain delimiter. Objects whose
3608
- # names, aside from the prefix, contain delimiter will have their name,
3609
- # truncated after the delimiter, returned in prefixes. Duplicate prefixes are
3610
- # omitted.
3611
- # @param [String] end_offset
3612
- # Filter results to objects whose names are lexicographically before endOffset.
3613
- # If startOffset is also set, the objects listed will have names between
3614
- # startOffset (inclusive) and endOffset (exclusive).
3615
- # @param [Boolean] include_trailing_delimiter
3616
- # If true, objects that end in exactly one instance of delimiter will have their
3617
- # metadata included in items in addition to prefixes.
3618
- # @param [Fixnum] max_results
3619
- # Maximum number of items plus prefixes to return in a single page of responses.
3620
- # As duplicate prefixes are omitted, fewer total results may be returned than
3621
- # requested. The service will use this parameter or 1,000 items, whichever is
3622
- # smaller.
3623
- # @param [String] page_token
3624
- # A previously-returned page token representing part of the larger set of
3625
- # results to view.
3626
- # @param [String] prefix
3627
- # Filter results to objects whose names begin with this prefix.
3628
- # @param [String] projection
3629
- # Set of properties to return. Defaults to noAcl.
3630
- # @param [String] start_offset
3631
- # Filter results to objects whose names are lexicographically equal to or after
3632
- # startOffset. If endOffset is also set, the objects listed will have names
3633
- # between startOffset (inclusive) and endOffset (exclusive).
3660
+ # Name of the bucket in which the object resides.
3661
+ # @param [String] object
3662
+ # Name of the object. For information about how to URL encode object names to be
3663
+ # path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/
3664
+ # request-endpoints#encoding).
3665
+ # @param [Fixnum] generation
3666
+ # If present, selects a specific revision of this object (as opposed to the
3667
+ # latest version, the default).
3634
3668
  # @param [String] user_project
3635
3669
  # The project to be billed for this request. Required for Requester Pays buckets.
3636
- # @param [Boolean] versions
3637
- # If true, lists all versions of an object as distinct results. The default is
3638
- # false. For more information, see [Object Versioning](https://cloud.google.com/
3639
- # storage/docs/object-versioning).
3640
3670
  # @param [String] fields
3641
3671
  # Selector specifying which fields to include in a partial response.
3642
3672
  # @param [String] quota_user
@@ -3648,31 +3678,23 @@ module Google
3648
3678
  # Request-specific options
3649
3679
  #
3650
3680
  # @yield [result, err] Result & error if block supplied
3651
- # @yieldparam result [Google::Apis::StorageV1::Channel] parsed result object
3681
+ # @yieldparam result [Google::Apis::StorageV1::ObjectFullContext] parsed result object
3652
3682
  # @yieldparam err [StandardError] error object if request failed
3653
3683
  #
3654
- # @return [Google::Apis::StorageV1::Channel]
3684
+ # @return [Google::Apis::StorageV1::ObjectFullContext]
3655
3685
  #
3656
3686
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3657
3687
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3658
3688
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3659
- def watch_all_objects(bucket, channel_object = nil, delimiter: nil, end_offset: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, start_offset: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3660
- command = make_simple_command(:post, 'b/{bucket}/o/watch', options)
3661
- command.request_representation = Google::Apis::StorageV1::Channel::Representation
3662
- command.request_object = channel_object
3663
- command.response_representation = Google::Apis::StorageV1::Channel::Representation
3664
- command.response_class = Google::Apis::StorageV1::Channel
3689
+ def view_object_full_context(bucket, object, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3690
+ command = make_simple_command(:get, 'b/{bucket}/o/{object}/viewFullContext', options)
3691
+ command.response_representation = Google::Apis::StorageV1::ObjectFullContext::Representation
3692
+ command.response_class = Google::Apis::StorageV1::ObjectFullContext
3665
3693
  command.params['bucket'] = bucket unless bucket.nil?
3666
- command.query['delimiter'] = delimiter unless delimiter.nil?
3667
- command.query['endOffset'] = end_offset unless end_offset.nil?
3668
- command.query['includeTrailingDelimiter'] = include_trailing_delimiter unless include_trailing_delimiter.nil?
3669
- command.query['maxResults'] = max_results unless max_results.nil?
3670
- command.query['pageToken'] = page_token unless page_token.nil?
3671
- command.query['prefix'] = prefix unless prefix.nil?
3672
- command.query['projection'] = projection unless projection.nil?
3673
- command.query['startOffset'] = start_offset unless start_offset.nil?
3694
+ command.params['object'] = object unless object.nil?
3695
+ command.query['contextKey'] = context_key unless context_key.nil?
3696
+ command.query['generation'] = generation unless generation.nil?
3674
3697
  command.query['userProject'] = user_project unless user_project.nil?
3675
- command.query['versions'] = versions unless versions.nil?
3676
3698
  command.query['fields'] = fields unless fields.nil?
3677
3699
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3678
3700
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -4083,6 +4105,193 @@ module Google
4083
4105
  command.query['userIp'] = user_ip unless user_ip.nil?
4084
4106
  execute_or_queue_command(command, &block)
4085
4107
  end
4108
+
4109
+ # Disables a Rapid Cache instance.
4110
+ # @param [String] bucket
4111
+ # Name of the parent bucket.
4112
+ # @param [String] rapid_cache_id
4113
+ # The ID of the requested Rapid Cache instance.
4114
+ # @param [String] fields
4115
+ # Selector specifying which fields to include in a partial response.
4116
+ # @param [String] quota_user
4117
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4118
+ # characters.
4119
+ # @param [String] user_ip
4120
+ # Deprecated. Please use quotaUser instead.
4121
+ # @param [Google::Apis::RequestOptions] options
4122
+ # Request-specific options
4123
+ #
4124
+ # @yield [result, err] Result & error if block supplied
4125
+ # @yieldparam result [Google::Apis::StorageV1::GoogleLongrunningOperation] parsed result object
4126
+ # @yieldparam err [StandardError] error object if request failed
4127
+ #
4128
+ # @return [Google::Apis::StorageV1::GoogleLongrunningOperation]
4129
+ #
4130
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4131
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4132
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4133
+ def disable_rapid_cach(bucket, rapid_cache_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4134
+ command = make_simple_command(:post, 'b/{bucket}/rapidCaches/{rapidCacheId}/disable', options)
4135
+ command.response_representation = Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
4136
+ command.response_class = Google::Apis::StorageV1::GoogleLongrunningOperation
4137
+ command.params['bucket'] = bucket unless bucket.nil?
4138
+ command.params['rapidCacheId'] = rapid_cache_id unless rapid_cache_id.nil?
4139
+ command.query['fields'] = fields unless fields.nil?
4140
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4141
+ command.query['userIp'] = user_ip unless user_ip.nil?
4142
+ execute_or_queue_command(command, &block)
4143
+ end
4144
+
4145
+ # Returns the metadata of a Rapid Cache instance.
4146
+ # @param [String] bucket
4147
+ # Name of the parent bucket.
4148
+ # @param [String] rapid_cache_id
4149
+ # The ID of the requested Rapid Cache instance.
4150
+ # @param [String] fields
4151
+ # Selector specifying which fields to include in a partial response.
4152
+ # @param [String] quota_user
4153
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4154
+ # characters.
4155
+ # @param [String] user_ip
4156
+ # Deprecated. Please use quotaUser instead.
4157
+ # @param [Google::Apis::RequestOptions] options
4158
+ # Request-specific options
4159
+ #
4160
+ # @yield [result, err] Result & error if block supplied
4161
+ # @yieldparam result [Google::Apis::StorageV1::RapidCache] parsed result object
4162
+ # @yieldparam err [StandardError] error object if request failed
4163
+ #
4164
+ # @return [Google::Apis::StorageV1::RapidCache]
4165
+ #
4166
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4167
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4168
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4169
+ def get_rapid_cach(bucket, rapid_cache_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4170
+ command = make_simple_command(:get, 'b/{bucket}/rapidCaches/{rapidCacheId}', options)
4171
+ command.response_representation = Google::Apis::StorageV1::RapidCache::Representation
4172
+ command.response_class = Google::Apis::StorageV1::RapidCache
4173
+ command.params['bucket'] = bucket unless bucket.nil?
4174
+ command.params['rapidCacheId'] = rapid_cache_id unless rapid_cache_id.nil?
4175
+ command.query['fields'] = fields unless fields.nil?
4176
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4177
+ command.query['userIp'] = user_ip unless user_ip.nil?
4178
+ execute_or_queue_command(command, &block)
4179
+ end
4180
+
4181
+ # Creates a Rapid Cache instance.
4182
+ # @param [String] bucket
4183
+ # Name of the parent bucket.
4184
+ # @param [Google::Apis::StorageV1::RapidCache] rapid_cache_object
4185
+ # @param [String] fields
4186
+ # Selector specifying which fields to include in a partial response.
4187
+ # @param [String] quota_user
4188
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4189
+ # characters.
4190
+ # @param [String] user_ip
4191
+ # Deprecated. Please use quotaUser instead.
4192
+ # @param [Google::Apis::RequestOptions] options
4193
+ # Request-specific options
4194
+ #
4195
+ # @yield [result, err] Result & error if block supplied
4196
+ # @yieldparam result [Google::Apis::StorageV1::GoogleLongrunningOperation] parsed result object
4197
+ # @yieldparam err [StandardError] error object if request failed
4198
+ #
4199
+ # @return [Google::Apis::StorageV1::GoogleLongrunningOperation]
4200
+ #
4201
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4202
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4203
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4204
+ def insert_rapid_cach(bucket, rapid_cache_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4205
+ command = make_simple_command(:post, 'b/{bucket}/rapidCaches', options)
4206
+ command.request_representation = Google::Apis::StorageV1::RapidCache::Representation
4207
+ command.request_object = rapid_cache_object
4208
+ command.response_representation = Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
4209
+ command.response_class = Google::Apis::StorageV1::GoogleLongrunningOperation
4210
+ command.params['bucket'] = bucket unless bucket.nil?
4211
+ command.query['fields'] = fields unless fields.nil?
4212
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4213
+ command.query['userIp'] = user_ip unless user_ip.nil?
4214
+ execute_or_queue_command(command, &block)
4215
+ end
4216
+
4217
+ # Returns a list of Rapid Cache instances of the bucket.
4218
+ # @param [String] bucket
4219
+ # Name of the parent bucket.
4220
+ # @param [Fixnum] page_size
4221
+ # Maximum number of items to return in a single page of responses.
4222
+ # @param [String] page_token
4223
+ # A previously-returned page token representing part of the larger set of
4224
+ # results to view.
4225
+ # @param [String] fields
4226
+ # Selector specifying which fields to include in a partial response.
4227
+ # @param [String] quota_user
4228
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4229
+ # characters.
4230
+ # @param [String] user_ip
4231
+ # Deprecated. Please use quotaUser instead.
4232
+ # @param [Google::Apis::RequestOptions] options
4233
+ # Request-specific options
4234
+ #
4235
+ # @yield [result, err] Result & error if block supplied
4236
+ # @yieldparam result [Google::Apis::StorageV1::RapidCaches] parsed result object
4237
+ # @yieldparam err [StandardError] error object if request failed
4238
+ #
4239
+ # @return [Google::Apis::StorageV1::RapidCaches]
4240
+ #
4241
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4242
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4243
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4244
+ def list_rapid_caches(bucket, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4245
+ command = make_simple_command(:get, 'b/{bucket}/rapidCaches', options)
4246
+ command.response_representation = Google::Apis::StorageV1::RapidCaches::Representation
4247
+ command.response_class = Google::Apis::StorageV1::RapidCaches
4248
+ command.params['bucket'] = bucket unless bucket.nil?
4249
+ command.query['pageSize'] = page_size unless page_size.nil?
4250
+ command.query['pageToken'] = page_token unless page_token.nil?
4251
+ command.query['fields'] = fields unless fields.nil?
4252
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4253
+ command.query['userIp'] = user_ip unless user_ip.nil?
4254
+ execute_or_queue_command(command, &block)
4255
+ end
4256
+
4257
+ # Updates the configuration of a Rapid Cache instance.
4258
+ # @param [String] bucket
4259
+ # Name of the parent bucket.
4260
+ # @param [String] rapid_cache_id
4261
+ # The ID of the requested Rapid Cache instance.
4262
+ # @param [Google::Apis::StorageV1::RapidCache] rapid_cache_object
4263
+ # @param [String] fields
4264
+ # Selector specifying which fields to include in a partial response.
4265
+ # @param [String] quota_user
4266
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4267
+ # characters.
4268
+ # @param [String] user_ip
4269
+ # Deprecated. Please use quotaUser instead.
4270
+ # @param [Google::Apis::RequestOptions] options
4271
+ # Request-specific options
4272
+ #
4273
+ # @yield [result, err] Result & error if block supplied
4274
+ # @yieldparam result [Google::Apis::StorageV1::GoogleLongrunningOperation] parsed result object
4275
+ # @yieldparam err [StandardError] error object if request failed
4276
+ #
4277
+ # @return [Google::Apis::StorageV1::GoogleLongrunningOperation]
4278
+ #
4279
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4280
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4281
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4282
+ def update_rapid_cach(bucket, rapid_cache_id, rapid_cache_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4283
+ command = make_simple_command(:patch, 'b/{bucket}/rapidCaches/{rapidCacheId}', options)
4284
+ command.request_representation = Google::Apis::StorageV1::RapidCache::Representation
4285
+ command.request_object = rapid_cache_object
4286
+ command.response_representation = Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
4287
+ command.response_class = Google::Apis::StorageV1::GoogleLongrunningOperation
4288
+ command.params['bucket'] = bucket unless bucket.nil?
4289
+ command.params['rapidCacheId'] = rapid_cache_id unless rapid_cache_id.nil?
4290
+ command.query['fields'] = fields unless fields.nil?
4291
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4292
+ command.query['userIp'] = user_ip unless user_ip.nil?
4293
+ execute_or_queue_command(command, &block)
4294
+ end
4086
4295
 
4087
4296
  protected
4088
4297
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-storage_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.64.0
4
+ version: 0.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.64.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.69.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1
62
62
  rdoc_options: []
63
63
  require_paths: