Class: Google::Apis::YoutubeAnalyticsV1::GroupItem
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeAnalyticsV1::GroupItem
- 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: Resource
Instance Attribute Summary collapse
-
#etag ⇒ String
Corresponds to the JSON property
etag
. -
#group_id ⇒ String
Corresponds to the JSON property
groupId
. -
#id ⇒ String
Corresponds to the JSON property
id
. -
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#resource ⇒ Google::Apis::YoutubeAnalyticsV1::GroupItem::Resource
Corresponds to the JSON property
resource
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GroupItem
constructor
A new instance of GroupItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GroupItem
Returns a new instance of GroupItem.
356 357 358 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 356 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
Corresponds to the JSON property etag
334 335 336 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 334 def etag @etag end |
#group_id ⇒ String
Corresponds to the JSON property groupId
339 340 341 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 339 def group_id @group_id end |
#id ⇒ String
Corresponds to the JSON property id
344 345 346 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 344 def id @id end |
#kind ⇒ String
Corresponds to the JSON property kind
349 350 351 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 349 def kind @kind end |
#resource ⇒ Google::Apis::YoutubeAnalyticsV1::GroupItem::Resource
Corresponds to the JSON property resource
354 355 356 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 354 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
361 362 363 364 365 366 367 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 361 def update!(**args) @etag = args[:etag] if args.key?(:etag) @group_id = args[:group_id] if args.key?(:group_id) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @resource = args[:resource] if args.key?(:resource) end |