Skip to content

Commit f464daf

Browse files
feat: Automated regeneration of drive v2 client (googleapis#24166)
Auto-created at 2025-08-31 10:40:04 +0000 using the toys pull request generator.
1 parent 75ff606 commit f464daf

File tree

3 files changed

+35
-34
lines changed

3 files changed

+35
-34
lines changed

generated/google-apis-drive_v2/CHANGELOG.md

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

3+
### v0.53.0 (2025-08-31)
4+
5+
* Regenerated from discovery document revision 20250826
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.52.0 (2025-05-18)
49

510
* Regenerated from discovery document revision 20250506

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

Lines changed: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,15 +1035,13 @@ def update!(**args)
10351035
end
10361036
end
10371037

1038-
# A comment on a file in Google Drive. Some resource methods (such as `comments.
1039-
# update`) require a `commentId`. Use the `comments.list` method to retrieve the
1040-
# ID for a comment in a file.
1038+
# A comment on a file in Google Drive.
10411039
class Comment
10421040
include Google::Apis::Core::Hashable
10431041

10441042
# A region of the document represented as a JSON string. For details on defining
1045-
# anchor properties, refer to [Add comments and replies](https://developers.
1046-
# google.com/workspace/drive/api/v2/manage-comments).
1043+
# anchor properties, refer to [Manage comments and replies](https://developers.
1044+
# google.com/workspace/drive/api/v3/manage-comments).
10471045
# Corresponds to the JSON property `anchor`
10481046
# @return [String]
10491047
attr_accessor :anchor
@@ -1053,7 +1051,7 @@ class Comment
10531051
# @return [Google::Apis::DriveV2::User]
10541052
attr_accessor :author
10551053

1056-
# Output only. The ID of the comment.
1054+
# The ID of the comment.
10571055
# Corresponds to the JSON property `commentId`
10581056
# @return [String]
10591057
attr_accessor :comment_id
@@ -1064,7 +1062,7 @@ class Comment
10641062
# @return [String]
10651063
attr_accessor :content
10661064

1067-
# The context of the file which is being commented on.
1065+
# Context of a file which is being commented on.
10681066
# Corresponds to the JSON property `context`
10691067
# @return [Google::Apis::DriveV2::Comment::Context]
10701068
attr_accessor :context
@@ -1074,30 +1072,30 @@ class Comment
10741072
# @return [DateTime]
10751073
attr_accessor :created_date
10761074

1077-
# Output only. Whether this comment has been deleted. If a comment has been
1078-
# deleted the content will be cleared and this will only represent a comment
1079-
# that once existed.
1075+
# Whether this comment has been deleted. If a comment has been deleted the
1076+
# content will be cleared and this will only represent a comment that once
1077+
# existed.
10801078
# Corresponds to the JSON property `deleted`
10811079
# @return [Boolean]
10821080
attr_accessor :deleted
10831081
alias_method :deleted?, :deleted
10841082

1085-
# Output only. The file which this comment is addressing.
1083+
# The file which this comment is addressing.
10861084
# Corresponds to the JSON property `fileId`
10871085
# @return [String]
10881086
attr_accessor :file_id
10891087

1090-
# Output only. The title of the file which this comment is addressing.
1088+
# The title of the file which this comment is addressing.
10911089
# Corresponds to the JSON property `fileTitle`
10921090
# @return [String]
10931091
attr_accessor :file_title
10941092

1095-
# Output only. HTML formatted content for this comment.
1093+
# HTML formatted content for this comment.
10961094
# Corresponds to the JSON property `htmlContent`
10971095
# @return [String]
10981096
attr_accessor :html_content
10991097

1100-
# Output only. This is always `drive#comment`.
1098+
# This is always drive#comment.
11011099
# Corresponds to the JSON property `kind`
11021100
# @return [String]
11031101
attr_accessor :kind
@@ -1107,19 +1105,20 @@ class Comment
11071105
# @return [DateTime]
11081106
attr_accessor :modified_date
11091107

1110-
# Output only. Replies to this post.
1108+
# Replies to this post.
11111109
# Corresponds to the JSON property `replies`
11121110
# @return [Array<Google::Apis::DriveV2::CommentReply>]
11131111
attr_accessor :replies
11141112

1115-
# Output only. A link back to this comment.
1113+
# A link back to this comment.
11161114
# Corresponds to the JSON property `selfLink`
11171115
# @return [String]
11181116
attr_accessor :self_link
11191117

1120-
# Output only. The status of this comment. Status can be changed by posting a
1121-
# reply to a comment with the desired status. * `open` - The comment is still
1122-
# open. * `resolved` - The comment has been resolved by one of its replies.
1118+
# The status of this comment. Status can be changed by posting a reply to a
1119+
# comment with the desired status. Possible values are: * `open` - The comment
1120+
# is still open. * `resolved` - The comment has been resolved by one of its
1121+
# replies.
11231122
# Corresponds to the JSON property `status`
11241123
# @return [String]
11251124
attr_accessor :status
@@ -1147,7 +1146,7 @@ def update!(**args)
11471146
@status = args[:status] if args.key?(:status)
11481147
end
11491148

1150-
# The context of the file which is being commented on.
1149+
# Context of a file which is being commented on.
11511150
class Context
11521151
include Google::Apis::Core::Hashable
11531152

@@ -1185,7 +1184,7 @@ class CommentList
11851184
# @return [Array<Google::Apis::DriveV2::Comment>]
11861185
attr_accessor :items
11871186

1188-
# This is always `drive#commentList`.
1187+
# This is always drive#commentList.
11891188
# Corresponds to the JSON property `kind`
11901189
# @return [String]
11911190
attr_accessor :kind
@@ -1222,9 +1221,7 @@ def update!(**args)
12221221
end
12231222
end
12241223

1225-
# A comment on a file in Google Drive. Some resource methods (such as `replies.
1226-
# update`) require a `replyId`. Use the `replies.list` method to retrieve the ID
1227-
# for a reply.
1224+
# A reply to a comment on a file in Google Drive.
12281225
class CommentReply
12291226
include Google::Apis::Core::Hashable
12301227

@@ -1245,20 +1242,19 @@ class CommentReply
12451242
# @return [DateTime]
12461243
attr_accessor :created_date
12471244

1248-
# Output only. Whether this reply has been deleted. If a reply has been deleted
1249-
# the content will be cleared and this will only represent a reply that once
1250-
# existed.
1245+
# Whether this reply has been deleted. If a reply has been deleted the content
1246+
# will be cleared and this will only represent a reply that once existed.
12511247
# Corresponds to the JSON property `deleted`
12521248
# @return [Boolean]
12531249
attr_accessor :deleted
12541250
alias_method :deleted?, :deleted
12551251

1256-
# Output only. HTML formatted content for this reply.
1252+
# HTML formatted content for this reply.
12571253
# Corresponds to the JSON property `htmlContent`
12581254
# @return [String]
12591255
attr_accessor :html_content
12601256

1261-
# Output only. This is always `drive#commentReply`.
1257+
# This is always drive#commentReply.
12621258
# Corresponds to the JSON property `kind`
12631259
# @return [String]
12641260
attr_accessor :kind
@@ -1268,13 +1264,13 @@ class CommentReply
12681264
# @return [DateTime]
12691265
attr_accessor :modified_date
12701266

1271-
# Output only. The ID of the reply.
1267+
# The ID of the reply.
12721268
# Corresponds to the JSON property `replyId`
12731269
# @return [String]
12741270
attr_accessor :reply_id
12751271

12761272
# The action this reply performed to the parent comment. When creating a new
1277-
# reply this is the action to be perform to the parent comment. Possible values
1273+
# reply this is the action to be perform tSo the parent comment. Possible values
12781274
# are: * `resolve` - To resolve a comment. * `reopen` - To reopen (un-resolve) a
12791275
# comment.
12801276
# Corresponds to the JSON property `verb`

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DriveV2
1818
# Version of the google-apis-drive_v2 gem
19-
GEM_VERSION = "0.52.0"
19+
GEM_VERSION = "0.53.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

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

0 commit comments

Comments
 (0)