Class: Google::Apis::YoutubeV3::AbuseReport
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::AbuseReport
- 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
-
#abuse_types ⇒ Array<Google::Apis::YoutubeV3::AbuseType>
Corresponds to the JSON property
abuseTypes
. -
#description ⇒ String
Corresponds to the JSON property
description
. -
#related_entities ⇒ Array<Google::Apis::YoutubeV3::RelatedEntity>
Corresponds to the JSON property
relatedEntities
. -
#subject ⇒ Google::Apis::YoutubeV3::Entity
Corresponds to the JSON property
subject
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AbuseReport
constructor
A new instance of AbuseReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AbuseReport
Returns a new instance of AbuseReport.
49 50 51 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 49 def initialize(**args) update!(**args) end |
Instance Attribute Details
#abuse_types ⇒ Array<Google::Apis::YoutubeV3::AbuseType>
Corresponds to the JSON property abuseTypes
32 33 34 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 32 def abuse_types @abuse_types end |
#description ⇒ String
Corresponds to the JSON property description
37 38 39 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 37 def description @description end |
#related_entities ⇒ Array<Google::Apis::YoutubeV3::RelatedEntity>
Corresponds to the JSON property relatedEntities
42 43 44 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 42 def @related_entities end |
#subject ⇒ Google::Apis::YoutubeV3::Entity
Corresponds to the JSON property subject
47 48 49 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 47 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
54 55 56 57 58 59 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 54 def update!(**args) @abuse_types = args[:abuse_types] if args.key?(:abuse_types) @description = args[:description] if args.key?(:description) @related_entities = args[:related_entities] if args.key?(:related_entities) @subject = args[:subject] if args.key?(:subject) end |