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.
Constructor Details
#initialize(**args) ⇒ GroupSnippet
Returns a new instance of GroupSnippet.
322 323 324 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 322 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
315 316 317 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 315 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
320 321 322 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 320 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
327 328 329 330 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 327 def update!(**args) @published_at = args[:published_at] if args.key?(:published_at) @title = args[:title] if args.key?(:title) end |