You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/you_tube/lib/google_api/you_tube/v3/api/comment_threads.ex
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,7 @@ defmodule GoogleApi.YouTube.V3.Api.CommentThreads do
112
112
* `:moderationStatus` (*type:* `String.t`) - Limits the returned comment threads to those with the specified moderation status. Not compatible with the 'id' filter. Valid values: published, heldForReview, likelySpam.
113
113
* `:order` (*type:* `String.t`) -
114
114
* `:pageToken` (*type:* `String.t`) - The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
115
+
* `:postId` (*type:* `String.t`) - Returns the comment threads of the specified post.
115
116
* `:searchTerms` (*type:* `String.t`) - Limits the returned comment threads to those matching the specified key words. Not compatible with the 'id' filter.
116
117
* `:textFormat` (*type:* `String.t`) - The requested text format for the returned comments.
117
118
* `:videoId` (*type:* `String.t`) - Returns the comment threads of the specified video.
@@ -147,6 +148,7 @@ defmodule GoogleApi.YouTube.V3.Api.CommentThreads do
Copy file name to clipboardExpand all lines: clients/you_tube/lib/google_api/you_tube/v3/model/comment_snippet.ex
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,11 @@ defmodule GoogleApi.YouTube.V3.Model.CommentSnippet do
26
26
* `authorDisplayName` (*type:* `String.t`, *default:* `nil`) - The name of the user who posted the comment.
27
27
* `authorProfileImageUrl` (*type:* `String.t`, *default:* `nil`) - The URL for the avatar of the user who posted the comment.
28
28
* `canRate` (*type:* `boolean()`, *default:* `nil`) - Whether the current viewer can rate this comment.
29
-
* `channelId` (*type:* `String.t`, *default:* `nil`) - The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it's the video's channel.
29
+
* `channelId` (*type:* `String.t`, *default:* `nil`) - The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video or post comment it's the video/post's channel.
30
30
* `likeCount` (*type:* `integer()`, *default:* `nil`) - The total number of likes this comment has received.
31
31
* `moderationStatus` (*type:* `String.t`, *default:* `nil`) - The comment's moderation status. Will not be set if the comments were requested through the id filter.
32
-
* `parentId` (*type:* `String.t`, *default:* `nil`) - The unique id of the parent comment, only set for replies.
32
+
* `parentId` (*type:* `String.t`, *default:* `nil`) - The unique id of the top-level comment, only set for replies.
33
+
* `postId` (*type:* `String.t`, *default:* `nil`) - The ID of the post the comment refers to, if any.
33
34
* `publishedAt` (*type:* `DateTime.t`, *default:* `nil`) - The date and time when the comment was originally published.
34
35
* `textDisplay` (*type:* `String.t`, *default:* `nil`) - The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.
35
36
* `textOriginal` (*type:* `String.t`, *default:* `nil`) - The comment's original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment's author.
@@ -50,6 +51,7 @@ defmodule GoogleApi.YouTube.V3.Model.CommentSnippet do
50
51
:likeCount=>integer()|nil,
51
52
:moderationStatus=>String.t()|nil,
52
53
:parentId=>String.t()|nil,
54
+
:postId=>String.t()|nil,
53
55
:publishedAt=>DateTime.t()|nil,
54
56
:textDisplay=>String.t()|nil,
55
57
:textOriginal=>String.t()|nil,
@@ -67,6 +69,7 @@ defmodule GoogleApi.YouTube.V3.Model.CommentSnippet do
Copy file name to clipboardExpand all lines: clients/you_tube/lib/google_api/you_tube/v3/model/comment_thread_snippet.ex
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,12 @@ defmodule GoogleApi.YouTube.V3.Model.CommentThreadSnippet do
22
22
## Attributes
23
23
24
24
* `canReply` (*type:* `boolean()`, *default:* `nil`) - Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field.
25
-
* `channelId` (*type:* `String.t`, *default:* `nil`) - The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn't set the comments refer to the channel itself.
25
+
* `channelId` (*type:* `String.t`, *default:* `nil`) - The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If neither video_id nor post_id is set the comments refer to the channel itself.
26
26
* `isPublic` (*type:* `boolean()`, *default:* `nil`) - Whether the thread (and therefore all its comments) is visible to all YouTube users.
27
+
* `postId` (*type:* `String.t`, *default:* `nil`) - The ID of the post the comments refer to, if any.
27
28
* `topLevelComment` (*type:* `GoogleApi.YouTube.V3.Model.Comment.t`, *default:* `nil`) - The top level comment of this thread.
28
29
* `totalReplyCount` (*type:* `integer()`, *default:* `nil`) - The total number of replies (not including the top level comment).
29
-
* `videoId` (*type:* `String.t`, *default:* `nil`) - The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.
30
+
* `videoId` (*type:* `String.t`, *default:* `nil`) - The ID of the video the comments refer to, if any.
30
31
"""
31
32
32
33
useGoogleApi.Gax.ModelBase
@@ -35,6 +36,7 @@ defmodule GoogleApi.YouTube.V3.Model.CommentThreadSnippet do
0 commit comments