class Google::Apis::YoutubeAnalyticsV2::Group

A group.

Attributes

content_details[RW]

A group's content details. Corresponds to the JSON property `contentDetails` @return [Google::Apis::YoutubeAnalyticsV2::GroupContentDetails]

errors[RW]

Request Error information. The presence of an error field signals that the operation has failed. Corresponds to the JSON property `errors` @return [Google::Apis::YoutubeAnalyticsV2::Errors]

etag[RW]

The Etag of this resource. Corresponds to the JSON property `etag` @return [String]

id[RW]

The ID that YouTube uses to uniquely identify the group. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies the API resource's type. The value will be `youtube#group`. Corresponds to the JSON property `kind` @return [String]

snippet[RW]

A group snippet. Corresponds to the JSON property `snippet` @return [Google::Apis::YoutubeAnalyticsV2::GroupSnippet]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_analytics_v2/classes.rb, line 181
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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