Class: Google::Apis::YoutubeV3::VideoAbuseReportSecondaryReason

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) ⇒ VideoAbuseReportSecondaryReason

Returns a new instance of VideoAbuseReportSecondaryReason.



7595
7596
7597
# File 'lib/google/apis/youtube_v3/classes.rb', line 7595

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

Instance Attribute Details

#idString

The ID of this abuse report secondary reason. Corresponds to the JSON property id

Returns:

  • (String)


7588
7589
7590
# File 'lib/google/apis/youtube_v3/classes.rb', line 7588

def id
  @id
end

#labelString

The localized label for this abuse report secondary reason. Corresponds to the JSON property label

Returns:

  • (String)


7593
7594
7595
# File 'lib/google/apis/youtube_v3/classes.rb', line 7593

def label
  @label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7600
7601
7602
7603
# File 'lib/google/apis/youtube_v3/classes.rb', line 7600

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