google-apis-storage_v1 0.43.0 → 0.45.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a060c3c7741a0cfb86a92565060e4600c90dd1e66ed96beba4dddb416de6bb50
|
4
|
+
data.tar.gz: 5f812a21f3cc99bed5c5f9601692889e9dc11757aa661a21f6fa40d1fd81c90b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4f122e3e0c9149e0a717ad940654bfe8330692dbc2c43c76dea51170ce2782b4699ba30ab8bd70798705d6c578c96cef0b8f2ae1fe9a6cd01ec4f0209452a19
|
7
|
+
data.tar.gz: cc0e44be8485032c9db0eea1c80608b34c90d7165ed9f05afc9a85078d01b2176c642334b1ca849ad5faf249ebaa40f325a5efedce9574a071b240996e4640e1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-storage_v1
|
2
2
|
|
3
|
+
### v0.45.0 (2024-09-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240916
|
6
|
+
|
7
|
+
### v0.44.0 (2024-08-25)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240819
|
10
|
+
|
3
11
|
### v0.43.0 (2024-08-18)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240809
|
@@ -209,6 +209,11 @@ module Google
|
|
209
209
|
# @return [Fixnum]
|
210
210
|
attr_accessor :generation
|
211
211
|
|
212
|
+
# The hard delete time of the bucket in RFC 3339 format.
|
213
|
+
# Corresponds to the JSON property `hardDeleteTime`
|
214
|
+
# @return [DateTime]
|
215
|
+
attr_accessor :hard_delete_time
|
216
|
+
|
212
217
|
# The bucket's hierarchical namespace configuration.
|
213
218
|
# Corresponds to the JSON property `hierarchicalNamespace`
|
214
219
|
# @return [Google::Apis::StorageV1::Bucket::HierarchicalNamespace]
|
@@ -333,6 +338,11 @@ module Google
|
|
333
338
|
# @return [Google::Apis::StorageV1::Bucket::SoftDeletePolicy]
|
334
339
|
attr_accessor :soft_delete_policy
|
335
340
|
|
341
|
+
# The soft delete time of the bucket in RFC 3339 format.
|
342
|
+
# Corresponds to the JSON property `softDeleteTime`
|
343
|
+
# @return [DateTime]
|
344
|
+
attr_accessor :soft_delete_time
|
345
|
+
|
336
346
|
# The bucket's default storage class, used whenever no storageClass is specified
|
337
347
|
# for a newly-created object. This defines how objects in the bucket are stored
|
338
348
|
# and determines the SLA and the cost of storage. Values include MULTI_REGIONAL,
|
@@ -382,6 +392,7 @@ module Google
|
|
382
392
|
@encryption = args[:encryption] if args.key?(:encryption)
|
383
393
|
@etag = args[:etag] if args.key?(:etag)
|
384
394
|
@generation = args[:generation] if args.key?(:generation)
|
395
|
+
@hard_delete_time = args[:hard_delete_time] if args.key?(:hard_delete_time)
|
385
396
|
@hierarchical_namespace = args[:hierarchical_namespace] if args.key?(:hierarchical_namespace)
|
386
397
|
@iam_configuration = args[:iam_configuration] if args.key?(:iam_configuration)
|
387
398
|
@id = args[:id] if args.key?(:id)
|
@@ -403,6 +414,7 @@ module Google
|
|
403
414
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
404
415
|
@self_link = args[:self_link] if args.key?(:self_link)
|
405
416
|
@soft_delete_policy = args[:soft_delete_policy] if args.key?(:soft_delete_policy)
|
417
|
+
@soft_delete_time = args[:soft_delete_time] if args.key?(:soft_delete_time)
|
406
418
|
@storage_class = args[:storage_class] if args.key?(:storage_class)
|
407
419
|
@time_created = args[:time_created] if args.key?(:time_created)
|
408
420
|
@updated = args[:updated] if args.key?(:updated)
|
@@ -2400,6 +2412,13 @@ module Google
|
|
2400
2412
|
# @return [Google::Apis::StorageV1::Object::Owner]
|
2401
2413
|
attr_accessor :owner
|
2402
2414
|
|
2415
|
+
# Restore token used to differentiate deleted objects with the same name and
|
2416
|
+
# generation. This field is only returned for deleted objects in hierarchical
|
2417
|
+
# namespace buckets.
|
2418
|
+
# Corresponds to the JSON property `restoreToken`
|
2419
|
+
# @return [String]
|
2420
|
+
attr_accessor :restore_token
|
2421
|
+
|
2403
2422
|
# A collection of object level retention parameters.
|
2404
2423
|
# Corresponds to the JSON property `retention`
|
2405
2424
|
# @return [Google::Apis::StorageV1::Object::Retention]
|
@@ -2501,6 +2520,7 @@ module Google
|
|
2501
2520
|
@metageneration = args[:metageneration] if args.key?(:metageneration)
|
2502
2521
|
@name = args[:name] if args.key?(:name)
|
2503
2522
|
@owner = args[:owner] if args.key?(:owner)
|
2523
|
+
@restore_token = args[:restore_token] if args.key?(:restore_token)
|
2504
2524
|
@retention = args[:retention] if args.key?(:retention)
|
2505
2525
|
@retention_expiration_time = args[:retention_expiration_time] if args.key?(:retention_expiration_time)
|
2506
2526
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.45.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 = "
|
25
|
+
REVISION = "20240916"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -462,6 +462,8 @@ module Google
|
|
462
462
|
|
463
463
|
property :etag, as: 'etag'
|
464
464
|
property :generation, :numeric_string => true, as: 'generation'
|
465
|
+
property :hard_delete_time, as: 'hardDeleteTime', type: DateTime
|
466
|
+
|
465
467
|
property :hierarchical_namespace, as: 'hierarchicalNamespace', class: Google::Apis::StorageV1::Bucket::HierarchicalNamespace, decorator: Google::Apis::StorageV1::Bucket::HierarchicalNamespace::Representation
|
466
468
|
|
467
469
|
property :iam_configuration, as: 'iamConfiguration', class: Google::Apis::StorageV1::Bucket::IamConfiguration, decorator: Google::Apis::StorageV1::Bucket::IamConfiguration::Representation
|
@@ -492,6 +494,8 @@ module Google
|
|
492
494
|
property :self_link, as: 'selfLink'
|
493
495
|
property :soft_delete_policy, as: 'softDeletePolicy', class: Google::Apis::StorageV1::Bucket::SoftDeletePolicy, decorator: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::Representation
|
494
496
|
|
497
|
+
property :soft_delete_time, as: 'softDeleteTime', type: DateTime
|
498
|
+
|
495
499
|
property :storage_class, as: 'storageClass'
|
496
500
|
property :time_created, as: 'timeCreated', type: DateTime
|
497
501
|
|
@@ -1041,6 +1045,7 @@ module Google
|
|
1041
1045
|
property :name, as: 'name'
|
1042
1046
|
property :owner, as: 'owner', class: Google::Apis::StorageV1::Object::Owner, decorator: Google::Apis::StorageV1::Object::Owner::Representation
|
1043
1047
|
|
1048
|
+
property :restore_token, as: 'restoreToken'
|
1044
1049
|
property :retention, as: 'retention', class: Google::Apis::StorageV1::Object::Retention, decorator: Google::Apis::StorageV1::Object::Retention::Representation
|
1045
1050
|
|
1046
1051
|
property :retention_expiration_time, as: 'retentionExpirationTime', type: DateTime
|
@@ -2660,6 +2660,12 @@ module Google
|
|
2660
2660
|
# does not match the given value.
|
2661
2661
|
# @param [String] projection
|
2662
2662
|
# Set of properties to return. Defaults to noAcl.
|
2663
|
+
# @param [String] restore_token
|
2664
|
+
# Restore token used to differentiate soft-deleted objects with the same name
|
2665
|
+
# and generation. Only applicable for hierarchical namespace buckets and if
|
2666
|
+
# softDeleted is set to true. This parameter is optional, and is only required
|
2667
|
+
# in the rare case when there are multiple soft-deleted objects with the same
|
2668
|
+
# name and generation.
|
2663
2669
|
# @param [Boolean] soft_deleted
|
2664
2670
|
# If true, only soft-deleted object versions will be listed. The default is
|
2665
2671
|
# false. For more information, see [Soft Delete](https://cloud.google.com/
|
@@ -2687,7 +2693,7 @@ module Google
|
|
2687
2693
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2688
2694
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2689
2695
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2690
|
-
def get_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, soft_deleted: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
2696
|
+
def get_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, restore_token: nil, soft_deleted: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
2691
2697
|
|
2692
2698
|
if download_dest.nil?
|
2693
2699
|
command = make_simple_command(:get, 'b/{bucket}/o/{object}', options)
|
@@ -2705,6 +2711,7 @@ module Google
|
|
2705
2711
|
command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
|
2706
2712
|
command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
|
2707
2713
|
command.query['projection'] = projection unless projection.nil?
|
2714
|
+
command.query['restoreToken'] = restore_token unless restore_token.nil?
|
2708
2715
|
command.query['softDeleted'] = soft_deleted unless soft_deleted.nil?
|
2709
2716
|
command.query['userProject'] = user_project unless user_project.nil?
|
2710
2717
|
command.query['fields'] = fields unless fields.nil?
|
@@ -3048,6 +3055,11 @@ module Google
|
|
3048
3055
|
# metagenerations match the given value.
|
3049
3056
|
# @param [String] projection
|
3050
3057
|
# Set of properties to return. Defaults to full.
|
3058
|
+
# @param [String] restore_token
|
3059
|
+
# Restore token used to differentiate sof-deleted objects with the same name and
|
3060
|
+
# generation. Only applicable for hierarchical namespace buckets. This parameter
|
3061
|
+
# is optional, and is only required in the rare case when there are multiple
|
3062
|
+
# soft-deleted objects with the same name and generation.
|
3051
3063
|
# @param [String] user_project
|
3052
3064
|
# The project to be billed for this request. Required for Requester Pays buckets.
|
3053
3065
|
# @param [String] fields
|
@@ -3069,7 +3081,7 @@ module Google
|
|
3069
3081
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3070
3082
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3071
3083
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3072
|
-
def restore_object(bucket, object, generation, 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)
|
3084
|
+
def restore_object(bucket, object, generation, copy_source_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, restore_token: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3073
3085
|
command = make_simple_command(:post, 'b/{bucket}/o/{object}/restore', options)
|
3074
3086
|
command.response_representation = Google::Apis::StorageV1::Object::Representation
|
3075
3087
|
command.response_class = Google::Apis::StorageV1::Object
|
@@ -3082,6 +3094,7 @@ module Google
|
|
3082
3094
|
command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
|
3083
3095
|
command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
|
3084
3096
|
command.query['projection'] = projection unless projection.nil?
|
3097
|
+
command.query['restoreToken'] = restore_token unless restore_token.nil?
|
3085
3098
|
command.query['userProject'] = user_project unless user_project.nil?
|
3086
3099
|
command.query['fields'] = fields unless fields.nil?
|
3087
3100
|
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.
|
4
|
+
version: 0.45.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-
|
11
|
+
date: 2024-09-22 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.45.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: []
|