google-apis-storage_v1 0.64.0 → 0.70.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: 78068e5fbaf3ca3acc96ab51b2873de91be23b0386d9ef71d8071123783b71fd
4
+ data.tar.gz: 1ea7b8250da7f32f0c32958aea41f29b60019b0431d7b351822969837f0dbcb9
5
5
  SHA512:
6
- metadata.gz: 3597cb839bdf637b9f02f9ed72e91bade16a367282ba5ec0897ea685862de3d34343f128305fec13cf6a9eb50de1236094e63dbc8283a77eb1d49534a1e6a648
7
- data.tar.gz: 574116620cb5f99f9b1e5a82ddcad76d6d144e87ca13a3b0aa2c9e98f9928a027b218096f85c687abadd47a6e1e314a2cb82215e2f7328dd216e160f7703817f
6
+ metadata.gz: d362f987ab6574066aded652dd9133286cfa08d31a7550a0d385a89f266b63bfd6c82f7a027f28965a9512d19955d135fe8f67c0a604d148d66afc011e0eb541
7
+ data.tar.gz: 03a3ae2e8b4cbc5b80e4df6ad264da6c25ddf9d8a77388f040b4b1e95a3f1c20a64ba65f070d965ee25d48d648df48ce3e9a96f6977023ec5429fb3b89a868d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Release history for google-apis-storage_v1
2
2
 
3
+ ### v0.70.0 (2026-10-21)
4
+
5
+ * Regenerated from discovery document revision 20261009
6
+ * Regenerated using generator version 0.19.1
7
+
8
+ ### v0.69.0 (2026-10-04)
9
+
10
+ * Regenerated from discovery document revision 20260930
11
+
12
+ ### v0.68.0 (2026-09-20)
13
+
14
+ * Regenerated from discovery document revision 20260911
15
+
16
+ ### v0.67.0 (2026-08-30)
17
+
18
+ * Regenerated from discovery document revision 20260821
19
+
20
+ ### v0.66.0 (2026-08-16)
21
+
22
+ * Regenerated from discovery document revision 20260805
23
+
24
+ ### v0.65.0 (2026-07-05)
25
+
26
+ * Regenerated from discovery document revision 20260625
27
+
3
28
  ### v0.64.0 (2026-06-14)
4
29
 
5
30
  * 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.
@@ -1655,84 +1692,6 @@ module Google
1655
1692
  end
1656
1693
  end
1657
1694
 
1658
- # An notification channel used to watch for resource changes.
1659
- class Channel
1660
- include Google::Apis::Core::Hashable
1661
-
1662
- # The address where notifications are delivered for this channel.
1663
- # Corresponds to the JSON property `address`
1664
- # @return [String]
1665
- attr_accessor :address
1666
-
1667
- # Date and time of notification channel expiration, expressed as a Unix
1668
- # timestamp, in milliseconds. Optional.
1669
- # Corresponds to the JSON property `expiration`
1670
- # @return [Fixnum]
1671
- attr_accessor :expiration
1672
-
1673
- # A UUID or similar unique string that identifies this channel.
1674
- # Corresponds to the JSON property `id`
1675
- # @return [String]
1676
- attr_accessor :id
1677
-
1678
- # Identifies this as a notification channel used to watch for changes to a
1679
- # resource, which is "api#channel".
1680
- # Corresponds to the JSON property `kind`
1681
- # @return [String]
1682
- attr_accessor :kind
1683
-
1684
- # Additional parameters controlling delivery channel behavior. Optional.
1685
- # Corresponds to the JSON property `params`
1686
- # @return [Hash<String,String>]
1687
- attr_accessor :params
1688
-
1689
- # A Boolean value to indicate whether payload is wanted. Optional.
1690
- # Corresponds to the JSON property `payload`
1691
- # @return [Boolean]
1692
- attr_accessor :payload
1693
- alias_method :payload?, :payload
1694
-
1695
- # An opaque ID that identifies the resource being watched on this channel.
1696
- # Stable across different API versions.
1697
- # Corresponds to the JSON property `resourceId`
1698
- # @return [String]
1699
- attr_accessor :resource_id
1700
-
1701
- # A version-specific identifier for the watched resource.
1702
- # Corresponds to the JSON property `resourceUri`
1703
- # @return [String]
1704
- attr_accessor :resource_uri
1705
-
1706
- # An arbitrary string delivered to the target address with each notification
1707
- # delivered over this channel. Optional.
1708
- # Corresponds to the JSON property `token`
1709
- # @return [String]
1710
- attr_accessor :token
1711
-
1712
- # The type of delivery mechanism used for this channel.
1713
- # Corresponds to the JSON property `type`
1714
- # @return [String]
1715
- attr_accessor :type
1716
-
1717
- def initialize(**args)
1718
- update!(**args)
1719
- end
1720
-
1721
- # Update properties of this object
1722
- def update!(**args)
1723
- @address = args[:address] if args.key?(:address)
1724
- @expiration = args[:expiration] if args.key?(:expiration)
1725
- @id = args[:id] if args.key?(:id)
1726
- @kind = args[:kind] if args.key?(:kind)
1727
- @params = args[:params] if args.key?(:params)
1728
- @payload = args[:payload] if args.key?(:payload)
1729
- @resource_id = args[:resource_id] if args.key?(:resource_id)
1730
- @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
1731
- @token = args[:token] if args.key?(:token)
1732
- @type = args[:type] if args.key?(:type)
1733
- end
1734
- end
1735
-
1736
1695
  # A Compose request.
1737
1696
  class ComposeRequest
1738
1697
  include Google::Apis::Core::Hashable
@@ -2307,6 +2266,11 @@ module Google
2307
2266
  # @return [String]
2308
2267
  attr_accessor :name
2309
2268
 
2269
+ # Configuration options for the rapid cache of a managed folder.
2270
+ # Corresponds to the JSON property `rapidCacheConfig`
2271
+ # @return [Google::Apis::StorageV1::RapidCacheConfig]
2272
+ attr_accessor :rapid_cache_config
2273
+
2310
2274
  # The link to this managed folder.
2311
2275
  # Corresponds to the JSON property `selfLink`
2312
2276
  # @return [String]
@@ -2329,6 +2293,7 @@ module Google
2329
2293
  @kind = args[:kind] if args.key?(:kind)
2330
2294
  @metageneration = args[:metageneration] if args.key?(:metageneration)
2331
2295
  @name = args[:name] if args.key?(:name)
2296
+ @rapid_cache_config = args[:rapid_cache_config] if args.key?(:rapid_cache_config)
2332
2297
  @self_link = args[:self_link] if args.key?(:self_link)
2333
2298
  @update_time = args[:update_time] if args.key?(:update_time)
2334
2299
  end
@@ -3014,6 +2979,11 @@ module Google
3014
2979
  # @return [DateTime]
3015
2980
  attr_accessor :create_time
3016
2981
 
2982
+ # The type URL of the object context's extended data.
2983
+ # Corresponds to the JSON property `extendedDataTypeUrl`
2984
+ # @return [String]
2985
+ attr_accessor :extended_data_type_url
2986
+
3017
2987
  # The time at which the object context was last updated in RFC 3339 format.
3018
2988
  # Corresponds to the JSON property `updateTime`
3019
2989
  # @return [DateTime]
@@ -3031,6 +3001,65 @@ module Google
3031
3001
  # Update properties of this object
3032
3002
  def update!(**args)
3033
3003
  @create_time = args[:create_time] if args.key?(:create_time)
3004
+ @extended_data_type_url = args[:extended_data_type_url] if args.key?(:extended_data_type_url)
3005
+ @update_time = args[:update_time] if args.key?(:update_time)
3006
+ @value = args[:value] if args.key?(:value)
3007
+ end
3008
+ end
3009
+
3010
+ # A full representation of an object context.
3011
+ class ObjectFullContext
3012
+ include Google::Apis::Core::Hashable
3013
+
3014
+ # The time at which the object context was created. This value is in RFC 3339
3015
+ # format.
3016
+ # Corresponds to the JSON property `createTime`
3017
+ # @return [DateTime]
3018
+ attr_accessor :create_time
3019
+
3020
+ # The extended data of the object context.
3021
+ # Corresponds to the JSON property `extendedData`
3022
+ # @return [Hash<String,Object>]
3023
+ attr_accessor :extended_data
3024
+
3025
+ # The key of the object context.
3026
+ # Corresponds to the JSON property `key`
3027
+ # @return [String]
3028
+ attr_accessor :key
3029
+
3030
+ # The kind of item this is. For ObjectFullContext, this is always storage#
3031
+ # objectFullContext.
3032
+ # Corresponds to the JSON property `kind`
3033
+ # @return [String]
3034
+ attr_accessor :kind
3035
+
3036
+ # The type of the object context.
3037
+ # Corresponds to the JSON property `type`
3038
+ # @return [String]
3039
+ attr_accessor :type
3040
+
3041
+ # The time at which the object context was last updated. This value is in RFC
3042
+ # 3339 format.
3043
+ # Corresponds to the JSON property `updateTime`
3044
+ # @return [DateTime]
3045
+ attr_accessor :update_time
3046
+
3047
+ # The value of the object context.
3048
+ # Corresponds to the JSON property `value`
3049
+ # @return [String]
3050
+ attr_accessor :value
3051
+
3052
+ def initialize(**args)
3053
+ update!(**args)
3054
+ end
3055
+
3056
+ # Update properties of this object
3057
+ def update!(**args)
3058
+ @create_time = args[:create_time] if args.key?(:create_time)
3059
+ @extended_data = args[:extended_data] if args.key?(:extended_data)
3060
+ @key = args[:key] if args.key?(:key)
3061
+ @kind = args[:kind] if args.key?(:kind)
3062
+ @type = args[:type] if args.key?(:type)
3034
3063
  @update_time = args[:update_time] if args.key?(:update_time)
3035
3064
  @value = args[:value] if args.key?(:value)
3036
3065
  end
@@ -3201,6 +3230,187 @@ module Google
3201
3230
  end
3202
3231
  end
3203
3232
 
3233
+ # A Rapid Cache instance.
3234
+ class RapidCache
3235
+ include Google::Apis::Core::Hashable
3236
+
3237
+ # The cache-level entry admission policy.
3238
+ # Corresponds to the JSON property `admissionPolicy`
3239
+ # @return [String]
3240
+ attr_accessor :admission_policy
3241
+
3242
+ # The name of the bucket containing this cache instance.
3243
+ # Corresponds to the JSON property `bucket`
3244
+ # @return [String]
3245
+ attr_accessor :bucket
3246
+
3247
+ # The type of Rapid Cache this represents. Valid values include: "rapid-cache"
3248
+ # and "rapid-cache-ultra".
3249
+ # Corresponds to the JSON property `cacheType`
3250
+ # @return [String]
3251
+ attr_accessor :cache_type
3252
+
3253
+ # The creation time of the cache instance in RFC 3339 format.
3254
+ # Corresponds to the JSON property `createTime`
3255
+ # @return [DateTime]
3256
+ attr_accessor :create_time
3257
+
3258
+ # The ID of the resource, including the project number, bucket name and rapid
3259
+ # cache ID.
3260
+ # Corresponds to the JSON property `id`
3261
+ # @return [String]
3262
+ attr_accessor :id
3263
+
3264
+ # Specifies whether objects are ingested into the cache upon write.
3265
+ # Corresponds to the JSON property `ingestOnWrite`
3266
+ # @return [Boolean]
3267
+ attr_accessor :ingest_on_write
3268
+ alias_method :ingest_on_write?, :ingest_on_write
3269
+
3270
+ # The kind of item this is. For Rapid Cache, this is always storage#rapidCache.
3271
+ # Corresponds to the JSON property `kind`
3272
+ # @return [String]
3273
+ attr_accessor :kind
3274
+
3275
+ # True if the cache instance has an active Update long-running operation.
3276
+ # Corresponds to the JSON property `pendingUpdate`
3277
+ # @return [Boolean]
3278
+ attr_accessor :pending_update
3279
+ alias_method :pending_update?, :pending_update
3280
+
3281
+ # The ID of the Rapid cache instance.
3282
+ # Corresponds to the JSON property `rapidCacheId`
3283
+ # @return [String]
3284
+ attr_accessor :rapid_cache_id
3285
+
3286
+ # The link to this cache instance.
3287
+ # Corresponds to the JSON property `selfLink`
3288
+ # @return [String]
3289
+ attr_accessor :self_link
3290
+
3291
+ # The current state of the cache instance.
3292
+ # Corresponds to the JSON property `state`
3293
+ # @return [String]
3294
+ attr_accessor :state
3295
+
3296
+ # The TTL of all cache entries in whole seconds. e.g., "7200s".
3297
+ # Corresponds to the JSON property `ttl`
3298
+ # @return [String]
3299
+ attr_accessor :ttl
3300
+
3301
+ # The modification time of the cache instance metadata in RFC 3339 format.
3302
+ # Corresponds to the JSON property `updateTime`
3303
+ # @return [DateTime]
3304
+ attr_accessor :update_time
3305
+
3306
+ # The zone in which the cache instance is running. For example, us-central1-a.
3307
+ # Corresponds to the JSON property `zone`
3308
+ # @return [String]
3309
+ attr_accessor :zone
3310
+
3311
+ def initialize(**args)
3312
+ update!(**args)
3313
+ end
3314
+
3315
+ # Update properties of this object
3316
+ def update!(**args)
3317
+ @admission_policy = args[:admission_policy] if args.key?(:admission_policy)
3318
+ @bucket = args[:bucket] if args.key?(:bucket)
3319
+ @cache_type = args[:cache_type] if args.key?(:cache_type)
3320
+ @create_time = args[:create_time] if args.key?(:create_time)
3321
+ @id = args[:id] if args.key?(:id)
3322
+ @ingest_on_write = args[:ingest_on_write] if args.key?(:ingest_on_write)
3323
+ @kind = args[:kind] if args.key?(:kind)
3324
+ @pending_update = args[:pending_update] if args.key?(:pending_update)
3325
+ @rapid_cache_id = args[:rapid_cache_id] if args.key?(:rapid_cache_id)
3326
+ @self_link = args[:self_link] if args.key?(:self_link)
3327
+ @state = args[:state] if args.key?(:state)
3328
+ @ttl = args[:ttl] if args.key?(:ttl)
3329
+ @update_time = args[:update_time] if args.key?(:update_time)
3330
+ @zone = args[:zone] if args.key?(:zone)
3331
+ end
3332
+ end
3333
+
3334
+ # Configuration options for the rapid cache of a managed folder.
3335
+ class RapidCacheConfig
3336
+ include Google::Apis::Core::Hashable
3337
+
3338
+ # A map of rapid cache IDs to the corresponding `RapidCachePolicy`
3339
+ # configurations for a managed folder.
3340
+ # Corresponds to the JSON property `policies`
3341
+ # @return [Hash<String,Google::Apis::StorageV1::RapidCachePolicy>]
3342
+ attr_accessor :policies
3343
+
3344
+ def initialize(**args)
3345
+ update!(**args)
3346
+ end
3347
+
3348
+ # Update properties of this object
3349
+ def update!(**args)
3350
+ @policies = args[:policies] if args.key?(:policies)
3351
+ end
3352
+ end
3353
+
3354
+ # The rapid cache policy configuration for a managed folder.
3355
+ class RapidCachePolicy
3356
+ include Google::Apis::Core::Hashable
3357
+
3358
+ # The ingest-on-write policy for objects in the managed folder. When set to `
3359
+ # enabled`, objects are automatically ingested into the cache when they are
3360
+ # written to the managed folder.
3361
+ # Corresponds to the JSON property `ingestOnWrite`
3362
+ # @return [String]
3363
+ attr_accessor :ingest_on_write
3364
+
3365
+ # The unique identifier of the rapid cache.
3366
+ # Corresponds to the JSON property `rapidCacheId`
3367
+ # @return [String]
3368
+ attr_accessor :rapid_cache_id
3369
+
3370
+ def initialize(**args)
3371
+ update!(**args)
3372
+ end
3373
+
3374
+ # Update properties of this object
3375
+ def update!(**args)
3376
+ @ingest_on_write = args[:ingest_on_write] if args.key?(:ingest_on_write)
3377
+ @rapid_cache_id = args[:rapid_cache_id] if args.key?(:rapid_cache_id)
3378
+ end
3379
+ end
3380
+
3381
+ # A list of Rapid Caches.
3382
+ class RapidCaches
3383
+ include Google::Apis::Core::Hashable
3384
+
3385
+ # The list of items.
3386
+ # Corresponds to the JSON property `items`
3387
+ # @return [Array<Google::Apis::StorageV1::RapidCache>]
3388
+ attr_accessor :items
3389
+
3390
+ # The kind of item this is. For lists of Rapid Caches, this is always storage#
3391
+ # rapidCaches.
3392
+ # Corresponds to the JSON property `kind`
3393
+ # @return [String]
3394
+ attr_accessor :kind
3395
+
3396
+ # The continuation token, used to page through large result sets. Provide this
3397
+ # value in a subsequent request to return the next page of results.
3398
+ # Corresponds to the JSON property `nextPageToken`
3399
+ # @return [String]
3400
+ attr_accessor :next_page_token
3401
+
3402
+ def initialize(**args)
3403
+ update!(**args)
3404
+ end
3405
+
3406
+ # Update properties of this object
3407
+ def update!(**args)
3408
+ @items = args[:items] if args.key?(:items)
3409
+ @kind = args[:kind] if args.key?(:kind)
3410
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3411
+ end
3412
+ end
3413
+
3204
3414
  # A Relocate Bucket request.
3205
3415
  class RelocateBucketRequest
3206
3416
  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.70.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260524"
25
+ REVISION = "20261009"
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
@@ -250,12 +256,6 @@ module Google
250
256
  include Google::Apis::Core::JsonObjectSupport
251
257
  end
252
258
 
253
- class Channel
254
- class Representation < Google::Apis::Core::JsonRepresentation; end
255
-
256
- include Google::Apis::Core::JsonObjectSupport
257
- end
258
-
259
259
  class ComposeRequest
260
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
261
 
@@ -412,6 +412,12 @@ module Google
412
412
  include Google::Apis::Core::JsonObjectSupport
413
413
  end
414
414
 
415
+ class ObjectFullContext
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
415
421
  class Objects
416
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
423
 
@@ -430,6 +436,30 @@ module Google
430
436
  include Google::Apis::Core::JsonObjectSupport
431
437
  end
432
438
 
439
+ class RapidCache
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class RapidCacheConfig
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class RapidCachePolicy
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class RapidCaches
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
433
463
  class RelocateBucketRequest
434
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
465
 
@@ -792,8 +822,19 @@ module Google
792
822
  class Representation < Google::Apis::Core::JsonRepresentation
793
823
  property :effective_time, as: 'effectiveTime', type: DateTime
794
824
 
825
+ property :hard_delete_pause, as: 'hardDeletePause', class: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::HardDeletePause, decorator: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::HardDeletePause::Representation
826
+
795
827
  property :retention_duration_seconds, :numeric_string => true, as: 'retentionDurationSeconds'
796
828
  end
829
+
830
+ class HardDeletePause
831
+ # @private
832
+ class Representation < Google::Apis::Core::JsonRepresentation
833
+ property :effective_time, as: 'effectiveTime', type: DateTime
834
+
835
+ property :enabled, as: 'enabled'
836
+ end
837
+ end
797
838
  end
798
839
 
799
840
  class Versioning
@@ -903,22 +944,6 @@ module Google
903
944
  end
904
945
  end
905
946
 
906
- class Channel
907
- # @private
908
- class Representation < Google::Apis::Core::JsonRepresentation
909
- property :address, as: 'address'
910
- property :expiration, :numeric_string => true, as: 'expiration'
911
- property :id, as: 'id'
912
- property :kind, as: 'kind'
913
- hash :params, as: 'params'
914
- property :payload, as: 'payload'
915
- property :resource_id, as: 'resourceId'
916
- property :resource_uri, as: 'resourceUri'
917
- property :token, as: 'token'
918
- property :type, as: 'type'
919
- end
920
- end
921
-
922
947
  class ComposeRequest
923
948
  # @private
924
949
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1074,6 +1099,8 @@ module Google
1074
1099
  property :kind, as: 'kind'
1075
1100
  property :metageneration, :numeric_string => true, as: 'metageneration'
1076
1101
  property :name, as: 'name'
1102
+ property :rapid_cache_config, as: 'rapidCacheConfig', class: Google::Apis::StorageV1::RapidCacheConfig, decorator: Google::Apis::StorageV1::RapidCacheConfig::Representation
1103
+
1077
1104
  property :self_link, as: 'selfLink'
1078
1105
  property :update_time, as: 'updateTime', type: DateTime
1079
1106
 
@@ -1247,6 +1274,22 @@ module Google
1247
1274
  class Representation < Google::Apis::Core::JsonRepresentation
1248
1275
  property :create_time, as: 'createTime', type: DateTime
1249
1276
 
1277
+ property :extended_data_type_url, as: 'extendedDataTypeUrl'
1278
+ property :update_time, as: 'updateTime', type: DateTime
1279
+
1280
+ property :value, as: 'value'
1281
+ end
1282
+ end
1283
+
1284
+ class ObjectFullContext
1285
+ # @private
1286
+ class Representation < Google::Apis::Core::JsonRepresentation
1287
+ property :create_time, as: 'createTime', type: DateTime
1288
+
1289
+ hash :extended_data, as: 'extendedData'
1290
+ property :key, as: 'key'
1291
+ property :kind, as: 'kind'
1292
+ property :type, as: 'type'
1250
1293
  property :update_time, as: 'updateTime', type: DateTime
1251
1294
 
1252
1295
  property :value, as: 'value'
@@ -1286,6 +1329,54 @@ module Google
1286
1329
  end
1287
1330
  end
1288
1331
 
1332
+ class RapidCache
1333
+ # @private
1334
+ class Representation < Google::Apis::Core::JsonRepresentation
1335
+ property :admission_policy, as: 'admissionPolicy'
1336
+ property :bucket, as: 'bucket'
1337
+ property :cache_type, as: 'cacheType'
1338
+ property :create_time, as: 'createTime', type: DateTime
1339
+
1340
+ property :id, as: 'id'
1341
+ property :ingest_on_write, as: 'ingestOnWrite'
1342
+ property :kind, as: 'kind'
1343
+ property :pending_update, as: 'pendingUpdate'
1344
+ property :rapid_cache_id, as: 'rapidCacheId'
1345
+ property :self_link, as: 'selfLink'
1346
+ property :state, as: 'state'
1347
+ property :ttl, as: 'ttl'
1348
+ property :update_time, as: 'updateTime', type: DateTime
1349
+
1350
+ property :zone, as: 'zone'
1351
+ end
1352
+ end
1353
+
1354
+ class RapidCacheConfig
1355
+ # @private
1356
+ class Representation < Google::Apis::Core::JsonRepresentation
1357
+ hash :policies, as: 'policies', class: Google::Apis::StorageV1::RapidCachePolicy, decorator: Google::Apis::StorageV1::RapidCachePolicy::Representation
1358
+
1359
+ end
1360
+ end
1361
+
1362
+ class RapidCachePolicy
1363
+ # @private
1364
+ class Representation < Google::Apis::Core::JsonRepresentation
1365
+ property :ingest_on_write, as: 'ingestOnWrite'
1366
+ property :rapid_cache_id, as: 'rapidCacheId'
1367
+ end
1368
+ end
1369
+
1370
+ class RapidCaches
1371
+ # @private
1372
+ class Representation < Google::Apis::Core::JsonRepresentation
1373
+ collection :items, as: 'items', class: Google::Apis::StorageV1::RapidCache, decorator: Google::Apis::StorageV1::RapidCache::Representation
1374
+
1375
+ property :kind, as: 'kind'
1376
+ property :next_page_token, as: 'nextPageToken'
1377
+ end
1378
+ end
1379
+
1289
1380
  class RelocateBucketRequest
1290
1381
  # @private
1291
1382
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1153,37 +1153,6 @@ module Google
1153
1153
  execute_or_queue_command(command, &block)
1154
1154
  end
1155
1155
 
1156
- # Stop watching resources through this channel
1157
- # @param [Google::Apis::StorageV1::Channel] channel_object
1158
- # @param [String] fields
1159
- # Selector specifying which fields to include in a partial response.
1160
- # @param [String] quota_user
1161
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1162
- # characters.
1163
- # @param [String] user_ip
1164
- # Deprecated. Please use quotaUser instead.
1165
- # @param [Google::Apis::RequestOptions] options
1166
- # Request-specific options
1167
- #
1168
- # @yield [result, err] Result & error if block supplied
1169
- # @yieldparam result [NilClass] No result returned for this method
1170
- # @yieldparam err [StandardError] error object if request failed
1171
- #
1172
- # @return [void]
1173
- #
1174
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1175
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1176
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1177
- def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1178
- command = make_simple_command(:post, 'channels/stop', options)
1179
- command.request_representation = Google::Apis::StorageV1::Channel::Representation
1180
- command.request_object = channel_object
1181
- command.query['fields'] = fields unless fields.nil?
1182
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1183
- command.query['userIp'] = user_ip unless user_ip.nil?
1184
- execute_or_queue_command(command, &block)
1185
- end
1186
-
1187
1156
  # Permanently deletes the default object ACL entry for the specified entity on
1188
1157
  # the specified bucket.
1189
1158
  # @param [String] bucket
@@ -2011,6 +1980,53 @@ module Google
2011
1980
  execute_or_queue_command(command, &block)
2012
1981
  end
2013
1982
 
1983
+ # Updates a managed folder using patch semantics.
1984
+ # @param [String] bucket
1985
+ # The name of the bucket containing the managed folder.
1986
+ # @param [String] managed_folder
1987
+ # The name of the managed folder.
1988
+ # @param [Google::Apis::StorageV1::ManagedFolder] managed_folder_object
1989
+ # @param [Fixnum] if_metageneration_match
1990
+ # Makes the operation conditional on whether the metageneration of the managed
1991
+ # folder matches the specified value.
1992
+ # @param [Fixnum] if_metageneration_not_match
1993
+ # Makes the operation conditional on whether the metageneration of the managed
1994
+ # folder doesn't match the specified value.
1995
+ # @param [String] fields
1996
+ # Selector specifying which fields to include in a partial response.
1997
+ # @param [String] quota_user
1998
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
1999
+ # characters.
2000
+ # @param [String] user_ip
2001
+ # Deprecated. Please use quotaUser instead.
2002
+ # @param [Google::Apis::RequestOptions] options
2003
+ # Request-specific options
2004
+ #
2005
+ # @yield [result, err] Result & error if block supplied
2006
+ # @yieldparam result [Google::Apis::StorageV1::ManagedFolder] parsed result object
2007
+ # @yieldparam err [StandardError] error object if request failed
2008
+ #
2009
+ # @return [Google::Apis::StorageV1::ManagedFolder]
2010
+ #
2011
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2012
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2013
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2014
+ 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)
2015
+ command = make_simple_command(:patch, 'b/{bucket}/managedFolders/{managedFolder}', options)
2016
+ command.request_representation = Google::Apis::StorageV1::ManagedFolder::Representation
2017
+ command.request_object = managed_folder_object
2018
+ command.response_representation = Google::Apis::StorageV1::ManagedFolder::Representation
2019
+ command.response_class = Google::Apis::StorageV1::ManagedFolder
2020
+ command.params['bucket'] = bucket unless bucket.nil?
2021
+ command.params['managedFolder'] = managed_folder unless managed_folder.nil?
2022
+ command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
2023
+ command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
2024
+ command.query['fields'] = fields unless fields.nil?
2025
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2026
+ command.query['userIp'] = user_ip unless user_ip.nil?
2027
+ execute_or_queue_command(command, &block)
2028
+ end
2029
+
2014
2030
  # Permanently deletes a notification subscription.
2015
2031
  # @param [String] bucket
2016
2032
  # The parent bucket of the notification.
@@ -2504,8 +2520,13 @@ module Google
2504
2520
  # @param [String] destination_predefined_acl
2505
2521
  # Apply a predefined set of access controls to the destination object.
2506
2522
  # @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.
2523
+ # Specifies which object context groups to drop from the source object(s) during
2524
+ # a compose operation. The accepted value is 'custom'.
2525
+ # Destination contexts behave as follows:
2526
+ # - When request body contexts are provided, they override all source contexts.
2527
+ # - When no request body contexts are provided, source contexts are preserved
2528
+ # unless 'dropContextGroups' contains 'custom', in which case all contexts are
2529
+ # dropped.
2509
2530
  # @param [Fixnum] if_generation_match
2510
2531
  # Makes the operation conditional on whether the object's current generation
2511
2532
  # matches the given value. Setting to 0 makes the operation succeed only if
@@ -3323,8 +3344,13 @@ module Google
3323
3344
  # @param [String] destination_predefined_acl
3324
3345
  # Apply a predefined set of access controls to the destination object.
3325
3346
  # @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.
3347
+ # Specifies which object context groups to drop from the source object during a
3348
+ # copy operation. The accepted value is 'custom'.
3349
+ # Destination contexts behave as follows:
3350
+ # - When request body contexts are provided, they override all source contexts.
3351
+ # - When no request body contexts are provided, source contexts are preserved
3352
+ # unless 'dropContextGroups' contains 'custom', in which case all contexts are
3353
+ # dropped.
3328
3354
  # @param [Fixnum] if_generation_match
3329
3355
  # Makes the operation conditional on whether the object's current generation
3330
3356
  # matches the given value. Setting to 0 makes the operation succeed only if
@@ -3598,45 +3624,18 @@ module Google
3598
3624
  execute_or_queue_command(command, &block)
3599
3625
  end
3600
3626
 
3601
- # Watch for changes on all objects in a bucket.
3627
+ # Retrieves a specific object context with its extended data for a given object.
3602
3628
  # @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).
3629
+ # Name of the bucket in which the object resides.
3630
+ # @param [String] object
3631
+ # Name of the object. For information about how to URL encode object names to be
3632
+ # path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/
3633
+ # request-endpoints#encoding).
3634
+ # @param [Fixnum] generation
3635
+ # If present, selects a specific revision of this object (as opposed to the
3636
+ # latest version, the default).
3634
3637
  # @param [String] user_project
3635
3638
  # 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
3639
  # @param [String] fields
3641
3640
  # Selector specifying which fields to include in a partial response.
3642
3641
  # @param [String] quota_user
@@ -3648,31 +3647,23 @@ module Google
3648
3647
  # Request-specific options
3649
3648
  #
3650
3649
  # @yield [result, err] Result & error if block supplied
3651
- # @yieldparam result [Google::Apis::StorageV1::Channel] parsed result object
3650
+ # @yieldparam result [Google::Apis::StorageV1::ObjectFullContext] parsed result object
3652
3651
  # @yieldparam err [StandardError] error object if request failed
3653
3652
  #
3654
- # @return [Google::Apis::StorageV1::Channel]
3653
+ # @return [Google::Apis::StorageV1::ObjectFullContext]
3655
3654
  #
3656
3655
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3657
3656
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3658
3657
  # @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
3658
+ def view_object_full_context(bucket, object, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3659
+ command = make_simple_command(:get, 'b/{bucket}/o/{object}/viewFullContext', options)
3660
+ command.response_representation = Google::Apis::StorageV1::ObjectFullContext::Representation
3661
+ command.response_class = Google::Apis::StorageV1::ObjectFullContext
3665
3662
  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?
3663
+ command.params['object'] = object unless object.nil?
3664
+ command.query['contextKey'] = context_key unless context_key.nil?
3665
+ command.query['generation'] = generation unless generation.nil?
3674
3666
  command.query['userProject'] = user_project unless user_project.nil?
3675
- command.query['versions'] = versions unless versions.nil?
3676
3667
  command.query['fields'] = fields unless fields.nil?
3677
3668
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3678
3669
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -4083,6 +4074,193 @@ module Google
4083
4074
  command.query['userIp'] = user_ip unless user_ip.nil?
4084
4075
  execute_or_queue_command(command, &block)
4085
4076
  end
4077
+
4078
+ # Disables a Rapid Cache instance.
4079
+ # @param [String] bucket
4080
+ # Name of the parent bucket.
4081
+ # @param [String] rapid_cache_id
4082
+ # The ID of the requested Rapid Cache instance.
4083
+ # @param [String] fields
4084
+ # Selector specifying which fields to include in a partial response.
4085
+ # @param [String] quota_user
4086
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4087
+ # characters.
4088
+ # @param [String] user_ip
4089
+ # Deprecated. Please use quotaUser instead.
4090
+ # @param [Google::Apis::RequestOptions] options
4091
+ # Request-specific options
4092
+ #
4093
+ # @yield [result, err] Result & error if block supplied
4094
+ # @yieldparam result [Google::Apis::StorageV1::GoogleLongrunningOperation] parsed result object
4095
+ # @yieldparam err [StandardError] error object if request failed
4096
+ #
4097
+ # @return [Google::Apis::StorageV1::GoogleLongrunningOperation]
4098
+ #
4099
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4100
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4101
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4102
+ def disable_rapid_cach(bucket, rapid_cache_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4103
+ command = make_simple_command(:post, 'b/{bucket}/rapidCaches/{rapidCacheId}/disable', options)
4104
+ command.response_representation = Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
4105
+ command.response_class = Google::Apis::StorageV1::GoogleLongrunningOperation
4106
+ command.params['bucket'] = bucket unless bucket.nil?
4107
+ command.params['rapidCacheId'] = rapid_cache_id unless rapid_cache_id.nil?
4108
+ command.query['fields'] = fields unless fields.nil?
4109
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4110
+ command.query['userIp'] = user_ip unless user_ip.nil?
4111
+ execute_or_queue_command(command, &block)
4112
+ end
4113
+
4114
+ # Returns the metadata of a Rapid Cache instance.
4115
+ # @param [String] bucket
4116
+ # Name of the parent bucket.
4117
+ # @param [String] rapid_cache_id
4118
+ # The ID of the requested Rapid Cache instance.
4119
+ # @param [String] fields
4120
+ # Selector specifying which fields to include in a partial response.
4121
+ # @param [String] quota_user
4122
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4123
+ # characters.
4124
+ # @param [String] user_ip
4125
+ # Deprecated. Please use quotaUser instead.
4126
+ # @param [Google::Apis::RequestOptions] options
4127
+ # Request-specific options
4128
+ #
4129
+ # @yield [result, err] Result & error if block supplied
4130
+ # @yieldparam result [Google::Apis::StorageV1::RapidCache] parsed result object
4131
+ # @yieldparam err [StandardError] error object if request failed
4132
+ #
4133
+ # @return [Google::Apis::StorageV1::RapidCache]
4134
+ #
4135
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4136
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4137
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4138
+ def get_rapid_cach(bucket, rapid_cache_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4139
+ command = make_simple_command(:get, 'b/{bucket}/rapidCaches/{rapidCacheId}', options)
4140
+ command.response_representation = Google::Apis::StorageV1::RapidCache::Representation
4141
+ command.response_class = Google::Apis::StorageV1::RapidCache
4142
+ command.params['bucket'] = bucket unless bucket.nil?
4143
+ command.params['rapidCacheId'] = rapid_cache_id unless rapid_cache_id.nil?
4144
+ command.query['fields'] = fields unless fields.nil?
4145
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4146
+ command.query['userIp'] = user_ip unless user_ip.nil?
4147
+ execute_or_queue_command(command, &block)
4148
+ end
4149
+
4150
+ # Creates a Rapid Cache instance.
4151
+ # @param [String] bucket
4152
+ # Name of the parent bucket.
4153
+ # @param [Google::Apis::StorageV1::RapidCache] rapid_cache_object
4154
+ # @param [String] fields
4155
+ # Selector specifying which fields to include in a partial response.
4156
+ # @param [String] quota_user
4157
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4158
+ # characters.
4159
+ # @param [String] user_ip
4160
+ # Deprecated. Please use quotaUser instead.
4161
+ # @param [Google::Apis::RequestOptions] options
4162
+ # Request-specific options
4163
+ #
4164
+ # @yield [result, err] Result & error if block supplied
4165
+ # @yieldparam result [Google::Apis::StorageV1::GoogleLongrunningOperation] parsed result object
4166
+ # @yieldparam err [StandardError] error object if request failed
4167
+ #
4168
+ # @return [Google::Apis::StorageV1::GoogleLongrunningOperation]
4169
+ #
4170
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4171
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4172
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4173
+ def insert_rapid_cach(bucket, rapid_cache_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4174
+ command = make_simple_command(:post, 'b/{bucket}/rapidCaches', options)
4175
+ command.request_representation = Google::Apis::StorageV1::RapidCache::Representation
4176
+ command.request_object = rapid_cache_object
4177
+ command.response_representation = Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
4178
+ command.response_class = Google::Apis::StorageV1::GoogleLongrunningOperation
4179
+ command.params['bucket'] = bucket unless bucket.nil?
4180
+ command.query['fields'] = fields unless fields.nil?
4181
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4182
+ command.query['userIp'] = user_ip unless user_ip.nil?
4183
+ execute_or_queue_command(command, &block)
4184
+ end
4185
+
4186
+ # Returns a list of Rapid Cache instances of the bucket.
4187
+ # @param [String] bucket
4188
+ # Name of the parent bucket.
4189
+ # @param [Fixnum] page_size
4190
+ # Maximum number of items to return in a single page of responses.
4191
+ # @param [String] page_token
4192
+ # A previously-returned page token representing part of the larger set of
4193
+ # results to view.
4194
+ # @param [String] fields
4195
+ # Selector specifying which fields to include in a partial response.
4196
+ # @param [String] quota_user
4197
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4198
+ # characters.
4199
+ # @param [String] user_ip
4200
+ # Deprecated. Please use quotaUser instead.
4201
+ # @param [Google::Apis::RequestOptions] options
4202
+ # Request-specific options
4203
+ #
4204
+ # @yield [result, err] Result & error if block supplied
4205
+ # @yieldparam result [Google::Apis::StorageV1::RapidCaches] parsed result object
4206
+ # @yieldparam err [StandardError] error object if request failed
4207
+ #
4208
+ # @return [Google::Apis::StorageV1::RapidCaches]
4209
+ #
4210
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4211
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4212
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4213
+ def list_rapid_caches(bucket, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4214
+ command = make_simple_command(:get, 'b/{bucket}/rapidCaches', options)
4215
+ command.response_representation = Google::Apis::StorageV1::RapidCaches::Representation
4216
+ command.response_class = Google::Apis::StorageV1::RapidCaches
4217
+ command.params['bucket'] = bucket unless bucket.nil?
4218
+ command.query['pageSize'] = page_size unless page_size.nil?
4219
+ command.query['pageToken'] = page_token unless page_token.nil?
4220
+ command.query['fields'] = fields unless fields.nil?
4221
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4222
+ command.query['userIp'] = user_ip unless user_ip.nil?
4223
+ execute_or_queue_command(command, &block)
4224
+ end
4225
+
4226
+ # Updates the configuration of a Rapid Cache instance.
4227
+ # @param [String] bucket
4228
+ # Name of the parent bucket.
4229
+ # @param [String] rapid_cache_id
4230
+ # The ID of the requested Rapid Cache instance.
4231
+ # @param [Google::Apis::StorageV1::RapidCache] rapid_cache_object
4232
+ # @param [String] fields
4233
+ # Selector specifying which fields to include in a partial response.
4234
+ # @param [String] quota_user
4235
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4236
+ # characters.
4237
+ # @param [String] user_ip
4238
+ # Deprecated. Please use quotaUser instead.
4239
+ # @param [Google::Apis::RequestOptions] options
4240
+ # Request-specific options
4241
+ #
4242
+ # @yield [result, err] Result & error if block supplied
4243
+ # @yieldparam result [Google::Apis::StorageV1::GoogleLongrunningOperation] parsed result object
4244
+ # @yieldparam err [StandardError] error object if request failed
4245
+ #
4246
+ # @return [Google::Apis::StorageV1::GoogleLongrunningOperation]
4247
+ #
4248
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4249
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4250
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4251
+ def update_rapid_cach(bucket, rapid_cache_id, rapid_cache_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4252
+ command = make_simple_command(:patch, 'b/{bucket}/rapidCaches/{rapidCacheId}', options)
4253
+ command.request_representation = Google::Apis::StorageV1::RapidCache::Representation
4254
+ command.request_object = rapid_cache_object
4255
+ command.response_representation = Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
4256
+ command.response_class = Google::Apis::StorageV1::GoogleLongrunningOperation
4257
+ command.params['bucket'] = bucket unless bucket.nil?
4258
+ command.params['rapidCacheId'] = rapid_cache_id unless rapid_cache_id.nil?
4259
+ command.query['fields'] = fields unless fields.nil?
4260
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4261
+ command.query['userIp'] = user_ip unless user_ip.nil?
4262
+ execute_or_queue_command(command, &block)
4263
+ end
4086
4264
 
4087
4265
  protected
4088
4266
 
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.70.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.70.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: