Class: Google::Apis::YoutubeV3::CommentThread
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeV3::CommentThread
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
 generated/google/apis/youtube_v3/representations.rb,
 generated/google/apis/youtube_v3/representations.rb
Overview
A comment thread represents information that applies to a top level comment and all its replies. It can also include the top level comment itself and some of the replies.
Instance Attribute Summary collapse
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Etag of this resource. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID that YouTube uses to uniquely identify the comment thread. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
- 
  
    
      #replies  ⇒ Google::Apis::YoutubeV3::CommentThreadReplies 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Comments written in (direct or indirect) reply to the top level comment. 
- 
  
    
      #snippet  ⇒ Google::Apis::YoutubeV3::CommentThreadSnippet 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Basic details about a comment thread. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CommentThread 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CommentThread. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CommentThread
Returns a new instance of CommentThread
| 2134 2135 2136 | # File 'generated/google/apis/youtube_v3/classes.rb', line 2134 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#etag ⇒ String
Etag of this resource.
Corresponds to the JSON property etag
| 2111 2112 2113 | # File 'generated/google/apis/youtube_v3/classes.rb', line 2111 def etag @etag end | 
#id ⇒ String
The ID that YouTube uses to uniquely identify the comment thread.
Corresponds to the JSON property id
| 2116 2117 2118 | # File 'generated/google/apis/youtube_v3/classes.rb', line 2116 def id @id end | 
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "youtube#
commentThread".
Corresponds to the JSON property kind
| 2122 2123 2124 | # File 'generated/google/apis/youtube_v3/classes.rb', line 2122 def kind @kind end | 
#replies ⇒ Google::Apis::YoutubeV3::CommentThreadReplies
Comments written in (direct or indirect) reply to the top level comment.
Corresponds to the JSON property replies
| 2127 2128 2129 | # File 'generated/google/apis/youtube_v3/classes.rb', line 2127 def replies @replies end | 
#snippet ⇒ Google::Apis::YoutubeV3::CommentThreadSnippet
Basic details about a comment thread.
Corresponds to the JSON property snippet
| 2132 2133 2134 | # File 'generated/google/apis/youtube_v3/classes.rb', line 2132 def snippet @snippet end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2139 2140 2141 2142 2143 2144 2145 | # File 'generated/google/apis/youtube_v3/classes.rb', line 2139 def update!(**args) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @replies = args[:replies] if args.key?(:replies) @snippet = args[:snippet] if args.key?(:snippet) end |