Class: Google::Apis::YoutubeAnalyticsV2::GroupSnippet
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeAnalyticsV2::GroupSnippet
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_analytics_v2/classes.rb,
 generated/google/apis/youtube_analytics_v2/representations.rb,
 generated/google/apis/youtube_analytics_v2/representations.rb
Overview
A group snippet.
Instance Attribute Summary collapse
- 
  
    
      #published_at  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The date and time that the group was created. 
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The group name. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GroupSnippet 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GroupSnippet. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GroupSnippet
Returns a new instance of GroupSnippet
| 343 344 345 | # File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 343 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#published_at ⇒ String
The date and time that the group was created. The value is specified in
ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
Corresponds to the JSON property publishedAt
| 336 337 338 | # File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 336 def published_at @published_at end | 
#title ⇒ String
The group name. The value must be a non-empty string.
Corresponds to the JSON property title
| 341 342 343 | # File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 341 def title @title end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 348 349 350 351 | # File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 348 def update!(**args) @published_at = args[:published_at] if args.key?(:published_at) @title = args[:title] if args.key?(:title) end |