google-apis-storage_v1 0.68.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: ff6e76044999c5d172fc913827837f203a54ff526849545d9cf9a3a0002b3863
4
- data.tar.gz: f1bd78d2ffb39b7ac9674b2c331c0344932f62734d7103ca5894c312cb9d9dcd
3
+ metadata.gz: 24f76a46e84021434008b07589510b98f033c4668311ecbe08693f23fa005443
4
+ data.tar.gz: 0510b39ed065af9ed42ab33ed72d7dc0bd51303e8c9f2934a5bc410bfa18c99d
5
5
  SHA512:
6
- metadata.gz: 835fb3274f3a721f33e474bdb82b3e00425e4d66c3cc3b174f9dbaab01de2c4a28bc0274a1566c8a0e74063153f4bedbd2099c06e4dcdc6a23c61bdb564ed9e4
7
- data.tar.gz: e57a7bcf6d69e66ce01978bdf58d72fdab364f26012d5fc66105bdf4bfdbf3ddf048152298b5a3e017e67946da6feb16cbd95df2d670638a6133230c1f6b1661
6
+ metadata.gz: 8fde1935a517e2582184c45de8f1a19dc490e9aa83cdd95a07a5b9b6d9f6d93d84acd5c85ef343fea3a536739d15d960733d487f97fad46913d9a0740ee4c21e
7
+ data.tar.gz: c1667e80d1b6296a4b288375089bd1bc630e909a2b4e4f44961d55041bc2f7244ad8418d6b12fa8bb521a506b32e7e7a4175dd66aec16b98adb50a2f3c98fd12
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.68.0 (2026-09-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20260911
@@ -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.
@@ -3048,6 +3085,64 @@ module Google
3048
3085
  end
3049
3086
  end
3050
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)
3141
+ @update_time = args[:update_time] if args.key?(:update_time)
3142
+ @value = args[:value] if args.key?(:value)
3143
+ end
3144
+ end
3145
+
3051
3146
  # A list of objects.
3052
3147
  class Objects
3053
3148
  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.68.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 = "20260911"
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
 
@@ -816,8 +828,19 @@ module Google
816
828
  class Representation < Google::Apis::Core::JsonRepresentation
817
829
  property :effective_time, as: 'effectiveTime', type: DateTime
818
830
 
831
+ property :hard_delete_pause, as: 'hardDeletePause', class: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::HardDeletePause, decorator: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::HardDeletePause::Representation
832
+
819
833
  property :retention_duration_seconds, :numeric_string => true, as: 'retentionDurationSeconds'
820
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
821
844
  end
822
845
 
823
846
  class Versioning
@@ -1280,6 +1303,21 @@ module Google
1280
1303
  end
1281
1304
  end
1282
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'
1315
+ property :update_time, as: 'updateTime', type: DateTime
1316
+
1317
+ property :value, as: 'value'
1318
+ end
1319
+ end
1320
+
1283
1321
  class Objects
1284
1322
  # @private
1285
1323
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3655,6 +3655,52 @@ module Google
3655
3655
  execute_or_queue_command(command, &block)
3656
3656
  end
3657
3657
 
3658
+ # Retrieves a specific object context with its extended data for a given object.
3659
+ # @param [String] bucket
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).
3668
+ # @param [String] user_project
3669
+ # The project to be billed for this request. Required for Requester Pays buckets.
3670
+ # @param [String] fields
3671
+ # Selector specifying which fields to include in a partial response.
3672
+ # @param [String] quota_user
3673
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
3674
+ # characters.
3675
+ # @param [String] user_ip
3676
+ # Deprecated. Please use quotaUser instead.
3677
+ # @param [Google::Apis::RequestOptions] options
3678
+ # Request-specific options
3679
+ #
3680
+ # @yield [result, err] Result & error if block supplied
3681
+ # @yieldparam result [Google::Apis::StorageV1::ObjectFullContext] parsed result object
3682
+ # @yieldparam err [StandardError] error object if request failed
3683
+ #
3684
+ # @return [Google::Apis::StorageV1::ObjectFullContext]
3685
+ #
3686
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3687
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3688
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
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
3693
+ command.params['bucket'] = bucket unless bucket.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?
3697
+ command.query['userProject'] = user_project unless user_project.nil?
3698
+ command.query['fields'] = fields unless fields.nil?
3699
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3700
+ command.query['userIp'] = user_ip unless user_ip.nil?
3701
+ execute_or_queue_command(command, &block)
3702
+ end
3703
+
3658
3704
  # Starts asynchronous advancement of the relocate bucket operation in the case
3659
3705
  # of required write downtime, to allow it to lock the bucket at the source
3660
3706
  # location, and proceed with the bucket location swap. The server makes a best
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.68.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.68.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: