Class: Google::Apis::YoutubeAnalyticsV1beta1::GroupItem
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeAnalyticsV1beta1::GroupItem
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_analytics_v1beta1/classes.rb,
generated/google/apis/youtube_analytics_v1beta1/representations.rb,
generated/google/apis/youtube_analytics_v1beta1/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::YoutubeAnalyticsV1beta1::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
147 148 149 |
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 147 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
Corresponds to the JSON property etag
125 126 127 |
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 125 def etag @etag end |
#group_id ⇒ String
Corresponds to the JSON property groupId
130 131 132 |
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 130 def group_id @group_id end |
#id ⇒ String
Corresponds to the JSON property id
135 136 137 |
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 135 def id @id end |
#kind ⇒ String
Corresponds to the JSON property kind
140 141 142 |
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 140 def kind @kind end |
#resource ⇒ Google::Apis::YoutubeAnalyticsV1beta1::GroupItem::Resource
Corresponds to the JSON property resource
145 146 147 |
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 145 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
152 153 154 155 156 157 158 |
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 152 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 |