Class: Google::Apis::YoutubeV3::VideoAbuseReportSecondaryReason
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::VideoAbuseReportSecondaryReason
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VideoAbuseReportSecondaryReason
Returns a new instance of VideoAbuseReportSecondaryReason.
7081 7082 7083 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 7081 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
7074 7075 7076 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 7074 def id @id end |
#label ⇒ String
The localized label for this abuse report secondary reason.
Corresponds to the JSON property label
7079 7080 7081 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 7079 def label @label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7086 7087 7088 7089 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 7086 def update!(**args) @id = args[:id] if args.key?(:id) @label = args[:label] if args.key?(:label) end |