google-apis-drive_v2 0.51.0 → 0.52.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/drive_v2/classes.rb +5 -3
- data/lib/google/apis/drive_v2/gem_version.rb +3 -3
- data/lib/google/apis/drive_v2/service.rb +4 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79a401247e86155b494c4e10294f9291fb7442a87dcc13d481875ba09eb73bcf
|
4
|
+
data.tar.gz: 48b5c67144c8be9cec14a94cbd626699cb045102eca69a057618560124f38e37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b9404b47520157c433fafb4269d0fc92093f8a5b204569d7348425161ad83630c4274125703f3b158537a87cf1269bc6384be08daa91afb902941ea646093b6
|
7
|
+
data.tar.gz: 803c0c671c773b28844312408905adfd5ae8b939b3c8c1b248f7e0e915f8ab0f7e4a1fe686f091e233ef5269b4667a28f1df9a00613f83c091329fd53e2e30d8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-drive_v2
|
2
2
|
|
3
|
+
### v0.52.0 (2025-05-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250506
|
6
|
+
* Regenerated using generator version 0.17.0
|
7
|
+
|
3
8
|
### v0.51.0 (2025-04-27)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20250419
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/workspace/drive/) may
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
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
|
|
@@ -4661,7 +4661,8 @@ module Google
|
|
4661
4661
|
# @return [String]
|
4662
4662
|
attr_accessor :display_name
|
4663
4663
|
|
4664
|
-
# Output only. The email address of the user.
|
4664
|
+
# Output only. The email address of the user. This may not be present in certain
|
4665
|
+
# contexts if the user has not made their email address visible to the requester.
|
4665
4666
|
# Corresponds to the JSON property `emailAddress`
|
4666
4667
|
# @return [String]
|
4667
4668
|
attr_accessor :email_address
|
@@ -4673,12 +4674,13 @@ module Google
|
|
4673
4674
|
attr_accessor :is_authenticated_user
|
4674
4675
|
alias_method :is_authenticated_user?, :is_authenticated_user
|
4675
4676
|
|
4676
|
-
# Output only.
|
4677
|
+
# Output only. Identifies what kind of resource this is. Value: the fixed string
|
4678
|
+
# `drive#user`.
|
4677
4679
|
# Corresponds to the JSON property `kind`
|
4678
4680
|
# @return [String]
|
4679
4681
|
attr_accessor :kind
|
4680
4682
|
|
4681
|
-
# Output only. The user's ID as visible in
|
4683
|
+
# Output only. The user's ID as visible in Permission resources.
|
4682
4684
|
# Corresponds to the JSON property `permissionId`
|
4683
4685
|
# @return [String]
|
4684
4686
|
attr_accessor :permission_id
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DriveV2
|
18
18
|
# Version of the google-apis-drive_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.52.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250506"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2345,6 +2345,8 @@ module Google
|
|
2345
2345
|
# @param [Google::Apis::DriveV2::Permission] permission_object
|
2346
2346
|
# @param [String] email_message
|
2347
2347
|
# A plain text custom message to include in notification emails.
|
2348
|
+
# @param [Boolean] enforce_expansive_access
|
2349
|
+
# Whether the request should enforce expansive access rules.
|
2348
2350
|
# @param [Boolean] enforce_single_parent
|
2349
2351
|
# Deprecated: See `moveToNewOwnersRoot` for details.
|
2350
2352
|
# @param [Boolean] move_to_new_owners_root
|
@@ -2381,7 +2383,7 @@ module Google
|
|
2381
2383
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2382
2384
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2383
2385
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2384
|
-
def insert_permission(file_id, permission_object = nil, email_message: nil, enforce_single_parent: nil, move_to_new_owners_root: nil, send_notification_emails: nil, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2386
|
+
def insert_permission(file_id, permission_object = nil, email_message: nil, enforce_expansive_access: nil, enforce_single_parent: nil, move_to_new_owners_root: nil, send_notification_emails: nil, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2385
2387
|
command = make_simple_command(:post, 'files/{fileId}/permissions', options)
|
2386
2388
|
command.request_representation = Google::Apis::DriveV2::Permission::Representation
|
2387
2389
|
command.request_object = permission_object
|
@@ -2389,6 +2391,7 @@ module Google
|
|
2389
2391
|
command.response_class = Google::Apis::DriveV2::Permission
|
2390
2392
|
command.params['fileId'] = file_id unless file_id.nil?
|
2391
2393
|
command.query['emailMessage'] = email_message unless email_message.nil?
|
2394
|
+
command.query['enforceExpansiveAccess'] = enforce_expansive_access unless enforce_expansive_access.nil?
|
2392
2395
|
command.query['enforceSingleParent'] = enforce_single_parent unless enforce_single_parent.nil?
|
2393
2396
|
command.query['moveToNewOwnersRoot'] = move_to_new_owners_root unless move_to_new_owners_root.nil?
|
2394
2397
|
command.query['sendNotificationEmails'] = send_notification_emails unless send_notification_emails.nil?
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-drive_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.52.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.52.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '3.1'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.8
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Google Drive API V2
|
79
79
|
test_files: []
|