Skip to content

Commit 50d7d4d

Browse files
feat: Automated regeneration of drive v3 client (googleapis#27402)
Auto-created at 2026-07-19 11:43:28 +0000 using the toys pull request generator.
1 parent 9e42b24 commit 50d7d4d

6 files changed

Lines changed: 48 additions & 15 deletions

File tree

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276547,6 +276547,7 @@
276547276547
"/drive:v3/Approval/completeTime": complete_time
276548276548
"/drive:v3/Approval/createTime": create_time
276549276549
"/drive:v3/Approval/dueTime": due_time
276550+
"/drive:v3/Approval/fileContentChangeBehavior": file_content_change_behavior
276550276551
"/drive:v3/Approval/initiator": initiator
276551276552
"/drive:v3/Approval/kind": kind
276552276553
"/drive:v3/Approval/modifyTime": modify_time
@@ -277033,6 +277034,7 @@
277033277034
"/drive:v3/RevisionList/revisions/revision": revision
277034277035
"/drive:v3/StartApprovalRequest": start_approval_request
277035277036
"/drive:v3/StartApprovalRequest/dueTime": due_time
277037+
"/drive:v3/StartApprovalRequest/fileContentChangeBehavior": file_content_change_behavior
277036277038
"/drive:v3/StartApprovalRequest/lockFile": lock_file
277037277039
"/drive:v3/StartApprovalRequest/message": message
277038277040
"/drive:v3/StartApprovalRequest/reviewerEmails": reviewer_emails

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.84.0 (2026-07-19)
4+
5+
* Regenerated from discovery document revision 20260712
6+
37
### v0.83.0 (2026-06-28)
48

59
* Regenerated from discovery document revision 20260624

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,11 @@ class Approval
605605
# @return [String]
606606
attr_accessor :due_time
607607

608+
# Output only. The behavior of the approval when the file content changes.
609+
# Corresponds to the JSON property `fileContentChangeBehavior`
610+
# @return [String]
611+
attr_accessor :file_content_change_behavior
612+
608613
# Information about a Drive user.
609614
# Corresponds to the JSON property `initiator`
610615
# @return [Google::Apis::DriveV3::User]
@@ -646,6 +651,7 @@ def update!(**args)
646651
@complete_time = args[:complete_time] if args.key?(:complete_time)
647652
@create_time = args[:create_time] if args.key?(:create_time)
648653
@due_time = args[:due_time] if args.key?(:due_time)
654+
@file_content_change_behavior = args[:file_content_change_behavior] if args.key?(:file_content_change_behavior)
649655
@initiator = args[:initiator] if args.key?(:initiator)
650656
@kind = args[:kind] if args.key?(:kind)
651657
@modify_time = args[:modify_time] if args.key?(:modify_time)
@@ -4205,6 +4211,11 @@ class StartApprovalRequest
42054211
# @return [String]
42064212
attr_accessor :due_time
42074213

4214+
# Optional. The behavior of the approval when the file content changes.
4215+
# Corresponds to the JSON property `fileContentChangeBehavior`
4216+
# @return [String]
4217+
attr_accessor :file_content_change_behavior
4218+
42084219
# Optional. Whether to lock the file when starting the approval.
42094220
# Corresponds to the JSON property `lockFile`
42104221
# @return [Boolean]
@@ -4229,6 +4240,7 @@ def initialize(**args)
42294240
# Update properties of this object
42304241
def update!(**args)
42314242
@due_time = args[:due_time] if args.key?(:due_time)
4243+
@file_content_change_behavior = args[:file_content_change_behavior] if args.key?(:file_content_change_behavior)
42324244
@lock_file = args[:lock_file] if args.key?(:lock_file)
42334245
@message = args[:message] if args.key?(:message)
42344246
@reviewer_emails = args[:reviewer_emails] if args.key?(:reviewer_emails)

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.83.0"
19+
GEM_VERSION = "0.84.0"
2020

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

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
618618
property :complete_time, as: 'completeTime'
619619
property :create_time, as: 'createTime'
620620
property :due_time, as: 'dueTime'
621+
property :file_content_change_behavior, as: 'fileContentChangeBehavior'
621622
property :initiator, as: 'initiator', class: Google::Apis::DriveV3::User, decorator: Google::Apis::DriveV3::User::Representation
622623

623624
property :kind, as: 'kind'
@@ -1420,6 +1421,7 @@ class StartApprovalRequest
14201421
# @private
14211422
class Representation < Google::Apis::Core::JsonRepresentation
14221423
property :due_time, as: 'dueTime'
1424+
property :file_content_change_behavior, as: 'fileContentChangeBehavior'
14231425
property :lock_file, as: 'lockFile'
14241426
property :message, as: 'message'
14251427
collection :reviewer_emails, as: 'reviewerEmails'

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

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,9 @@ def get_changes_start_page_token(drive_id: nil, supports_all_drives: nil, suppor
647647
# @param [Boolean] include_team_drive_items
648648
# Deprecated: Use `includeItemsFromAllDrives` instead.
649649
# @param [Fixnum] page_size
650-
# The maximum number of changes to return per page.
650+
# The maximum number of changes to return. The service may return fewer than
651+
# this value. If unspecified, at most 100 changes will be returned. The maximum
652+
# value is 1000; values above 1000 will be coerced to 1000.
651653
# @param [Boolean] restrict_to_my_drive
652654
# Whether to restrict the results to changes inside the My Drive hierarchy. This
653655
# omits changes to files such as those in the Application Data folder or shared
@@ -732,7 +734,9 @@ def list_changes(page_token, drive_id: nil, include_corpus_removals: nil, includ
732734
# @param [Boolean] include_team_drive_items
733735
# Deprecated: Use `includeItemsFromAllDrives` instead.
734736
# @param [Fixnum] page_size
735-
# The maximum number of changes to return per page.
737+
# The maximum number of changes to return. The service may return fewer than
738+
# this value. If unspecified, at most 100 changes will be returned. The maximum
739+
# value is 1000; values above 1000 will be coerced to 1000.
736740
# @param [Boolean] restrict_to_my_drive
737741
# Whether to restrict the results to changes inside the My Drive hierarchy. This
738742
# omits changes to files such as those in the Application Data folder or shared
@@ -939,7 +943,9 @@ def get_comment(file_id, comment_id, include_deleted: nil, fields: nil, quota_us
939943
# Whether to include deleted comments. Deleted comments will not include their
940944
# original content.
941945
# @param [Fixnum] page_size
942-
# The maximum number of comments to return per page.
946+
# The maximum number of comments to return. The service may return fewer than
947+
# this value. If unspecified, at most 20 comments will be returned. The maximum
948+
# value is 100; values above 100 will be coerced to 100.
943949
# @param [String] page_token
944950
# The token for continuing a previous list request on the next page. This should
945951
# be set to the value of 'nextPageToken' from the previous response.
@@ -1169,7 +1175,9 @@ def hide_drive(drive_id, fields: nil, quota_user: nil, options: nil, &block)
11691175
# see the [Search for shared drives](https://developers.google.com/workspace/
11701176
# drive/api/guides/search-shareddrives) guide.
11711177
# @param [Fixnum] page_size
1172-
# Maximum number of shared drives to return per page.
1178+
# The maximum number of shared drives to return. The service may return fewer
1179+
# than this value. If unspecified, at most 10 shared drives will be returned.
1180+
# The maximum value is 100; values above 100 will be coerced to 100.
11731181
# @param [String] page_token
11741182
# Page token for shared drives.
11751183
# @param [String] q
@@ -1801,10 +1809,10 @@ def get_file(file_id, acknowledge_abuse: nil, include_labels: nil, include_permi
18011809
# Each key sorts ascending by default, but can be reversed with the `desc`
18021810
# modifier. Example usage: `?orderBy=folder,modifiedTime desc,name`.
18031811
# @param [Fixnum] page_size
1804-
# The maximum number of files to return per page. Pages may be partial or empty
1805-
# even before reaching the end of the file list. If unspecified, at most 100
1806-
# files are returned for shared drives, and the entire list of files for non-
1807-
# shared drives. The maximum value is 100; values above 100 are changed to 100.
1812+
# The maximum number of files to return. The service may return fewer than this
1813+
# value. If unspecified, at most 100 files will be returned for shared drives,
1814+
# and the entire list of files for non-shared drives. The maximum value is 1000;
1815+
# values above 1000 will be coerced to 1000.
18081816
# @param [String] page_token
18091817
# The token for continuing a previous list request on the next page. This should
18101818
# be set to the value of `nextPageToken` from the previous response.
@@ -2300,9 +2308,10 @@ def get_permission(file_id, permission_id, supports_all_drives: nil, supports_te
23002308
# Specifies which additional view's permissions to include in the response. Only
23012309
# `published` is supported.
23022310
# @param [Fixnum] page_size
2303-
# The maximum number of permissions to return per page. When not set for files
2304-
# in a shared drive, at most 100 results will be returned. When not set for
2305-
# files that are not in a shared drive, the entire list will be returned.
2311+
# The maximum number of permissions to return. The service may return fewer than
2312+
# this value. If unspecified, at most 100 permissions will be returned for
2313+
# shared drives, and the entire list of permissions for non-shared drives. The
2314+
# maximum value is 100; values above 100 will be coerced to 100.
23062315
# @param [String] page_token
23072316
# The token for continuing a previous list request on the next page. This should
23082317
# be set to the value of `nextPageToken` from the previous response.
@@ -2542,7 +2551,9 @@ def get_reply(file_id, comment_id, reply_id, include_deleted: nil, fields: nil,
25422551
# Whether to include deleted replies. Deleted replies don't include their
25432552
# original content.
25442553
# @param [Fixnum] page_size
2545-
# The maximum number of replies to return per page.
2554+
# The maximum number of replies to return. The service may return fewer than
2555+
# this value. If unspecified, at most 20 replies will be returned. The maximum
2556+
# value is 100; values above 100 will be coerced to 100.
25462557
# @param [String] page_token
25472558
# The token for continuing a previous list request on the next page. This should
25482559
# be set to the value of `nextPageToken` from the previous response.
@@ -2712,7 +2723,9 @@ def get_revision(file_id, revision_id, acknowledge_abuse: nil, fields: nil, quot
27122723
# @param [String] file_id
27132724
# The ID of the file.
27142725
# @param [Fixnum] page_size
2715-
# The maximum number of revisions to return per page.
2726+
# The maximum number of revisions to return. The service may return fewer than
2727+
# this value. If unspecified, at most 200 revisions will be returned. The
2728+
# maximum value is 1000; values above 1000 will be coerced to 1000.
27162729
# @param [String] page_token
27172730
# The token for continuing a previous list request on the next page. This should
27182731
# be set to the value of 'nextPageToken' from the previous response.

0 commit comments

Comments
 (0)