google-apis-drive_v3 0.43.0 → 0.46.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: 6007c46f0599577f9b8a76ef48fb7093c5f830144a122ac3cab92fdb8cc5eb71
|
4
|
+
data.tar.gz: ebafc349cbd2d6fb530507ef0c420fd03e62cac5ed9c1cd755fd3d6b93110c8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b331554c61d9093e152b06917dcdbdfee247cfab4a76376082dad445d2611b2685aab0c26783bd478913eb63ca295a78f13e96968a49db240b639a7cdb124411
|
7
|
+
data.tar.gz: 8e90f3df2cca145c9148ddf85c86eaecbede2345cb8e28723047fc2d3a332f414748cecbbbfbda49d4211623e3d6ea36c956b61ae52af5e678fa46233bca9708
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-drive_v3
|
2
2
|
|
3
|
+
### v0.46.0 (2023-12-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231128
|
6
|
+
|
7
|
+
### v0.45.0 (2023-12-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231120
|
10
|
+
|
11
|
+
### v0.44.0 (2023-08-27)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20230822
|
14
|
+
|
3
15
|
### v0.43.0 (2023-07-23)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20230714
|
@@ -226,7 +226,9 @@ module Google
|
|
226
226
|
# @return [String]
|
227
227
|
attr_accessor :change_type
|
228
228
|
|
229
|
-
# Representation of a shared drive.
|
229
|
+
# Representation of a shared drive. Some resource methods (such as `drives.
|
230
|
+
# update`) require a `driveId`. Use the `drives.list` method to retrieve the ID
|
231
|
+
# for a shared drive.
|
230
232
|
# Corresponds to the JSON property `drive`
|
231
233
|
# @return [Google::Apis::DriveV3::Drive]
|
232
234
|
attr_accessor :drive
|
@@ -236,7 +238,8 @@ module Google
|
|
236
238
|
# @return [String]
|
237
239
|
attr_accessor :drive_id
|
238
240
|
|
239
|
-
# The metadata for a file.
|
241
|
+
# The metadata for a file. Some resource methods (such as `files.update`)
|
242
|
+
# require a `fileId`. Use the `files.list` method to retrieve the ID for a file.
|
240
243
|
# Corresponds to the JSON property `file`
|
241
244
|
# @return [Google::Apis::DriveV3::File]
|
242
245
|
attr_accessor :file
|
@@ -419,7 +422,9 @@ module Google
|
|
419
422
|
end
|
420
423
|
end
|
421
424
|
|
422
|
-
# A comment on a file.
|
425
|
+
# A comment on a file. Some resource methods (such as `comments.update`) require
|
426
|
+
# a `commentId`. Use the `comments.list` method to retrieve the ID for a comment
|
427
|
+
# in a file.
|
423
428
|
class Comment
|
424
429
|
include Google::Apis::Core::Hashable
|
425
430
|
|
@@ -616,6 +621,14 @@ module Google
|
|
616
621
|
# @return [DateTime]
|
617
622
|
attr_accessor :restriction_time
|
618
623
|
|
624
|
+
# Output only. Whether the content restriction was applied by the system, for
|
625
|
+
# example due to an esignature. Users cannot modify or remove system restricted
|
626
|
+
# content restrictions.
|
627
|
+
# Corresponds to the JSON property `systemRestricted`
|
628
|
+
# @return [Boolean]
|
629
|
+
attr_accessor :system_restricted
|
630
|
+
alias_method :system_restricted?, :system_restricted
|
631
|
+
|
619
632
|
# Output only. The type of the content restriction. Currently the only possible
|
620
633
|
# value is `globalContentRestriction`.
|
621
634
|
# Corresponds to the JSON property `type`
|
@@ -633,11 +646,14 @@ module Google
|
|
633
646
|
@reason = args[:reason] if args.key?(:reason)
|
634
647
|
@restricting_user = args[:restricting_user] if args.key?(:restricting_user)
|
635
648
|
@restriction_time = args[:restriction_time] if args.key?(:restriction_time)
|
649
|
+
@system_restricted = args[:system_restricted] if args.key?(:system_restricted)
|
636
650
|
@type = args[:type] if args.key?(:type)
|
637
651
|
end
|
638
652
|
end
|
639
653
|
|
640
|
-
# Representation of a shared drive.
|
654
|
+
# Representation of a shared drive. Some resource methods (such as `drives.
|
655
|
+
# update`) require a `driveId`. Use the `drives.list` method to retrieve the ID
|
656
|
+
# for a shared drive.
|
641
657
|
class Drive
|
642
658
|
include Google::Apis::Core::Hashable
|
643
659
|
|
@@ -701,7 +717,9 @@ module Google
|
|
701
717
|
attr_accessor :org_unit_id
|
702
718
|
|
703
719
|
# A set of restrictions that apply to this shared drive or items inside this
|
704
|
-
# shared drive.
|
720
|
+
# shared drive. Note that restrictions can't be set when creating a shared drive.
|
721
|
+
# To add a restriction, first create a shared drive and then use `drives.update`
|
722
|
+
# to add restrictions.
|
705
723
|
# Corresponds to the JSON property `restrictions`
|
706
724
|
# @return [Google::Apis::DriveV3::Drive::Restrictions]
|
707
725
|
attr_accessor :restrictions
|
@@ -957,7 +975,9 @@ module Google
|
|
957
975
|
end
|
958
976
|
|
959
977
|
# A set of restrictions that apply to this shared drive or items inside this
|
960
|
-
# shared drive.
|
978
|
+
# shared drive. Note that restrictions can't be set when creating a shared drive.
|
979
|
+
# To add a restriction, first create a shared drive and then use `drives.update`
|
980
|
+
# to add restrictions.
|
961
981
|
class Restrictions
|
962
982
|
include Google::Apis::Core::Hashable
|
963
983
|
|
@@ -1051,7 +1071,8 @@ module Google
|
|
1051
1071
|
end
|
1052
1072
|
end
|
1053
1073
|
|
1054
|
-
# The metadata for a file.
|
1074
|
+
# The metadata for a file. Some resource methods (such as `files.update`)
|
1075
|
+
# require a `fileId`. Use the `files.list` method to retrieve the ID for a file.
|
1055
1076
|
class File
|
1056
1077
|
include Google::Apis::Core::Hashable
|
1057
1078
|
|
@@ -2568,8 +2589,10 @@ module Google
|
|
2568
2589
|
end
|
2569
2590
|
end
|
2570
2591
|
|
2571
|
-
# A permission for a file. A permission grants a user, group, domain or the
|
2572
|
-
# world access to a file or a folder hierarchy.
|
2592
|
+
# A permission for a file. A permission grants a user, group, domain, or the
|
2593
|
+
# world access to a file or a folder hierarchy. Some resource methods (such as `
|
2594
|
+
# permissions.update`) require a `permissionId`. Use the `permissions.list`
|
2595
|
+
# method to retrieve the ID for a file, folder, or shared drive.
|
2573
2596
|
class Permission
|
2574
2597
|
include Google::Apis::Core::Hashable
|
2575
2598
|
|
@@ -2817,7 +2840,9 @@ module Google
|
|
2817
2840
|
end
|
2818
2841
|
end
|
2819
2842
|
|
2820
|
-
# A reply to a comment on a file.
|
2843
|
+
# A reply to a comment on a file. Some resource methods (such as `replies.update`
|
2844
|
+
# ) require a `replyId`. Use the `replies.list` method to retrieve the ID for a
|
2845
|
+
# reply.
|
2821
2846
|
class Reply
|
2822
2847
|
include Google::Apis::Core::Hashable
|
2823
2848
|
|
@@ -2927,7 +2952,9 @@ module Google
|
|
2927
2952
|
end
|
2928
2953
|
end
|
2929
2954
|
|
2930
|
-
# The metadata for a revision to a file.
|
2955
|
+
# The metadata for a revision to a file. Some resource methods (such as `
|
2956
|
+
# revisions.update`) require a `revisionId`. Use the `revisions.list` method to
|
2957
|
+
# retrieve the ID for a revision.
|
2931
2958
|
class Revision
|
2932
2959
|
include Google::Apis::Core::Hashable
|
2933
2960
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DriveV3
|
18
18
|
# Version of the google-apis-drive_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.46.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231128"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -530,7 +530,7 @@ module Google
|
|
530
530
|
execute_or_queue_command(command, &block)
|
531
531
|
end
|
532
532
|
|
533
|
-
# Permanently deletes a shared drive for which the user is an organizer
|
533
|
+
# Permanently deletes a shared drive for which the user is an `organizer`. The
|
534
534
|
# shared drive cannot contain any untrashed items.
|
535
535
|
# @param [String] drive_id
|
536
536
|
# The ID of the shared drive.
|
@@ -903,9 +903,9 @@ module Google
|
|
903
903
|
end
|
904
904
|
|
905
905
|
# Permanently deletes a file owned by the user without moving it to the trash.
|
906
|
-
# If the file belongs to a shared drive the user must be an organizer on the
|
907
|
-
# parent. If the target is a folder, all descendants owned by the user
|
908
|
-
# deleted.
|
906
|
+
# If the file belongs to a shared drive, the user must be an `organizer` on the
|
907
|
+
# parent folder. If the target is a folder, all descendants owned by the user
|
908
|
+
# are also deleted.
|
909
909
|
# @param [String] file_id
|
910
910
|
# The ID of the file.
|
911
911
|
# @param [Boolean] enforce_single_parent
|
@@ -1205,7 +1205,7 @@ module Google
|
|
1205
1205
|
|
1206
1206
|
# Lists the labels on a file.
|
1207
1207
|
# @param [String] file_id
|
1208
|
-
# The ID for the file
|
1208
|
+
# The ID for the file.
|
1209
1209
|
# @param [Fixnum] max_results
|
1210
1210
|
# The maximum number of labels to return per page. When not set, defaults to 100.
|
1211
1211
|
# @param [String] page_token
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-drive_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.46.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: 2023-
|
11
|
+
date: 2023-12-10 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-drive_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.46.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3
|
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.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Drive API V3
|