Class: Google::Apis::YoutubeAnalyticsV2::Group
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeAnalyticsV2::Group
- 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.
Instance Attribute Summary collapse
-
#content_details ⇒ Google::Apis::YoutubeAnalyticsV2::GroupContentDetails
A group's content details.
-
#errors ⇒ Google::Apis::YoutubeAnalyticsV2::Errors
Request Error information.
-
#etag ⇒ String
The Etag of this resource.
-
#id ⇒ String
The ID that YouTube uses to uniquely identify the group.
-
#kind ⇒ String
Identifies the API resource's type.
-
#snippet ⇒ Google::Apis::YoutubeAnalyticsV2::GroupSnippet
A group 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
193 194 195 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 193 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_details ⇒ Google::Apis::YoutubeAnalyticsV2::GroupContentDetails
A group's content details.
Corresponds to the JSON property contentDetails
164 165 166 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 164 def content_details @content_details end |
#errors ⇒ Google::Apis::YoutubeAnalyticsV2::Errors
Request Error information.
The presence of an error field signals that the operation
has failed.
Corresponds to the JSON property errors
171 172 173 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 171 def errors @errors end |
#etag ⇒ String
The Etag of this resource.
Corresponds to the JSON property etag
176 177 178 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 176 def etag @etag end |
#id ⇒ String
The ID that YouTube uses to uniquely identify the group.
Corresponds to the JSON property id
181 182 183 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 181 def id @id end |
#kind ⇒ String
Identifies the API resource's type. The value will be youtube#group
.
Corresponds to the JSON property kind
186 187 188 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 186 def kind @kind end |
#snippet ⇒ Google::Apis::YoutubeAnalyticsV2::GroupSnippet
A group snippet.
Corresponds to the JSON property snippet
191 192 193 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 191 def snippet @snippet end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
198 199 200 201 202 203 204 205 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 198 def update!(**args) @content_details = args[:content_details] if args.key?(:content_details) @errors = args[:errors] if args.key?(:errors) @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 |