Class: Google::Apis::YoutubeAnalyticsV1beta1::Group

Inherits:
Object
  • Object
show all
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: ContentDetails, Snippet

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Group


54
55
56
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 54

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#content_detailsGoogle::Apis::YoutubeAnalyticsV1beta1::Group::ContentDetails

Corresponds to the JSON property contentDetails


32
33
34
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 32

def content_details
  @content_details
end

#etagString

Corresponds to the JSON property etag


37
38
39
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 37

def etag
  @etag
end

#idString

Corresponds to the JSON property id


42
43
44
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 42

def id
  @id
end

#kindString

Corresponds to the JSON property kind


47
48
49
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 47

def kind
  @kind
end

#snippetGoogle::Apis::YoutubeAnalyticsV1beta1::Group::Snippet

Corresponds to the JSON property snippet


52
53
54
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 52

def snippet
  @snippet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


59
60
61
62
63
64
65
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 59

def update!(**args)
  @content_details = args[:content_details] if args.key?(:content_details)
  @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