Class: Google::Apis::YoutubeV3::VideoAbuseReportSecondaryReason
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::VideoAbuseReportSecondaryReason
- 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
-
#id ⇒ String
The ID of this abuse report secondary reason.
-
#label ⇒ String
The localized label for this abuse report secondary reason.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoAbuseReportSecondaryReason
constructor
A new instance of VideoAbuseReportSecondaryReason.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VideoAbuseReportSecondaryReason
Returns a new instance of VideoAbuseReportSecondaryReason.
7606 7607 7608 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 7606 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
The ID of this abuse report secondary reason.
Corresponds to the JSON property id
7599 7600 7601 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 7599 def id @id end |
#label ⇒ String
The localized label for this abuse report secondary reason.
Corresponds to the JSON property label
7604 7605 7606 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 7604 def label @label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7611 7612 7613 7614 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 7611 def update!(**args) @id = args[:id] if args.key?(:id) @label = args[:label] if args.key?(:label) end |