Skip to content

Commit a88a4c1

Browse files
feat: Automated regeneration of drive v3 client
1 parent 071ddd9 commit a88a4c1

File tree

4 files changed

+48
-33
lines changed

4 files changed

+48
-33
lines changed

generated/google-apis-drive_v3/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-drive_v3
22

3+
### v0.71.0 (2025-09-21)
4+
5+
* Regenerated from discovery document revision 20250910
6+
37
### v0.70.0 (2025-09-07)
48

59
* Regenerated from discovery document revision 20250829

generated/google-apis-drive_v3/lib/google/apis/drive_v3/classes.rb

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -227,41 +227,43 @@ def update!(**args)
227227
end
228228
end
229229

230-
# The Access Proposal resource for outstanding access proposals on a file
230+
# Manage outstanding access proposals on a file.
231231
class AccessProposal
232232
include Google::Apis::Core::Hashable
233233

234-
# The creation time
234+
# The creation time.
235235
# Corresponds to the JSON property `createTime`
236236
# @return [String]
237237
attr_accessor :create_time
238238

239-
# The file id that the proposal for access is on
239+
# The file ID that the proposal for access is on.
240240
# Corresponds to the JSON property `fileId`
241241
# @return [String]
242242
attr_accessor :file_id
243243

244-
# The id of the access proposal
244+
# The ID of the access proposal.
245245
# Corresponds to the JSON property `proposalId`
246246
# @return [String]
247247
attr_accessor :proposal_id
248248

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.
250250
# Corresponds to the JSON property `recipientEmailAddress`
251251
# @return [String]
252252
attr_accessor :recipient_email_address
253253

254-
# The message that the requester added to the proposal
254+
# The message that the requester added to the proposal.
255255
# Corresponds to the JSON property `requestMessage`
256256
# @return [String]
257257
attr_accessor :request_message
258258

259-
# The email address of the requesting user
259+
# The email address of the requesting user.
260260
# Corresponds to the JSON property `requesterEmailAddress`
261261
# @return [String]
262262
attr_accessor :requester_email_address
263263

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).
265267
# Corresponds to the JSON property `rolesAndViews`
266268
# @return [Array<Google::Apis::DriveV3::AccessProposalRoleAndView>]
267269
attr_accessor :roles_and_views
@@ -282,19 +284,20 @@ def update!(**args)
282284
end
283285
end
284286

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).
286290
class AccessProposalRoleAndView
287291
include Google::Apis::Core::Hashable
288292

289-
# The role that was proposed by the requester New values may be added in the
290-
# future, but the following are currently possible: * `writer` * `commenter` * `
291-
# reader`
293+
# The role that was proposed by the requester. The supported values are: * `
294+
# writer` * `commenter` * `reader`
292295
# Corresponds to the JSON property `role`
293296
# @return [String]
294297
attr_accessor :role
295298

296299
# Indicates the view for this access proposal. Only populated for proposals that
297-
# belong to a view. `published` is the only supported value.
300+
# belong to a view. Only `published` is supported.
298301
# Corresponds to the JSON property `view`
299302
# @return [String]
300303
attr_accessor :view
@@ -2996,11 +2999,11 @@ def update!(**args)
29962999
end
29973000
end
29983001

2999-
# The response to an Access Proposal list request.
3002+
# The response to an access proposal list request.
30003003
class ListAccessProposalsResponse
30013004
include Google::Apis::Core::Hashable
30023005

3003-
# The list of Access Proposals. This field is only populated in v3 and v3beta.
3006+
# The list of access proposals. This field is only populated in Drive API v3.
30043007
# Corresponds to the JSON property `accessProposals`
30053008
# @return [Array<Google::Apis::DriveV3::AccessProposal>]
30063009
attr_accessor :access_proposals
@@ -3519,26 +3522,28 @@ def update!(**args)
35193522
class ResolveAccessProposalRequest
35203523
include Google::Apis::Core::Hashable
35213524

3522-
# Required. The action to take on the AccessProposal.
3525+
# Required. The action to take on the access proposal.
35233526
# Corresponds to the JSON property `action`
35243527
# @return [String]
35253528
attr_accessor :action
35263529

3527-
# Optional. The roles the approver has allowed, if any. Note: This field is
3528-
# required for the `ACCEPT` action.
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.
35293534
# Corresponds to the JSON property `role`
35303535
# @return [Array<String>]
35313536
attr_accessor :role
35323537

3533-
# Optional. Whether to send an email to the requester when the AccessProposal is
3534-
# denied or accepted.
3538+
# Optional. Whether to send an email to the requester when the access proposal
3539+
# is denied or accepted.
35353540
# Corresponds to the JSON property `sendNotification`
35363541
# @return [Boolean]
35373542
attr_accessor :send_notification
35383543
alias_method :send_notification?, :send_notification
35393544

35403545
# Optional. Indicates the view for this access proposal. This should only be set
3541-
# when the proposal belongs to a view. `published` is the only supported value.
3546+
# when the proposal belongs to a view. Only `published` is supported.
35423547
# Corresponds to the JSON property `view`
35433548
# @return [String]
35443549
attr_accessor :view

generated/google-apis-drive_v3/lib/google/apis/drive_v3/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DriveV3
1818
# Version of the google-apis-drive_v3 gem
19-
GEM_VERSION = "0.70.0"
19+
GEM_VERSION = "0.71.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250829"
25+
REVISION = "20250910"
2626
end
2727
end
2828
end

generated/google-apis-drive_v3/lib/google/apis/drive_v3/service.rb

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,13 @@ def get_about(fields: nil, quota_user: nil, options: nil, &block)
8282
execute_or_queue_command(command, &block)
8383
end
8484

85-
# Retrieves an AccessProposal by ID.
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).
8688
# @param [String] file_id
87-
# Required. The id of the item the request is on.
89+
# Required. The ID of the item the request is on.
8890
# @param [String] proposal_id
89-
# Required. The id of the access proposal to resolve.
91+
# Required. The ID of the access proposal to resolve.
9092
# @param [String] fields
9193
# Selector specifying which fields to include in a partial response.
9294
# @param [String] quota_user
@@ -115,12 +117,14 @@ def get_accessproposal(file_id, proposal_id, fields: nil, quota_user: nil, optio
115117
execute_or_queue_command(command, &block)
116118
end
117119

118-
# List the AccessProposals on a file. Note: Only approvers are able to list
119-
# AccessProposals on a file. If the user is not an approver, returns a 403.
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.
120124
# @param [String] file_id
121-
# Required. The id of the item the request is on.
125+
# Required. The ID of the item the request is on.
122126
# @param [Fixnum] page_size
123-
# Optional. The number of results per page
127+
# Optional. The number of results per page.
124128
# @param [String] page_token
125129
# Optional. The continuation token on the list of access requests.
126130
# @param [String] fields
@@ -152,11 +156,13 @@ def list_accessproposals(file_id, page_size: nil, page_token: nil, fields: nil,
152156
execute_or_queue_command(command, &block)
153157
end
154158

155-
# Used to approve or deny an Access Proposal.
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).
156162
# @param [String] file_id
157-
# Required. The id of the item the request is on.
163+
# Required. The ID of the item the request is on.
158164
# @param [String] proposal_id
159-
# Required. The id of the access proposal to resolve.
165+
# Required. The ID of the access proposal to resolve.
160166
# @param [Google::Apis::DriveV3::ResolveAccessProposalRequest] resolve_access_proposal_request_object
161167
# @param [String] fields
162168
# Selector specifying which fields to include in a partial response.

0 commit comments

Comments
 (0)