google-apis-storage_v1 0.47.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef8b5adcdb3729a4eb973fca4db7833a049cf192d1143b51c65a8fa9052fa15e
4
- data.tar.gz: 4bceace55bc99a4dce993779048757d5092e5b56f04230519a95b8fabe35d53f
3
+ metadata.gz: ef128b5b190cf30e4d73c1b86960ecd7be4802418c4a80443cfbedad7492f2cc
4
+ data.tar.gz: d4f03ab58c78d8906cbbc4aaf3f9222750c211c7ebedfa5498213f90f0710b97
5
5
  SHA512:
6
- metadata.gz: '08ca145fa5900879fc2c04c59228785e90132215b7255c08e1c4fe10898afb7d34390e3d80814baa1040ddc11e7d46ad1d94e7bda508d1810e4cc8a370a4400e'
7
- data.tar.gz: e913f80e5dd886a4abf5637c9c7c0d51bf075471c5ec070c3d0c0a41a2e56a1f7b11382100d8439980590664ea94e0d5a3f4da3c470a0e902dd234a6e3349053
6
+ metadata.gz: 549e12c344f800bcc8515fd723f52e612d3e68a67e6a34c00b3f8a21372487101aa2e46ac2556f1fc7c370ddfa6f7cbc95cc7677fa4d7f92be041af493f2a771
7
+ data.tar.gz: b3c7ae8297e1d88b1605634927c30e13ec4c92b69ad90309299b748fb2340ce2c06960f4e4c8050516a2dc37d241c3b49905601d54ac52da61c975173cb7eec5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-storage_v1
2
2
 
3
+ ### v0.48.0 (2024-11-24)
4
+
5
+ * Regenerated from discovery document revision 20241113
6
+
3
7
  ### v0.47.0 (2024-10-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20241008
@@ -2503,6 +2503,11 @@ module Google
2503
2503
  # @return [DateTime]
2504
2504
  attr_accessor :time_deleted
2505
2505
 
2506
+ # The time when the object was finalized.
2507
+ # Corresponds to the JSON property `timeFinalized`
2508
+ # @return [DateTime]
2509
+ attr_accessor :time_finalized
2510
+
2506
2511
  # The time at which the object's storage class was last changed. When the object
2507
2512
  # is initially created, it will be set to timeCreated.
2508
2513
  # Corresponds to the JSON property `timeStorageClassUpdated`
@@ -2558,6 +2563,7 @@ module Google
2558
2563
  @temporary_hold = args[:temporary_hold] if args.key?(:temporary_hold)
2559
2564
  @time_created = args[:time_created] if args.key?(:time_created)
2560
2565
  @time_deleted = args[:time_deleted] if args.key?(:time_deleted)
2566
+ @time_finalized = args[:time_finalized] if args.key?(:time_finalized)
2561
2567
  @time_storage_class_updated = args[:time_storage_class_updated] if args.key?(:time_storage_class_updated)
2562
2568
  @updated = args[:updated] if args.key?(:updated)
2563
2569
  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.47.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241008"
25
+ REVISION = "20241113"
26
26
  end
27
27
  end
28
28
  end
@@ -1087,6 +1087,8 @@ module Google
1087
1087
 
1088
1088
  property :time_deleted, as: 'timeDeleted', type: DateTime
1089
1089
 
1090
+ property :time_finalized, as: 'timeFinalized', type: DateTime
1091
+
1090
1092
  property :time_storage_class_updated, as: 'timeStorageClassUpdated', type: DateTime
1091
1093
 
1092
1094
  property :updated, as: 'updated', type: DateTime
@@ -976,6 +976,8 @@ module Google
976
976
  # Name of a bucket.
977
977
  # @param [Fixnum] generation
978
978
  # Generation of a bucket.
979
+ # @param [String] projection
980
+ # Set of properties to return. Defaults to full.
979
981
  # @param [String] user_project
980
982
  # The project to be billed for this request. Required for Requester Pays buckets.
981
983
  # @param [String] fields
@@ -989,18 +991,21 @@ module Google
989
991
  # Request-specific options
990
992
  #
991
993
  # @yield [result, err] Result & error if block supplied
992
- # @yieldparam result [NilClass] No result returned for this method
994
+ # @yieldparam result [Google::Apis::StorageV1::Bucket] parsed result object
993
995
  # @yieldparam err [StandardError] error object if request failed
994
996
  #
995
- # @return [void]
997
+ # @return [Google::Apis::StorageV1::Bucket]
996
998
  #
997
999
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
998
1000
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
999
1001
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1000
- def restore_bucket(bucket, generation, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1002
+ def restore_bucket(bucket, generation, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1001
1003
  command = make_simple_command(:post, 'b/{bucket}/restore', options)
1004
+ command.response_representation = Google::Apis::StorageV1::Bucket::Representation
1005
+ command.response_class = Google::Apis::StorageV1::Bucket
1002
1006
  command.params['bucket'] = bucket unless bucket.nil?
1003
1007
  command.query['generation'] = generation unless generation.nil?
1008
+ command.query['projection'] = projection unless projection.nil?
1004
1009
  command.query['userProject'] = user_project unless user_project.nil?
1005
1010
  command.query['fields'] = fields unless fields.nil?
1006
1011
  command.query['quotaUser'] = quota_user unless quota_user.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-storage_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.48.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-13 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.48.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.21
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Storage JSON API V1