google-apis-storage_v1 0.67.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: c1a9469e31d95dfaf22cbb287d90cde1eca1086325d69234cd77c19361693fa8
4
- data.tar.gz: 0c33790ad84496f4ee5656cfb26824f8a038cddb4c81a28695276c34beb098d7
3
+ metadata.gz: 24f76a46e84021434008b07589510b98f033c4668311ecbe08693f23fa005443
4
+ data.tar.gz: 0510b39ed065af9ed42ab33ed72d7dc0bd51303e8c9f2934a5bc410bfa18c99d
5
5
  SHA512:
6
- metadata.gz: d93d7a011b93388925e4a8e6d6e5ccb92204ad89d2f23003fb4ad6e5985609d88e23232dee7e1bbe17ec6f546002e19ec35c76a4827b448b337ecca17795838b
7
- data.tar.gz: d3c9730aa73eff8b23108b525eb24f4587a22f9b8ef5d55f7856b31b77de01d265263d5a3b0e758ba730f21eb8d256f8a1c71292e067a5b1801adf9d32c95fa6
6
+ metadata.gz: 8fde1935a517e2582184c45de8f1a19dc490e9aa83cdd95a07a5b9b6d9f6d93d84acd5c85ef343fea3a536739d15d960733d487f97fad46913d9a0740ee4c21e
7
+ data.tar.gz: c1667e80d1b6296a4b288375089bd1bc630e909a2b4e4f44961d55041bc2f7244ad8418d6b12fa8bb521a506b32e7e7a4175dd66aec16b98adb50a2f3c98fd12
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-storage_v1
2
2
 
3
+ ### v0.69.0 (2026-10-04)
4
+
5
+ * Regenerated from discovery document revision 20260930
6
+
7
+ ### v0.68.0 (2026-09-20)
8
+
9
+ * Regenerated from discovery document revision 20260911
10
+
3
11
  ### v0.67.0 (2026-08-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20260821
@@ -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.
@@ -3020,6 +3057,11 @@ module Google
3020
3057
  # @return [DateTime]
3021
3058
  attr_accessor :create_time
3022
3059
 
3060
+ # The type URL of the object context's extended data.
3061
+ # Corresponds to the JSON property `extendedDataTypeUrl`
3062
+ # @return [String]
3063
+ attr_accessor :extended_data_type_url
3064
+
3023
3065
  # The time at which the object context was last updated in RFC 3339 format.
3024
3066
  # Corresponds to the JSON property `updateTime`
3025
3067
  # @return [DateTime]
@@ -3037,6 +3079,65 @@ module Google
3037
3079
  # Update properties of this object
3038
3080
  def update!(**args)
3039
3081
  @create_time = args[:create_time] if args.key?(:create_time)
3082
+ @extended_data_type_url = args[:extended_data_type_url] if args.key?(:extended_data_type_url)
3083
+ @update_time = args[:update_time] if args.key?(:update_time)
3084
+ @value = args[:value] if args.key?(:value)
3085
+ end
3086
+ end
3087
+
3088
+ # A full representation of an object context.
3089
+ class ObjectFullContext
3090
+ include Google::Apis::Core::Hashable
3091
+
3092
+ # The time at which the object context was created. This value is in RFC 3339
3093
+ # format.
3094
+ # Corresponds to the JSON property `createTime`
3095
+ # @return [DateTime]
3096
+ attr_accessor :create_time
3097
+
3098
+ # The extended data of the object context.
3099
+ # Corresponds to the JSON property `extendedData`
3100
+ # @return [Hash<String,Object>]
3101
+ attr_accessor :extended_data
3102
+
3103
+ # The key of the object context.
3104
+ # Corresponds to the JSON property `key`
3105
+ # @return [String]
3106
+ attr_accessor :key
3107
+
3108
+ # The kind of item this is. For ObjectFullContext, this is always storage#
3109
+ # objectFullContext.
3110
+ # Corresponds to the JSON property `kind`
3111
+ # @return [String]
3112
+ attr_accessor :kind
3113
+
3114
+ # The type of the object context.
3115
+ # Corresponds to the JSON property `type`
3116
+ # @return [String]
3117
+ attr_accessor :type
3118
+
3119
+ # The time at which the object context was last updated. This value is in RFC
3120
+ # 3339 format.
3121
+ # Corresponds to the JSON property `updateTime`
3122
+ # @return [DateTime]
3123
+ attr_accessor :update_time
3124
+
3125
+ # The value of the object context.
3126
+ # Corresponds to the JSON property `value`
3127
+ # @return [String]
3128
+ attr_accessor :value
3129
+
3130
+ def initialize(**args)
3131
+ update!(**args)
3132
+ end
3133
+
3134
+ # Update properties of this object
3135
+ def update!(**args)
3136
+ @create_time = args[:create_time] if args.key?(:create_time)
3137
+ @extended_data = args[:extended_data] if args.key?(:extended_data)
3138
+ @key = args[:key] if args.key?(:key)
3139
+ @kind = args[:kind] if args.key?(:kind)
3140
+ @type = args[:type] if args.key?(:type)
3040
3141
  @update_time = args[:update_time] if args.key?(:update_time)
3041
3142
  @value = args[:value] if args.key?(:value)
3042
3143
  end
@@ -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.67.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 = "20260821"
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
@@ -1273,6 +1296,22 @@ module Google
1273
1296
  class Representation < Google::Apis::Core::JsonRepresentation
1274
1297
  property :create_time, as: 'createTime', type: DateTime
1275
1298
 
1299
+ property :extended_data_type_url, as: 'extendedDataTypeUrl'
1300
+ property :update_time, as: 'updateTime', type: DateTime
1301
+
1302
+ property :value, as: 'value'
1303
+ end
1304
+ end
1305
+
1306
+ class ObjectFullContext
1307
+ # @private
1308
+ class Representation < Google::Apis::Core::JsonRepresentation
1309
+ property :create_time, as: 'createTime', type: DateTime
1310
+
1311
+ hash :extended_data, as: 'extendedData'
1312
+ property :key, as: 'key'
1313
+ property :kind, as: 'kind'
1314
+ property :type, as: 'type'
1276
1315
  property :update_time, as: 'updateTime', type: DateTime
1277
1316
 
1278
1317
  property :value, as: 'value'
@@ -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.67.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.67.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: