Class: Google::Apis::YoutubeV3::TestItem

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TestItem

Returns a new instance of TestItem.



6944
6945
6946
# File 'lib/google/apis/youtube_v3/classes.rb', line 6944

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

Instance Attribute Details

Corresponds to the JSON property featuredPart

Returns:

  • (Boolean)


6926
6927
6928
# File 'lib/google/apis/youtube_v3/classes.rb', line 6926

def featured_part
  @featured_part
end

#gaiaFixnum

Corresponds to the JSON property gaia

Returns:

  • (Fixnum)


6932
6933
6934
# File 'lib/google/apis/youtube_v3/classes.rb', line 6932

def gaia
  @gaia
end

#idString

Corresponds to the JSON property id

Returns:

  • (String)


6937
6938
6939
# File 'lib/google/apis/youtube_v3/classes.rb', line 6937

def id
  @id
end

#snippetGoogle::Apis::YoutubeV3::TestItemTestItemSnippet

Corresponds to the JSON property snippet



6942
6943
6944
# File 'lib/google/apis/youtube_v3/classes.rb', line 6942

def snippet
  @snippet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6949
6950
6951
6952
6953
6954
# File 'lib/google/apis/youtube_v3/classes.rb', line 6949

def update!(**args)
  @featured_part = args[:featured_part] if args.key?(:featured_part)
  @gaia = args[:gaia] if args.key?(:gaia)
  @id = args[:id] if args.key?(:id)
  @snippet = args[:snippet] if args.key?(:snippet)
end