google-apis-storage_v1 0.33.0 → 0.35.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3522ac032b4b1e173298c08f3cc2a867cd4aed8bde43a7050fc7e5f6ca64700
|
4
|
+
data.tar.gz: 9dfa3e447fc6e94a24c9e5de78a7c153ee44e9e03c40f4f2bf7c148bdc5218ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6880d824c48c89fc9fe891d8a3a569893463d18f5f15e3c1f96f6567833f2fbea414056dab5e4c3235129293c88a8162dd66d9aa8331292fba7b44075c94bfce
|
7
|
+
data.tar.gz: a55d673207269839d2c5c88ea9d5f1232b4a1fc862149b736473c0e8d9172e055a852c2647ab0df2a2f6f4ad06d493fe29afea12cfb6cf6a9f8d6f4ec572607f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-storage_v1
|
2
2
|
|
3
|
+
### v0.35.0 (2024-03-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240307
|
6
|
+
* Regenerated using generator version 0.14.0
|
7
|
+
|
8
|
+
### v0.34.0 (2024-02-23)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240209
|
11
|
+
* Regenerated using generator version 0.13.1
|
12
|
+
|
3
13
|
### v0.33.0 (2024-01-23)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20240105
|
data/OVERVIEW.md
CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/storage/docs/json_api/
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby 2.
|
86
|
+
This library is supported on Ruby 2.7+.
|
87
87
|
|
88
|
-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life.
|
88
|
+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
90
90
|
## License
|
91
91
|
|
@@ -1468,6 +1468,11 @@ module Google
|
|
1468
1468
|
# @return [String]
|
1469
1469
|
attr_accessor :bucket
|
1470
1470
|
|
1471
|
+
# The creation time of the folder in RFC 3339 format.
|
1472
|
+
# Corresponds to the JSON property `createTime`
|
1473
|
+
# @return [DateTime]
|
1474
|
+
attr_accessor :create_time
|
1475
|
+
|
1471
1476
|
# The ID of the folder, including the bucket name, folder name.
|
1472
1477
|
# Corresponds to the JSON property `id`
|
1473
1478
|
# @return [String]
|
@@ -1478,11 +1483,6 @@ module Google
|
|
1478
1483
|
# @return [String]
|
1479
1484
|
attr_accessor :kind
|
1480
1485
|
|
1481
|
-
# User-provided metadata, in key/value pairs.
|
1482
|
-
# Corresponds to the JSON property `metadata`
|
1483
|
-
# @return [Hash<String,String>]
|
1484
|
-
attr_accessor :metadata
|
1485
|
-
|
1486
1486
|
# The version of the metadata for this folder. Used for preconditions and for
|
1487
1487
|
# detecting changes in metadata.
|
1488
1488
|
# Corresponds to the JSON property `metageneration`
|
@@ -1505,15 +1505,10 @@ module Google
|
|
1505
1505
|
# @return [String]
|
1506
1506
|
attr_accessor :self_link
|
1507
1507
|
|
1508
|
-
# The creation time of the folder in RFC 3339 format.
|
1509
|
-
# Corresponds to the JSON property `timeCreated`
|
1510
|
-
# @return [DateTime]
|
1511
|
-
attr_accessor :time_created
|
1512
|
-
|
1513
1508
|
# The modification time of the folder metadata in RFC 3339 format.
|
1514
|
-
# Corresponds to the JSON property `
|
1509
|
+
# Corresponds to the JSON property `updateTime`
|
1515
1510
|
# @return [DateTime]
|
1516
|
-
attr_accessor :
|
1511
|
+
attr_accessor :update_time
|
1517
1512
|
|
1518
1513
|
def initialize(**args)
|
1519
1514
|
update!(**args)
|
@@ -1522,15 +1517,14 @@ module Google
|
|
1522
1517
|
# Update properties of this object
|
1523
1518
|
def update!(**args)
|
1524
1519
|
@bucket = args[:bucket] if args.key?(:bucket)
|
1520
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1525
1521
|
@id = args[:id] if args.key?(:id)
|
1526
1522
|
@kind = args[:kind] if args.key?(:kind)
|
1527
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
1528
1523
|
@metageneration = args[:metageneration] if args.key?(:metageneration)
|
1529
1524
|
@name = args[:name] if args.key?(:name)
|
1530
1525
|
@pending_rename_info = args[:pending_rename_info] if args.key?(:pending_rename_info)
|
1531
1526
|
@self_link = args[:self_link] if args.key?(:self_link)
|
1532
|
-
@
|
1533
|
-
@updated = args[:updated] if args.key?(:updated)
|
1527
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1534
1528
|
end
|
1535
1529
|
|
1536
1530
|
# Only present if the folder is part of an ongoing rename folder operation.
|
@@ -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.35.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240307"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -763,17 +763,16 @@ module Google
|
|
763
763
|
# @private
|
764
764
|
class Representation < Google::Apis::Core::JsonRepresentation
|
765
765
|
property :bucket, as: 'bucket'
|
766
|
+
property :create_time, as: 'createTime', type: DateTime
|
767
|
+
|
766
768
|
property :id, as: 'id'
|
767
769
|
property :kind, as: 'kind'
|
768
|
-
hash :metadata, as: 'metadata'
|
769
770
|
property :metageneration, :numeric_string => true, as: 'metageneration'
|
770
771
|
property :name, as: 'name'
|
771
772
|
property :pending_rename_info, as: 'pendingRenameInfo', class: Google::Apis::StorageV1::Folder::PendingRenameInfo, decorator: Google::Apis::StorageV1::Folder::PendingRenameInfo::Representation
|
772
773
|
|
773
774
|
property :self_link, as: 'selfLink'
|
774
|
-
property :
|
775
|
-
|
776
|
-
property :updated, as: 'updated', type: DateTime
|
775
|
+
property :update_time, as: 'updateTime', type: DateTime
|
777
776
|
|
778
777
|
end
|
779
778
|
|
@@ -2927,7 +2927,6 @@ module Google
|
|
2927
2927
|
# @param [String] object
|
2928
2928
|
# Name of the object. For information about how to URL encode object names to be
|
2929
2929
|
# path safe, see Encoding URI Path Parts.
|
2930
|
-
# @param [Google::Apis::StorageV1::Object] object_object
|
2931
2930
|
# @param [Boolean] copy_source_acl
|
2932
2931
|
# If true, copies the source object's ACL; otherwise, uses the bucket's default
|
2933
2932
|
# object ACL. The default is false.
|
@@ -2969,10 +2968,8 @@ module Google
|
|
2969
2968
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2970
2969
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2971
2970
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2972
|
-
def restore_object(bucket, object,
|
2971
|
+
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
2972
|
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
2973
|
command.response_representation = Google::Apis::StorageV1::Object::Representation
|
2977
2974
|
command.response_class = Google::Apis::StorageV1::Object
|
2978
2975
|
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.
|
4
|
+
version: 0.35.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-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.14.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.14.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.35.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: []
|
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
71
|
+
version: '2.7'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Storage JSON API V1
|