google-apis-storage_v1 0.64.0 → 0.68.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: ff6e76044999c5d172fc913827837f203a54ff526849545d9cf9a3a0002b3863
4
+ data.tar.gz: f1bd78d2ffb39b7ac9674b2c331c0344932f62734d7103ca5894c312cb9d9dcd
5
5
  SHA512:
6
- metadata.gz: 3597cb839bdf637b9f02f9ed72e91bade16a367282ba5ec0897ea685862de3d34343f128305fec13cf6a9eb50de1236094e63dbc8283a77eb1d49534a1e6a648
7
- data.tar.gz: 574116620cb5f99f9b1e5a82ddcad76d6d144e87ca13a3b0aa2c9e98f9928a027b218096f85c687abadd47a6e1e314a2cb82215e2f7328dd216e160f7703817f
6
+ metadata.gz: 835fb3274f3a721f33e474bdb82b3e00425e4d66c3cc3b174f9dbaab01de2c4a28bc0274a1566c8a0e74063153f4bedbd2099c06e4dcdc6a23c61bdb564ed9e4
7
+ data.tar.gz: e57a7bcf6d69e66ce01978bdf58d72fdab364f26012d5fc66105bdf4bfdbf3ddf048152298b5a3e017e67946da6feb16cbd95df2d670638a6133230c1f6b1661
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-storage_v1
2
2
 
3
+ ### v0.68.0 (2026-09-20)
4
+
5
+ * Regenerated from discovery document revision 20260911
6
+
7
+ ### v0.67.0 (2026-08-30)
8
+
9
+ * Regenerated from discovery document revision 20260821
10
+
11
+ ### v0.66.0 (2026-08-16)
12
+
13
+ * Regenerated from discovery document revision 20260805
14
+
15
+ ### v0.65.0 (2026-07-05)
16
+
17
+ * Regenerated from discovery document revision 20260625
18
+
3
19
  ### v0.64.0 (2026-06-14)
4
20
 
5
21
  * Regenerated using generator version 0.19.0
@@ -2307,6 +2307,11 @@ module Google
2307
2307
  # @return [String]
2308
2308
  attr_accessor :name
2309
2309
 
2310
+ # Configuration options for the rapid cache of a managed folder.
2311
+ # Corresponds to the JSON property `rapidCacheConfig`
2312
+ # @return [Google::Apis::StorageV1::RapidCacheConfig]
2313
+ attr_accessor :rapid_cache_config
2314
+
2310
2315
  # The link to this managed folder.
2311
2316
  # Corresponds to the JSON property `selfLink`
2312
2317
  # @return [String]
@@ -2329,6 +2334,7 @@ module Google
2329
2334
  @kind = args[:kind] if args.key?(:kind)
2330
2335
  @metageneration = args[:metageneration] if args.key?(:metageneration)
2331
2336
  @name = args[:name] if args.key?(:name)
2337
+ @rapid_cache_config = args[:rapid_cache_config] if args.key?(:rapid_cache_config)
2332
2338
  @self_link = args[:self_link] if args.key?(:self_link)
2333
2339
  @update_time = args[:update_time] if args.key?(:update_time)
2334
2340
  end
@@ -3014,6 +3020,11 @@ module Google
3014
3020
  # @return [DateTime]
3015
3021
  attr_accessor :create_time
3016
3022
 
3023
+ # The type URL of the object context's extended data.
3024
+ # Corresponds to the JSON property `extendedDataTypeUrl`
3025
+ # @return [String]
3026
+ attr_accessor :extended_data_type_url
3027
+
3017
3028
  # The time at which the object context was last updated in RFC 3339 format.
3018
3029
  # Corresponds to the JSON property `updateTime`
3019
3030
  # @return [DateTime]
@@ -3031,6 +3042,7 @@ module Google
3031
3042
  # Update properties of this object
3032
3043
  def update!(**args)
3033
3044
  @create_time = args[:create_time] if args.key?(:create_time)
3045
+ @extended_data_type_url = args[:extended_data_type_url] if args.key?(:extended_data_type_url)
3034
3046
  @update_time = args[:update_time] if args.key?(:update_time)
3035
3047
  @value = args[:value] if args.key?(:value)
3036
3048
  end
@@ -3201,6 +3213,187 @@ module Google
3201
3213
  end
3202
3214
  end
3203
3215
 
3216
+ # A Rapid Cache instance.
3217
+ class RapidCache
3218
+ include Google::Apis::Core::Hashable
3219
+
3220
+ # The cache-level entry admission policy.
3221
+ # Corresponds to the JSON property `admissionPolicy`
3222
+ # @return [String]
3223
+ attr_accessor :admission_policy
3224
+
3225
+ # The name of the bucket containing this cache instance.
3226
+ # Corresponds to the JSON property `bucket`
3227
+ # @return [String]
3228
+ attr_accessor :bucket
3229
+
3230
+ # The type of Rapid Cache this represents. Valid values include: "rapid-cache"
3231
+ # and "rapid-cache-ultra".
3232
+ # Corresponds to the JSON property `cacheType`
3233
+ # @return [String]
3234
+ attr_accessor :cache_type
3235
+
3236
+ # The creation time of the cache instance in RFC 3339 format.
3237
+ # Corresponds to the JSON property `createTime`
3238
+ # @return [DateTime]
3239
+ attr_accessor :create_time
3240
+
3241
+ # The ID of the resource, including the project number, bucket name and rapid
3242
+ # cache ID.
3243
+ # Corresponds to the JSON property `id`
3244
+ # @return [String]
3245
+ attr_accessor :id
3246
+
3247
+ # Specifies whether objects are ingested into the cache upon write.
3248
+ # Corresponds to the JSON property `ingestOnWrite`
3249
+ # @return [Boolean]
3250
+ attr_accessor :ingest_on_write
3251
+ alias_method :ingest_on_write?, :ingest_on_write
3252
+
3253
+ # The kind of item this is. For Rapid Cache, this is always storage#rapidCache.
3254
+ # Corresponds to the JSON property `kind`
3255
+ # @return [String]
3256
+ attr_accessor :kind
3257
+
3258
+ # True if the cache instance has an active Update long-running operation.
3259
+ # Corresponds to the JSON property `pendingUpdate`
3260
+ # @return [Boolean]
3261
+ attr_accessor :pending_update
3262
+ alias_method :pending_update?, :pending_update
3263
+
3264
+ # The ID of the Rapid cache instance.
3265
+ # Corresponds to the JSON property `rapidCacheId`
3266
+ # @return [String]
3267
+ attr_accessor :rapid_cache_id
3268
+
3269
+ # The link to this cache instance.
3270
+ # Corresponds to the JSON property `selfLink`
3271
+ # @return [String]
3272
+ attr_accessor :self_link
3273
+
3274
+ # The current state of the cache instance.
3275
+ # Corresponds to the JSON property `state`
3276
+ # @return [String]
3277
+ attr_accessor :state
3278
+
3279
+ # The TTL of all cache entries in whole seconds. e.g., "7200s".
3280
+ # Corresponds to the JSON property `ttl`
3281
+ # @return [String]
3282
+ attr_accessor :ttl
3283
+
3284
+ # The modification time of the cache instance metadata in RFC 3339 format.
3285
+ # Corresponds to the JSON property `updateTime`
3286
+ # @return [DateTime]
3287
+ attr_accessor :update_time
3288
+
3289
+ # The zone in which the cache instance is running. For example, us-central1-a.
3290
+ # Corresponds to the JSON property `zone`
3291
+ # @return [String]
3292
+ attr_accessor :zone
3293
+
3294
+ def initialize(**args)
3295
+ update!(**args)
3296
+ end
3297
+
3298
+ # Update properties of this object
3299
+ def update!(**args)
3300
+ @admission_policy = args[:admission_policy] if args.key?(:admission_policy)
3301
+ @bucket = args[:bucket] if args.key?(:bucket)
3302
+ @cache_type = args[:cache_type] if args.key?(:cache_type)
3303
+ @create_time = args[:create_time] if args.key?(:create_time)
3304
+ @id = args[:id] if args.key?(:id)
3305
+ @ingest_on_write = args[:ingest_on_write] if args.key?(:ingest_on_write)
3306
+ @kind = args[:kind] if args.key?(:kind)
3307
+ @pending_update = args[:pending_update] if args.key?(:pending_update)
3308
+ @rapid_cache_id = args[:rapid_cache_id] if args.key?(:rapid_cache_id)
3309
+ @self_link = args[:self_link] if args.key?(:self_link)
3310
+ @state = args[:state] if args.key?(:state)
3311
+ @ttl = args[:ttl] if args.key?(:ttl)
3312
+ @update_time = args[:update_time] if args.key?(:update_time)
3313
+ @zone = args[:zone] if args.key?(:zone)
3314
+ end
3315
+ end
3316
+
3317
+ # Configuration options for the rapid cache of a managed folder.
3318
+ class RapidCacheConfig
3319
+ include Google::Apis::Core::Hashable
3320
+
3321
+ # A map of rapid cache IDs to the corresponding `RapidCachePolicy`
3322
+ # configurations for a managed folder.
3323
+ # Corresponds to the JSON property `policies`
3324
+ # @return [Hash<String,Google::Apis::StorageV1::RapidCachePolicy>]
3325
+ attr_accessor :policies
3326
+
3327
+ def initialize(**args)
3328
+ update!(**args)
3329
+ end
3330
+
3331
+ # Update properties of this object
3332
+ def update!(**args)
3333
+ @policies = args[:policies] if args.key?(:policies)
3334
+ end
3335
+ end
3336
+
3337
+ # The rapid cache policy configuration for a managed folder.
3338
+ class RapidCachePolicy
3339
+ include Google::Apis::Core::Hashable
3340
+
3341
+ # The ingest-on-write policy for objects in the managed folder. When set to `
3342
+ # enabled`, objects are automatically ingested into the cache when they are
3343
+ # written to the managed folder.
3344
+ # Corresponds to the JSON property `ingestOnWrite`
3345
+ # @return [String]
3346
+ attr_accessor :ingest_on_write
3347
+
3348
+ # The unique identifier of the rapid cache.
3349
+ # Corresponds to the JSON property `rapidCacheId`
3350
+ # @return [String]
3351
+ attr_accessor :rapid_cache_id
3352
+
3353
+ def initialize(**args)
3354
+ update!(**args)
3355
+ end
3356
+
3357
+ # Update properties of this object
3358
+ def update!(**args)
3359
+ @ingest_on_write = args[:ingest_on_write] if args.key?(:ingest_on_write)
3360
+ @rapid_cache_id = args[:rapid_cache_id] if args.key?(:rapid_cache_id)
3361
+ end
3362
+ end
3363
+
3364
+ # A list of Rapid Caches.
3365
+ class RapidCaches
3366
+ include Google::Apis::Core::Hashable
3367
+
3368
+ # The list of items.
3369
+ # Corresponds to the JSON property `items`
3370
+ # @return [Array<Google::Apis::StorageV1::RapidCache>]
3371
+ attr_accessor :items
3372
+
3373
+ # The kind of item this is. For lists of Rapid Caches, this is always storage#
3374
+ # rapidCaches.
3375
+ # Corresponds to the JSON property `kind`
3376
+ # @return [String]
3377
+ attr_accessor :kind
3378
+
3379
+ # The continuation token, used to page through large result sets. Provide this
3380
+ # value in a subsequent request to return the next page of results.
3381
+ # Corresponds to the JSON property `nextPageToken`
3382
+ # @return [String]
3383
+ attr_accessor :next_page_token
3384
+
3385
+ def initialize(**args)
3386
+ update!(**args)
3387
+ end
3388
+
3389
+ # Update properties of this object
3390
+ def update!(**args)
3391
+ @items = args[:items] if args.key?(:items)
3392
+ @kind = args[:kind] if args.key?(:kind)
3393
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3394
+ end
3395
+ end
3396
+
3204
3397
  # A Relocate Bucket request.
3205
3398
  class RelocateBucketRequest
3206
3399
  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.68.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 = "20260911"
26
26
  end
27
27
  end
28
28
  end
@@ -430,6 +430,30 @@ module Google
430
430
  include Google::Apis::Core::JsonObjectSupport
431
431
  end
432
432
 
433
+ class RapidCache
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class RapidCacheConfig
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class RapidCachePolicy
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class RapidCaches
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
433
457
  class RelocateBucketRequest
434
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
459
 
@@ -1074,6 +1098,8 @@ module Google
1074
1098
  property :kind, as: 'kind'
1075
1099
  property :metageneration, :numeric_string => true, as: 'metageneration'
1076
1100
  property :name, as: 'name'
1101
+ property :rapid_cache_config, as: 'rapidCacheConfig', class: Google::Apis::StorageV1::RapidCacheConfig, decorator: Google::Apis::StorageV1::RapidCacheConfig::Representation
1102
+
1077
1103
  property :self_link, as: 'selfLink'
1078
1104
  property :update_time, as: 'updateTime', type: DateTime
1079
1105
 
@@ -1247,6 +1273,7 @@ module Google
1247
1273
  class Representation < Google::Apis::Core::JsonRepresentation
1248
1274
  property :create_time, as: 'createTime', type: DateTime
1249
1275
 
1276
+ property :extended_data_type_url, as: 'extendedDataTypeUrl'
1250
1277
  property :update_time, as: 'updateTime', type: DateTime
1251
1278
 
1252
1279
  property :value, as: 'value'
@@ -1286,6 +1313,54 @@ module Google
1286
1313
  end
1287
1314
  end
1288
1315
 
1316
+ class RapidCache
1317
+ # @private
1318
+ class Representation < Google::Apis::Core::JsonRepresentation
1319
+ property :admission_policy, as: 'admissionPolicy'
1320
+ property :bucket, as: 'bucket'
1321
+ property :cache_type, as: 'cacheType'
1322
+ property :create_time, as: 'createTime', type: DateTime
1323
+
1324
+ property :id, as: 'id'
1325
+ property :ingest_on_write, as: 'ingestOnWrite'
1326
+ property :kind, as: 'kind'
1327
+ property :pending_update, as: 'pendingUpdate'
1328
+ property :rapid_cache_id, as: 'rapidCacheId'
1329
+ property :self_link, as: 'selfLink'
1330
+ property :state, as: 'state'
1331
+ property :ttl, as: 'ttl'
1332
+ property :update_time, as: 'updateTime', type: DateTime
1333
+
1334
+ property :zone, as: 'zone'
1335
+ end
1336
+ end
1337
+
1338
+ class RapidCacheConfig
1339
+ # @private
1340
+ class Representation < Google::Apis::Core::JsonRepresentation
1341
+ hash :policies, as: 'policies', class: Google::Apis::StorageV1::RapidCachePolicy, decorator: Google::Apis::StorageV1::RapidCachePolicy::Representation
1342
+
1343
+ end
1344
+ end
1345
+
1346
+ class RapidCachePolicy
1347
+ # @private
1348
+ class Representation < Google::Apis::Core::JsonRepresentation
1349
+ property :ingest_on_write, as: 'ingestOnWrite'
1350
+ property :rapid_cache_id, as: 'rapidCacheId'
1351
+ end
1352
+ end
1353
+
1354
+ class RapidCaches
1355
+ # @private
1356
+ class Representation < Google::Apis::Core::JsonRepresentation
1357
+ collection :items, as: 'items', class: Google::Apis::StorageV1::RapidCache, decorator: Google::Apis::StorageV1::RapidCache::Representation
1358
+
1359
+ property :kind, as: 'kind'
1360
+ property :next_page_token, as: 'nextPageToken'
1361
+ end
1362
+ end
1363
+
1289
1364
  class RelocateBucketRequest
1290
1365
  # @private
1291
1366
  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,87 +3655,6 @@ 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.
3602
- # @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).
3634
- # @param [String] user_project
3635
- # 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
- # @param [String] fields
3641
- # Selector specifying which fields to include in a partial response.
3642
- # @param [String] quota_user
3643
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3644
- # characters.
3645
- # @param [String] user_ip
3646
- # Deprecated. Please use quotaUser instead.
3647
- # @param [Google::Apis::RequestOptions] options
3648
- # Request-specific options
3649
- #
3650
- # @yield [result, err] Result & error if block supplied
3651
- # @yieldparam result [Google::Apis::StorageV1::Channel] parsed result object
3652
- # @yieldparam err [StandardError] error object if request failed
3653
- #
3654
- # @return [Google::Apis::StorageV1::Channel]
3655
- #
3656
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3657
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3658
- # @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
3665
- 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?
3674
- command.query['userProject'] = user_project unless user_project.nil?
3675
- command.query['versions'] = versions unless versions.nil?
3676
- command.query['fields'] = fields unless fields.nil?
3677
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3678
- command.query['userIp'] = user_ip unless user_ip.nil?
3679
- execute_or_queue_command(command, &block)
3680
- end
3681
-
3682
3658
  # Starts asynchronous advancement of the relocate bucket operation in the case
3683
3659
  # of required write downtime, to allow it to lock the bucket at the source
3684
3660
  # location, and proceed with the bucket location swap. The server makes a best
@@ -4083,6 +4059,193 @@ module Google
4083
4059
  command.query['userIp'] = user_ip unless user_ip.nil?
4084
4060
  execute_or_queue_command(command, &block)
4085
4061
  end
4062
+
4063
+ # Disables a Rapid Cache instance.
4064
+ # @param [String] bucket
4065
+ # Name of the parent bucket.
4066
+ # @param [String] rapid_cache_id
4067
+ # The ID of the requested Rapid Cache instance.
4068
+ # @param [String] fields
4069
+ # Selector specifying which fields to include in a partial response.
4070
+ # @param [String] quota_user
4071
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4072
+ # characters.
4073
+ # @param [String] user_ip
4074
+ # Deprecated. Please use quotaUser instead.
4075
+ # @param [Google::Apis::RequestOptions] options
4076
+ # Request-specific options
4077
+ #
4078
+ # @yield [result, err] Result & error if block supplied
4079
+ # @yieldparam result [Google::Apis::StorageV1::GoogleLongrunningOperation] parsed result object
4080
+ # @yieldparam err [StandardError] error object if request failed
4081
+ #
4082
+ # @return [Google::Apis::StorageV1::GoogleLongrunningOperation]
4083
+ #
4084
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4085
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4086
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4087
+ def disable_rapid_cach(bucket, rapid_cache_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4088
+ command = make_simple_command(:post, 'b/{bucket}/rapidCaches/{rapidCacheId}/disable', options)
4089
+ command.response_representation = Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
4090
+ command.response_class = Google::Apis::StorageV1::GoogleLongrunningOperation
4091
+ command.params['bucket'] = bucket unless bucket.nil?
4092
+ command.params['rapidCacheId'] = rapid_cache_id unless rapid_cache_id.nil?
4093
+ command.query['fields'] = fields unless fields.nil?
4094
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4095
+ command.query['userIp'] = user_ip unless user_ip.nil?
4096
+ execute_or_queue_command(command, &block)
4097
+ end
4098
+
4099
+ # Returns the metadata of a Rapid Cache instance.
4100
+ # @param [String] bucket
4101
+ # Name of the parent bucket.
4102
+ # @param [String] rapid_cache_id
4103
+ # The ID of the requested Rapid Cache instance.
4104
+ # @param [String] fields
4105
+ # Selector specifying which fields to include in a partial response.
4106
+ # @param [String] quota_user
4107
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4108
+ # characters.
4109
+ # @param [String] user_ip
4110
+ # Deprecated. Please use quotaUser instead.
4111
+ # @param [Google::Apis::RequestOptions] options
4112
+ # Request-specific options
4113
+ #
4114
+ # @yield [result, err] Result & error if block supplied
4115
+ # @yieldparam result [Google::Apis::StorageV1::RapidCache] parsed result object
4116
+ # @yieldparam err [StandardError] error object if request failed
4117
+ #
4118
+ # @return [Google::Apis::StorageV1::RapidCache]
4119
+ #
4120
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4121
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4122
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4123
+ def get_rapid_cach(bucket, rapid_cache_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4124
+ command = make_simple_command(:get, 'b/{bucket}/rapidCaches/{rapidCacheId}', options)
4125
+ command.response_representation = Google::Apis::StorageV1::RapidCache::Representation
4126
+ command.response_class = Google::Apis::StorageV1::RapidCache
4127
+ command.params['bucket'] = bucket unless bucket.nil?
4128
+ command.params['rapidCacheId'] = rapid_cache_id unless rapid_cache_id.nil?
4129
+ command.query['fields'] = fields unless fields.nil?
4130
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4131
+ command.query['userIp'] = user_ip unless user_ip.nil?
4132
+ execute_or_queue_command(command, &block)
4133
+ end
4134
+
4135
+ # Creates a Rapid Cache instance.
4136
+ # @param [String] bucket
4137
+ # Name of the parent bucket.
4138
+ # @param [Google::Apis::StorageV1::RapidCache] rapid_cache_object
4139
+ # @param [String] fields
4140
+ # Selector specifying which fields to include in a partial response.
4141
+ # @param [String] quota_user
4142
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4143
+ # characters.
4144
+ # @param [String] user_ip
4145
+ # Deprecated. Please use quotaUser instead.
4146
+ # @param [Google::Apis::RequestOptions] options
4147
+ # Request-specific options
4148
+ #
4149
+ # @yield [result, err] Result & error if block supplied
4150
+ # @yieldparam result [Google::Apis::StorageV1::GoogleLongrunningOperation] parsed result object
4151
+ # @yieldparam err [StandardError] error object if request failed
4152
+ #
4153
+ # @return [Google::Apis::StorageV1::GoogleLongrunningOperation]
4154
+ #
4155
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4156
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4157
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4158
+ def insert_rapid_cach(bucket, rapid_cache_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4159
+ command = make_simple_command(:post, 'b/{bucket}/rapidCaches', options)
4160
+ command.request_representation = Google::Apis::StorageV1::RapidCache::Representation
4161
+ command.request_object = rapid_cache_object
4162
+ command.response_representation = Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
4163
+ command.response_class = Google::Apis::StorageV1::GoogleLongrunningOperation
4164
+ command.params['bucket'] = bucket unless bucket.nil?
4165
+ command.query['fields'] = fields unless fields.nil?
4166
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4167
+ command.query['userIp'] = user_ip unless user_ip.nil?
4168
+ execute_or_queue_command(command, &block)
4169
+ end
4170
+
4171
+ # Returns a list of Rapid Cache instances of the bucket.
4172
+ # @param [String] bucket
4173
+ # Name of the parent bucket.
4174
+ # @param [Fixnum] page_size
4175
+ # Maximum number of items to return in a single page of responses.
4176
+ # @param [String] page_token
4177
+ # A previously-returned page token representing part of the larger set of
4178
+ # results to view.
4179
+ # @param [String] fields
4180
+ # Selector specifying which fields to include in a partial response.
4181
+ # @param [String] quota_user
4182
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4183
+ # characters.
4184
+ # @param [String] user_ip
4185
+ # Deprecated. Please use quotaUser instead.
4186
+ # @param [Google::Apis::RequestOptions] options
4187
+ # Request-specific options
4188
+ #
4189
+ # @yield [result, err] Result & error if block supplied
4190
+ # @yieldparam result [Google::Apis::StorageV1::RapidCaches] parsed result object
4191
+ # @yieldparam err [StandardError] error object if request failed
4192
+ #
4193
+ # @return [Google::Apis::StorageV1::RapidCaches]
4194
+ #
4195
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4196
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4197
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4198
+ def list_rapid_caches(bucket, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4199
+ command = make_simple_command(:get, 'b/{bucket}/rapidCaches', options)
4200
+ command.response_representation = Google::Apis::StorageV1::RapidCaches::Representation
4201
+ command.response_class = Google::Apis::StorageV1::RapidCaches
4202
+ command.params['bucket'] = bucket unless bucket.nil?
4203
+ command.query['pageSize'] = page_size unless page_size.nil?
4204
+ command.query['pageToken'] = page_token unless page_token.nil?
4205
+ command.query['fields'] = fields unless fields.nil?
4206
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4207
+ command.query['userIp'] = user_ip unless user_ip.nil?
4208
+ execute_or_queue_command(command, &block)
4209
+ end
4210
+
4211
+ # Updates the configuration of a Rapid Cache instance.
4212
+ # @param [String] bucket
4213
+ # Name of the parent bucket.
4214
+ # @param [String] rapid_cache_id
4215
+ # The ID of the requested Rapid Cache instance.
4216
+ # @param [Google::Apis::StorageV1::RapidCache] rapid_cache_object
4217
+ # @param [String] fields
4218
+ # Selector specifying which fields to include in a partial response.
4219
+ # @param [String] quota_user
4220
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4221
+ # characters.
4222
+ # @param [String] user_ip
4223
+ # Deprecated. Please use quotaUser instead.
4224
+ # @param [Google::Apis::RequestOptions] options
4225
+ # Request-specific options
4226
+ #
4227
+ # @yield [result, err] Result & error if block supplied
4228
+ # @yieldparam result [Google::Apis::StorageV1::GoogleLongrunningOperation] parsed result object
4229
+ # @yieldparam err [StandardError] error object if request failed
4230
+ #
4231
+ # @return [Google::Apis::StorageV1::GoogleLongrunningOperation]
4232
+ #
4233
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4234
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4235
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4236
+ def update_rapid_cach(bucket, rapid_cache_id, rapid_cache_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4237
+ command = make_simple_command(:patch, 'b/{bucket}/rapidCaches/{rapidCacheId}', options)
4238
+ command.request_representation = Google::Apis::StorageV1::RapidCache::Representation
4239
+ command.request_object = rapid_cache_object
4240
+ command.response_representation = Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
4241
+ command.response_class = Google::Apis::StorageV1::GoogleLongrunningOperation
4242
+ command.params['bucket'] = bucket unless bucket.nil?
4243
+ command.params['rapidCacheId'] = rapid_cache_id unless rapid_cache_id.nil?
4244
+ command.query['fields'] = fields unless fields.nil?
4245
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4246
+ command.query['userIp'] = user_ip unless user_ip.nil?
4247
+ execute_or_queue_command(command, &block)
4248
+ end
4086
4249
 
4087
4250
  protected
4088
4251
 
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.68.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.68.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: