Class: Google::Apis::YoutubeAnalyticsV2::Group
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeAnalyticsV2::Group
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/youtube_analytics_v2/classes.rb,
lib/google/apis/youtube_analytics_v2/representations.rb,
lib/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.
Constructor Details
#initialize(**args) ⇒ Group
Returns a new instance of Group.
181 182 183 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 181 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
153 154 155 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 153 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
159 160 161 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 159 def errors @errors end |
#etag ⇒ String
The Etag of this resource.
Corresponds to the JSON property etag
164 165 166 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 164 def etag @etag end |
#id ⇒ String
The ID that YouTube uses to uniquely identify the group.
Corresponds to the JSON property id
169 170 171 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 169 def id @id end |
#kind ⇒ String
Identifies the API resource's type. The value will be youtube#group
.
Corresponds to the JSON property kind
174 175 176 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 174 def kind @kind end |
#snippet ⇒ Google::Apis::YoutubeAnalyticsV2::GroupSnippet
A group snippet.
Corresponds to the JSON property snippet
179 180 181 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 179 def snippet @snippet end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
186 187 188 189 190 191 192 193 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 186 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 |