google-apis-drive_v3 0.70.0 → 0.71.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 +4 -0
- data/lib/google/apis/drive_v3/classes.rb +26 -21
- data/lib/google/apis/drive_v3/gem_version.rb +2 -2
- data/lib/google/apis/drive_v3/service.rb +16 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f50c4bbb21b7d3fffee4a9d33ae65217db09abecf37ceb9f8032cc76100840d5
|
4
|
+
data.tar.gz: cc220f450b65c597806fd98cc1daf774ce06bdc1951dc55164bee1f61189433f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f425b7ae19279904245a205a16d73530fb5883ccdfe3a97b78dd02bbf1ffb44e992fc908fd7a04a54b7fbd7b37ff9d338f016f471212c77ef6639feed9ec3e01
|
7
|
+
data.tar.gz: 23fe66999ef8724df649c6edb3bec613f953fa5f0a9715108943eda92e763e2e67bf1068fd8035e494bf29afdc2c4bef49cf2617fae4c9b019060e8530c9448e
|
data/CHANGELOG.md
CHANGED
@@ -227,41 +227,43 @@ module Google
|
|
227
227
|
end
|
228
228
|
end
|
229
229
|
|
230
|
-
#
|
230
|
+
# Manage outstanding access proposals on a file.
|
231
231
|
class AccessProposal
|
232
232
|
include Google::Apis::Core::Hashable
|
233
233
|
|
234
|
-
# The creation time
|
234
|
+
# The creation time.
|
235
235
|
# Corresponds to the JSON property `createTime`
|
236
236
|
# @return [String]
|
237
237
|
attr_accessor :create_time
|
238
238
|
|
239
|
-
# The file
|
239
|
+
# The file ID that the proposal for access is on.
|
240
240
|
# Corresponds to the JSON property `fileId`
|
241
241
|
# @return [String]
|
242
242
|
attr_accessor :file_id
|
243
243
|
|
244
|
-
# The
|
244
|
+
# The ID of the access proposal.
|
245
245
|
# Corresponds to the JSON property `proposalId`
|
246
246
|
# @return [String]
|
247
247
|
attr_accessor :proposal_id
|
248
248
|
|
249
|
-
# The email address of the user that will receive permissions if accepted
|
249
|
+
# The email address of the user that will receive permissions, if accepted.
|
250
250
|
# Corresponds to the JSON property `recipientEmailAddress`
|
251
251
|
# @return [String]
|
252
252
|
attr_accessor :recipient_email_address
|
253
253
|
|
254
|
-
# The message that the requester added to the proposal
|
254
|
+
# The message that the requester added to the proposal.
|
255
255
|
# Corresponds to the JSON property `requestMessage`
|
256
256
|
# @return [String]
|
257
257
|
attr_accessor :request_message
|
258
258
|
|
259
|
-
# The email address of the requesting user
|
259
|
+
# The email address of the requesting user.
|
260
260
|
# Corresponds to the JSON property `requesterEmailAddress`
|
261
261
|
# @return [String]
|
262
262
|
attr_accessor :requester_email_address
|
263
263
|
|
264
|
-
# A wrapper for the role and view of an access proposal.
|
264
|
+
# A wrapper for the role and view of an access proposal. For more information,
|
265
|
+
# see [Roles and permissions](https://developers.google.com/workspace/drive/api/
|
266
|
+
# guides/ref-roles).
|
265
267
|
# Corresponds to the JSON property `rolesAndViews`
|
266
268
|
# @return [Array<Google::Apis::DriveV3::AccessProposalRoleAndView>]
|
267
269
|
attr_accessor :roles_and_views
|
@@ -282,19 +284,20 @@ module Google
|
|
282
284
|
end
|
283
285
|
end
|
284
286
|
|
285
|
-
# A wrapper for the role and view of an access proposal.
|
287
|
+
# A wrapper for the role and view of an access proposal. For more information,
|
288
|
+
# see [Roles and permissions](https://developers.google.com/workspace/drive/api/
|
289
|
+
# guides/ref-roles).
|
286
290
|
class AccessProposalRoleAndView
|
287
291
|
include Google::Apis::Core::Hashable
|
288
292
|
|
289
|
-
# The role that was proposed by the requester
|
290
|
-
#
|
291
|
-
# reader`
|
293
|
+
# The role that was proposed by the requester. The supported values are: * `
|
294
|
+
# writer` * `commenter` * `reader`
|
292
295
|
# Corresponds to the JSON property `role`
|
293
296
|
# @return [String]
|
294
297
|
attr_accessor :role
|
295
298
|
|
296
299
|
# Indicates the view for this access proposal. Only populated for proposals that
|
297
|
-
# belong to a view. `published` is
|
300
|
+
# belong to a view. Only `published` is supported.
|
298
301
|
# Corresponds to the JSON property `view`
|
299
302
|
# @return [String]
|
300
303
|
attr_accessor :view
|
@@ -2996,11 +2999,11 @@ module Google
|
|
2996
2999
|
end
|
2997
3000
|
end
|
2998
3001
|
|
2999
|
-
# The response to an
|
3002
|
+
# The response to an access proposal list request.
|
3000
3003
|
class ListAccessProposalsResponse
|
3001
3004
|
include Google::Apis::Core::Hashable
|
3002
3005
|
|
3003
|
-
# The list of
|
3006
|
+
# The list of access proposals. This field is only populated in Drive API v3.
|
3004
3007
|
# Corresponds to the JSON property `accessProposals`
|
3005
3008
|
# @return [Array<Google::Apis::DriveV3::AccessProposal>]
|
3006
3009
|
attr_accessor :access_proposals
|
@@ -3519,26 +3522,28 @@ module Google
|
|
3519
3522
|
class ResolveAccessProposalRequest
|
3520
3523
|
include Google::Apis::Core::Hashable
|
3521
3524
|
|
3522
|
-
# Required. The action to take on the
|
3525
|
+
# Required. The action to take on the access proposal.
|
3523
3526
|
# Corresponds to the JSON property `action`
|
3524
3527
|
# @return [String]
|
3525
3528
|
attr_accessor :action
|
3526
3529
|
|
3527
|
-
# Optional. The roles the approver has allowed, if any.
|
3528
|
-
#
|
3530
|
+
# Optional. The roles that the approver has allowed, if any. For more
|
3531
|
+
# information, see [Roles and permissions](https://developers.google.com/
|
3532
|
+
# workspace/drive/api/guides/ref-roles). Note: This field is required for the `
|
3533
|
+
# ACCEPT` action.
|
3529
3534
|
# Corresponds to the JSON property `role`
|
3530
3535
|
# @return [Array<String>]
|
3531
3536
|
attr_accessor :role
|
3532
3537
|
|
3533
|
-
# Optional. Whether to send an email to the requester when the
|
3534
|
-
# denied or accepted.
|
3538
|
+
# Optional. Whether to send an email to the requester when the access proposal
|
3539
|
+
# is denied or accepted.
|
3535
3540
|
# Corresponds to the JSON property `sendNotification`
|
3536
3541
|
# @return [Boolean]
|
3537
3542
|
attr_accessor :send_notification
|
3538
3543
|
alias_method :send_notification?, :send_notification
|
3539
3544
|
|
3540
3545
|
# Optional. Indicates the view for this access proposal. This should only be set
|
3541
|
-
# when the proposal belongs to a view. `published` is
|
3546
|
+
# when the proposal belongs to a view. Only `published` is supported.
|
3542
3547
|
# Corresponds to the JSON property `view`
|
3543
3548
|
# @return [String]
|
3544
3549
|
attr_accessor :view
|
@@ -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.71.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250910"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,11 +82,13 @@ module Google
|
|
82
82
|
execute_or_queue_command(command, &block)
|
83
83
|
end
|
84
84
|
|
85
|
-
# Retrieves an
|
85
|
+
# Retrieves an access proposal by ID. For more information, see [Manage pending
|
86
|
+
# access proposals](https://developers.google.com/workspace/drive/api/guides/
|
87
|
+
# pending-access).
|
86
88
|
# @param [String] file_id
|
87
|
-
# Required. The
|
89
|
+
# Required. The ID of the item the request is on.
|
88
90
|
# @param [String] proposal_id
|
89
|
-
# Required. The
|
91
|
+
# Required. The ID of the access proposal to resolve.
|
90
92
|
# @param [String] fields
|
91
93
|
# Selector specifying which fields to include in a partial response.
|
92
94
|
# @param [String] quota_user
|
@@ -115,12 +117,14 @@ module Google
|
|
115
117
|
execute_or_queue_command(command, &block)
|
116
118
|
end
|
117
119
|
|
118
|
-
# List the
|
119
|
-
#
|
120
|
+
# List the access proposals on a file. For more information, see [Manage pending
|
121
|
+
# access proposals](https://developers.google.com/workspace/drive/api/guides/
|
122
|
+
# pending-access). Note: Only approvers are able to list access proposals on a
|
123
|
+
# file. If the user isn't an approver, a 403 error is returned.
|
120
124
|
# @param [String] file_id
|
121
|
-
# Required. The
|
125
|
+
# Required. The ID of the item the request is on.
|
122
126
|
# @param [Fixnum] page_size
|
123
|
-
# Optional. The number of results per page
|
127
|
+
# Optional. The number of results per page.
|
124
128
|
# @param [String] page_token
|
125
129
|
# Optional. The continuation token on the list of access requests.
|
126
130
|
# @param [String] fields
|
@@ -152,11 +156,13 @@ module Google
|
|
152
156
|
execute_or_queue_command(command, &block)
|
153
157
|
end
|
154
158
|
|
155
|
-
#
|
159
|
+
# Approves or denies an access proposal. For more information, see [Manage
|
160
|
+
# pending access proposals](https://developers.google.com/workspace/drive/api/
|
161
|
+
# guides/pending-access).
|
156
162
|
# @param [String] file_id
|
157
|
-
# Required. The
|
163
|
+
# Required. The ID of the item the request is on.
|
158
164
|
# @param [String] proposal_id
|
159
|
-
# Required. The
|
165
|
+
# Required. The ID of the access proposal to resolve.
|
160
166
|
# @param [Google::Apis::DriveV3::ResolveAccessProposalRequest] resolve_access_proposal_request_object
|
161
167
|
# @param [String] fields
|
162
168
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.71.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -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_v3/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.71.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|