Class: Google::Apis::YoutubeAnalyticsV1::Group
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeAnalyticsV1::Group
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_analytics_v1/classes.rb,
generated/google/apis/youtube_analytics_v1/representations.rb,
generated/google/apis/youtube_analytics_v1/representations.rb
Defined Under Namespace
Classes: ContentDetails, Snippet
Instance Attribute Summary collapse
-
#content_details ⇒ Google::Apis::YoutubeAnalyticsV1::Group::ContentDetails
Corresponds to the JSON property
contentDetails
. -
#etag ⇒ String
Corresponds to the JSON property
etag
. -
#id ⇒ String
Corresponds to the JSON property
id
. -
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#snippet ⇒ Google::Apis::YoutubeAnalyticsV1::Group::Snippet
Corresponds to the JSON property
snippet
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Group
constructor
A new instance of Group.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Group
Returns a new instance of Group.
263 264 265 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 263 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_details ⇒ Google::Apis::YoutubeAnalyticsV1::Group::ContentDetails
Corresponds to the JSON property contentDetails
241 242 243 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 241 def content_details @content_details end |
#etag ⇒ String
Corresponds to the JSON property etag
246 247 248 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 246 def etag @etag end |
#id ⇒ String
Corresponds to the JSON property id
251 252 253 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 251 def id @id end |
#kind ⇒ String
Corresponds to the JSON property kind
256 257 258 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 256 def kind @kind end |
#snippet ⇒ Google::Apis::YoutubeAnalyticsV1::Group::Snippet
Corresponds to the JSON property snippet
261 262 263 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 261 def snippet @snippet end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
268 269 270 271 272 273 274 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 268 def update!(**args) @content_details = args[:content_details] if args.key?(:content_details) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @snippet = args[:snippet] if args.key?(:snippet) end |