google-apis-storage_v1 0.34.0 → 0.36.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: c69a4b56232828f190fe20213f6bb2c59aea00ca517998487e7ad835ddeb0310
4
- data.tar.gz: 806fe39c91bcfcdda4056c2ca5677d254e2d37ff2c5b7b3cb3514d2cd266e9eb
3
+ metadata.gz: 16fadaa64ff863b9d7a4a789b03d94c1c96efbe08d57b65c909e01d43de0f154
4
+ data.tar.gz: 5f6e0ae89806addc4fce53077be0c33736af2939a025b2ac7bb64bfc7facd664
5
5
  SHA512:
6
- metadata.gz: 76add35f6940017d850502ae3b5b1aad14f12c77862866a64a543e4709db1de9a76a13510e6fbe12e32f076dd9aecb7c8e09f6c48c6b3abbd5e28a12f10abf29
7
- data.tar.gz: a76530f4d9cd96ea057c0b38fc479c9c31dfc9a98cdece7ff18a65655871ef67ad2aebbf768770ac1fdf29ff27d07f186a23ab5c9fcda5b4f4267d1e366b43b6
6
+ metadata.gz: d539ea13cdca75ee09abf3d47d5f6a7f6b12bc9ae3b5a4cc12d769d0b21e0f0fb5a0f83125092611f2e1c179efc4c0e6db7a2763cf3d0e137e7b870ad046674d
7
+ data.tar.gz: b3a60171672f470d2fd03653bf55fcb8e257fdab8af5b7d8796d87f6a25ada43c4fc6d9b2b5c87aa29aa9954cefa0d2dd8430aa8dd7c54a29a132a237162b696
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-storage_v1
2
2
 
3
+ ### v0.36.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240311
6
+
7
+ ### v0.35.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240307
10
+ * Regenerated using generator version 0.14.0
11
+
3
12
  ### v0.34.0 (2024-02-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20240209
@@ -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.34.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240209"
25
+ REVISION = "20240311"
26
26
  end
27
27
  end
28
28
  end
@@ -1538,6 +1538,10 @@ module Google
1538
1538
  # Name of the bucket containing the managed folder.
1539
1539
  # @param [String] managed_folder
1540
1540
  # The managed folder name/path.
1541
+ # @param [Boolean] allow_non_empty
1542
+ # Allows the deletion of a managed folder even if it is not empty. A managed
1543
+ # folder is empty if there are no objects or managed folders that it applies to.
1544
+ # Callers must have storage.managedFolders.setIamPolicy permission.
1541
1545
  # @param [Fixnum] if_metageneration_match
1542
1546
  # If set, only deletes the managed folder if its metageneration matches this
1543
1547
  # value.
@@ -1563,10 +1567,11 @@ module Google
1563
1567
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1564
1568
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1565
1569
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1566
- def delete_managed_folder(bucket, managed_folder, if_metageneration_match: nil, if_metageneration_not_match: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1570
+ def delete_managed_folder(bucket, managed_folder, allow_non_empty: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1567
1571
  command = make_simple_command(:delete, 'b/{bucket}/managedFolders/{managedFolder}', options)
1568
1572
  command.params['bucket'] = bucket unless bucket.nil?
1569
1573
  command.params['managedFolder'] = managed_folder unless managed_folder.nil?
1574
+ command.query['allowNonEmpty'] = allow_non_empty unless allow_non_empty.nil?
1570
1575
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
1571
1576
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
1572
1577
  command.query['fields'] = fields unless fields.nil?
@@ -2927,7 +2932,6 @@ module Google
2927
2932
  # @param [String] object
2928
2933
  # Name of the object. For information about how to URL encode object names to be
2929
2934
  # path safe, see Encoding URI Path Parts.
2930
- # @param [Google::Apis::StorageV1::Object] object_object
2931
2935
  # @param [Boolean] copy_source_acl
2932
2936
  # If true, copies the source object's ACL; otherwise, uses the bucket's default
2933
2937
  # object ACL. The default is false.
@@ -2969,10 +2973,8 @@ module Google
2969
2973
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2970
2974
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2971
2975
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2972
- def restore_object(bucket, object, object_object = nil, copy_source_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2976
+ def restore_object(bucket, object, copy_source_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2973
2977
  command = make_simple_command(:post, 'b/{bucket}/o/{object}/restore', options)
2974
- command.request_representation = Google::Apis::StorageV1::Object::Representation
2975
- command.request_object = object_object
2976
2978
  command.response_representation = Google::Apis::StorageV1::Object::Representation
2977
2979
  command.response_class = Google::Apis::StorageV1::Object
2978
2980
  command.params['bucket'] = bucket unless bucket.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.34.0
4
+ version: 0.36.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-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-17 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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.36.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: []